Skip to content

Commit

Permalink
modified square port
Browse files Browse the repository at this point in the history
  • Loading branch information
grassjelly committed Feb 8, 2022
1 parent 8dcbf57 commit 307d1f6
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions firmware/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,21 @@
; https://docs.platformio.org/page/projectconf.html

[env]
platform = teensy
framework = arduino
upload_port = /dev/ttyACM0
upload_protocol = teensy-cli
lib_deps =
https://github.com/micro-ROS/micro_ros_arduino

[env:teensy41]
platform = teensy
upload_protocol = teensy-cli
board = teensy41
build_flags =
-L $PROJECT_DIR/.pio/libdeps/$PIOENV/micro_ros_arduino/src/imxrt1062/fpv5-d16-hard/
-l libmicroros
-I ../config

[env:teensy40]
platform = teensy
upload_protocol = teensy-cli
board = teensy40
lib_ignore = NativeEthernet
build_flags =
Expand All @@ -34,8 +32,6 @@ build_flags =
-I ../config

[env:teensy36]
platform = teensy
upload_protocol = teensy-cli
board = teensy36
lib_ignore = NativeEthernet
build_flags =
Expand All @@ -44,8 +40,6 @@ build_flags =
-I ../config

[env:teensy35]
platform = teensy
upload_protocol = teensy-cli
board = teensy35
lib_ignore = NativeEthernet
build_flags =
Expand All @@ -54,8 +48,6 @@ build_flags =
-I ../config

[env:teensy31]
platform = teensy
upload_protocol = teensy-cli
board = teensy31
board_build.f_cpu = 96000000L
lib_ignore = NativeEthernet
Expand All @@ -65,8 +57,6 @@ build_flags =
-I ../config

[env:dev]
platform = teensy
upload_protocol = teensy-cli
board = teensy36
lib_ignore = NativeEthernet
build_flags =
Expand All @@ -76,8 +66,6 @@ build_flags =
-D USE_DEV_CONFIG

[env:beebo]
platform = teensy
upload_protocol = teensy-cli
board = teensy31
board_build.f_cpu = 96000000L
lib_ignore = NativeEthernet
Expand All @@ -88,8 +76,6 @@ build_flags =
-D USE_BEEBO_CONFIG

[env:beebo_m]
platform = teensy
upload_protocol = teensy-cli
board = teensy31
board_build.f_cpu = 96000000L
lib_ignore = NativeEthernet
Expand All @@ -100,10 +86,9 @@ build_flags =
-D USE_BEEBO_M_CONFIG

[env:square]
platform = teensy
upload_protocol = teensy-cli
board = teensy40
lib_ignore = NativeEthernet
upload_port = /dev/ttyACM1
build_flags =
-L $PROJECT_DIR/.pio/libdeps/$PIOENV/micro_ros_arduino/src/imxrt1062/fpv5-d16-hard/
-l libmicroros
Expand Down

0 comments on commit 307d1f6

Please sign in to comment.