mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
Added Arduino Zero USB platform support
This commit is contained in:
parent
dd58e2c462
commit
959225c252
@ -16,6 +16,7 @@ default_envs =
|
|||||||
unowifiR2
|
unowifiR2
|
||||||
nano
|
nano
|
||||||
samd21-dev-usb
|
samd21-dev-usb
|
||||||
|
samd21-zero-usb
|
||||||
src_dir = .
|
src_dir = .
|
||||||
include_dir = .
|
include_dir = .
|
||||||
|
|
||||||
@ -33,6 +34,17 @@ monitor_speed = 115200
|
|||||||
monitor_flags = --echo
|
monitor_flags = --echo
|
||||||
build_flags = -std=c++17 -DI2C_USE_WIRE -DDISABLE_EEPROM
|
build_flags = -std=c++17 -DI2C_USE_WIRE -DDISABLE_EEPROM
|
||||||
|
|
||||||
|
[env:samd21-zero-usb]
|
||||||
|
platform = atmelsam
|
||||||
|
board = zeroUSB
|
||||||
|
framework = arduino
|
||||||
|
upload_protocol = sam-ba
|
||||||
|
lib_deps =
|
||||||
|
${env.lib_deps}
|
||||||
|
monitor_speed = 115200
|
||||||
|
monitor_flags = --echo
|
||||||
|
build_flags = -std=c++17 -DI2C_USE_WIRE -DDISABLE_EEPROM
|
||||||
|
|
||||||
[env:samc21-firebox]
|
[env:samc21-firebox]
|
||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
board = firebox
|
board = firebox
|
||||||
|
Loading…
Reference in New Issue
Block a user