🔧 Separate Teensy 4.0 / 4.1 (#28122)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
ellensp
2025-10-22 18:41:38 +13:00
committed by GitHub
parent 7aaaaec355
commit d5977e7e2d
7 changed files with 189 additions and 101 deletions
+11 -1
View File
@@ -71,10 +71,20 @@ board = teensy36
build_src_filter = ${teensy_arm.build_src_filter} +<src/HAL/TEENSY35_36>
#
# Teensy 4.0 / 4.1 (ARM Cortex-M7)
# Teensy 4.0 (ARM Cortex-M7)
#
[env:teensy40]
extends = teensy_arm
board = teensy40
build_src_filter = ${teensy_arm.build_src_filter} +<src/HAL/TEENSY40_41>
build_flags = -DIS_TEENSY40
#
# Teensy 4.1 (ARM Cortex-M7)
#
[env:teensy41]
extends = teensy_arm
board = teensy41
build_src_filter = ${teensy_arm.build_src_filter} +<src/HAL/TEENSY40_41>
build_flags = -DIS_TEENSY41
lib_ignore =