Supporting multiple boards

This commit is contained in:
Eric Ratliff
2026-02-19 10:12:33 -06:00
parent 2739d83b99
commit b909da298e
16 changed files with 1554 additions and 94 deletions

View File

@@ -3,10 +3,25 @@ name = "{{PROJECT_NAME}}"
anvil_version = "{{ANVIL_VERSION}}"
[build]
fqbn = "{{FQBN}}"
default = "{{BOARD_NAME}}"
warnings = "more"
include_dirs = ["lib/hal", "lib/app"]
extra_flags = ["-Werror"]
[monitor]
baud = {{BAUD}}
[boards.{{BOARD_NAME}}]
fqbn = "{{FQBN}}"
# -- Additional boards -----------------------------------------------------
# Add more boards here. Use --board NAME with any script:
# upload --board mega
# build.bat --board nano
#
# [boards.mega]
# fqbn = "arduino:avr:mega:cpu=atmega2560"
#
# [boards.nano]
# fqbn = "arduino:avr:nano:cpu=atmega328"
# baud = 9600