grbl_controller_esp32 icon indicating copy to clipboard operation
grbl_controller_esp32 copied to clipboard

Switching to platformIO

Open Sebclem opened this issue 5 years ago • 1 comments

I think it will be a good think to move from ArduinoIDE to PlatforIO.

The depencies management is a lot better and i think it will be easier for user to build and flash the card with PlatformIO.

It also support natively the esp32.

Sebclem avatar Sep 15 '20 16:09 Sebclem

Instructions for platformio:

Create a top level directory with these subdirectories: include/ lib/ .pio/ src/ test/

Put the contents of the grbl_controller_esp32 source tree in the src/ subdirectory. Create a "platformio.ini" file in the top level directory with these contents:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_extra_dirs = ~/Documents/Arduino/libraries
lib_deps =
 SdFat
src_filter =
    +<*.h> +<*.s> +<*.S> +<*.cpp> +<*.c> +<*.ino> +<src/>
    -<.git/> -<data/> -<test/> -<tests/> -<Fonts/> -<Extensions/>
upload_speed = 921600
monitor_speed = 115200
monitor_flags =
	--filter=esp32_exception_decoder

MitchBradley avatar Nov 11 '20 06:11 MitchBradley