1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

SAMD Support Initial Patches

This commit is contained in:
pmantoine
2022-05-17 18:06:08 +08:00
parent f8a19de9fb
commit 6135272c32
11 changed files with 220 additions and 5 deletions

View File

@@ -15,22 +15,35 @@ default_envs =
mega328
unowifiR2
nano
samd21-dev-usb
src_dir = .
include_dir = .
[env]
build_flags = -Wall -Wextra
[env:samd21]
[env:samd21-dev-usb]
platform = atmelsam
board = sparkfun_samd21_dev_usb
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]
platform = atmelsam
board = firebox
framework = arduino
upload_protocol = atmel-ice
lib_deps =
${env.lib_deps}
SparkFun External EEPROM Arduino Library
monitor_speed = 115200
monitor_flags = --echo
build_flags = -std=c++17 -DI2C_USE_WIRE -DDISABLE_EEPROM
[env:mega2560-debug]
platform = atmelavr