Skip to content

Commit a178738

Browse files
committed
test: Adds teensy41 board
1 parent d819dbc commit a178738

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

issues/modbus-arduino-Issue1/platformio.ini

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
[platformio]
1212
default_envs = mkrvidor4000
1313

14+
[env:teensy41]
15+
platform = teensy
16+
board = teensy41
17+
framework = arduino
18+
lib_extra_dirs = ../../..
19+
;lib_deps = epsilonrt/Modbus-Serial@^2.0.3
20+
1421
[env:mkrvidor4000]
1522
platform = atmelsam
1623
board = mkrvidor4000
@@ -38,7 +45,7 @@ build_flags =
3845
;debug_build_flags = -O0 -g2 -ggdb2
3946
debug_build_flags = -O0 -ggdb3 -g3
4047

41-
[env:esp32].
48+
[env:esp32]
4249
framework = arduino
4350
platform = espressif32
4451
; change for your board : https://registry.platformio.org/platforms/platformio/espressif32/boards
@@ -48,7 +55,7 @@ lib_extra_dirs = ../../..
4855
;lib_deps = epsilonrt/Modbus-Serial@^2.0.3
4956
;upload_port = COM9
5057

51-
[env:esp32-debug].
58+
[env:esp32-debug]
5259
; https://dzone.com/articles/eclipse-jtag-debugging-the-esp32-with-a-segger-j-l
5360
; https://docs.platformio.org/en/latest/tutorials/espressif32/arduino_debugging_unit_testing.html
5461
; https://community.platformio.org/t/esp32-and-segger-jlink-tip-for-interface-setup-configuration/25964

issues/modbus-arduino-Issue2/platformio.ini

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
[platformio]
1212
default_envs = mkrvidor4000
1313

14+
[env:teensy41]
15+
platform = teensy
16+
board = teensy41
17+
framework = arduino
18+
lib_extra_dirs = ../../..
19+
;lib_deps = epsilonrt/Modbus-Serial@^2.0.3
20+
1421
[env:mkrvidor4000]
1522
platform = atmelsam
1623
board = mkrvidor4000
@@ -39,7 +46,7 @@ build_flags =
3946
;debug_build_flags = -O0 -g2 -ggdb2
4047
debug_build_flags = -O0 -ggdb3 -g3
4148

42-
[env:esp32].
49+
[env:esp32]
4350
framework = arduino
4451
platform = espressif32
4552
; change for your board : https://registry.platformio.org/platforms/platformio/espressif32/boards
@@ -49,7 +56,7 @@ lib_extra_dirs = ../../..
4956
;lib_deps = epsilonrt/Modbus-Serial@^2.0.3
5057
;upload_port = COM9
5158

52-
[env:esp32-debug].
59+
[env:esp32-debug]
5360
; https://dzone.com/articles/eclipse-jtag-debugging-the-esp32-with-a-segger-j-l
5461
; https://docs.platformio.org/en/latest/tutorials/espressif32/arduino_debugging_unit_testing.html
5562
; https://community.platformio.org/t/esp32-and-segger-jlink-tip-for-interface-setup-configuration/25964

0 commit comments

Comments
 (0)