Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to platformIO #22

Open
Sebclem opened this issue Sep 15, 2020 · 1 comment
Open

Switching to platformIO #22

Sebclem opened this issue Sep 15, 2020 · 1 comment

Comments

@Sebclem
Copy link

Sebclem commented Sep 15, 2020

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.

@MitchBradley
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants