-
Notifications
You must be signed in to change notification settings - Fork 43
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
add support for esp32s3 #30
base: master
Are you sure you want to change the base?
Conversation
So, to try this out, all I have to do is edit the platformio.ini file, as you mention above? Thanks. |
You may need a board definition platformio_boards |
and platform.ini [env]
platform = espressif32
framework = arduino
lib_deps =
ttlappalainen/NMEA2000-library
https://github.com/offspring/NMEA2000_esp32.git#add-esp32s3
[env:esp32-s3-fh4r2]
board = esp32-s3-fh4r2
[env:esp32-s3-dev-kit-n8r8]
board = esp32-s3-dev-kit-n8r8 |
This may be problematic: If one does not use arduino environment, it will fail. Do you really need to include Arduino.h? |
No Arduino no issue that is why you have a guard
And all changes are guarded by specific defines too. it will be possible to do similar defines for non Arduino systems |
Some newbies, like me, may find this quick note useful. The following compiles clean using my custom dev board, from simple platformio/pio command line ubuntu dev env: pio command
platform.io file:
Of course with valid src files. See TODO: |
Verified using
esp32-s3-tiny
esp32-s3-dev-kit-n8r8
sn65hvd230-can-board
Sorry Timo i have to recreate #28 from fork / branch so it is easier to use from Platform io as
https://github.com/offspring/NMEA2000_esp32.git#add-esp32s3
in lib deps section