1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

ESP32 platformio initial build info

This commit is contained in:
pmantoine 2022-08-03 16:21:58 +08:00
parent fad504bc7f
commit ad4a9d88b4

View File

@ -17,6 +17,7 @@ default_envs =
nano nano
samd21-dev-usb samd21-dev-usb
samd21-zero-usb samd21-zero-usb
ESP32
src_dir = . src_dir = .
include_dir = . include_dir = .
@ -28,22 +29,20 @@ platform = atmelsam
board = sparkfun_samd21_dev_usb board = sparkfun_samd21_dev_usb
framework = arduino framework = arduino
upload_protocol = sam-ba upload_protocol = sam-ba
lib_deps = lib_deps = ${env.lib_deps}
${env.lib_deps}
monitor_speed = 115200 monitor_speed = 115200
monitor_flags = --echo monitor_flags = --echo
build_flags = -std=c++17 build_flags = -std=c++17
[env:samd21-zero-usb] [env:samd21-zero-usb]
platform = atmelsam platform = atmelsam
board = zeroUSB board = zeroUSB
framework = arduino framework = arduino
upload_protocol = sam-ba upload_protocol = sam-ba
lib_deps = lib_deps = ${env.lib_deps}
${env.lib_deps}
monitor_speed = 115200 monitor_speed = 115200
monitor_flags = --echo monitor_flags = --echo
build_flags = -std=c++17 build_flags = -std=c++17
[env:samc21-firebox] [env:samc21-firebox]
platform = atmelsam platform = atmelsam
@ -55,7 +54,7 @@ lib_deps =
SparkFun External EEPROM Arduino Library SparkFun External EEPROM Arduino Library
monitor_speed = 115200 monitor_speed = 115200
monitor_flags = --echo monitor_flags = --echo
build_flags = -std=c++17 build_flags = -std=c++17
[env:mega2560-debug] [env:mega2560-debug]
platform = atmelavr platform = atmelavr
@ -156,7 +155,13 @@ platform = atmelavr
board = nanoatmega328new board = nanoatmega328new
board_upload.maximum_size = 32256 board_upload.maximum_size = 32256
framework = arduino framework = arduino
lib_deps = lib_deps = ${env.lib_deps}
${env.lib_deps}
monitor_speed = 115200 monitor_speed = 115200
monitor_flags = --echo monitor_flags = --echo
[env:ESP32]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps = ${env.lib_deps}
build_flags = -std=c++17