File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 73
73
arduino-cli compile --fqbn arduino:mbed:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v
74
74
arduino-cli compile --fqbn teensy:avr:teensy31 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
75
75
arduino-cli compile --fqbn teensy:avr:teensy35 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
76
+ arduino-cli compile --fqbn teensy:avr:teensy36 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
76
77
arduino-cli compile --fqbn teensy:avr:teensy41 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
77
78
arduino-cli compile --fqbn arduino:samd:arduino_zero_native /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
78
79
arduino-cli compile --fqbn arduino:sam:arduino_due_x /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ if [ $OPTIND -eq 1 ]; then
14
14
PLATFORMS+=(" teensy4" )
15
15
PLATFORMS+=(" teensy32" )
16
16
PLATFORMS+=(" teensy35" )
17
+ PLATFORMS+=(" teensy36" )
17
18
PLATFORMS+=(" cortex_m0" )
18
19
PLATFORMS+=(" cortex_m3" )
19
20
PLATFORMS+=(" cortex_m4" )
@@ -144,6 +145,25 @@ if [[ " ${PLATFORMS[@]} " =~ " teensy35 " ]]; then
144
145
cp -R firmware/build/libmicroros.a /project/src/mk64fx512/fpv4-sp-d16-hard/libmicroros.a
145
146
fi
146
147
148
+ # ####### Build for Teensy 3.6 ########
149
+ if [[ " ${PLATFORMS[@]} " =~ " teensy36 " ]]; then
150
+ rm -rf firmware/build
151
+ mkdir -p /project/src/mk66fx1m0/fpv4-sp-d16-hard
152
+
153
+ # Reuse Teensy 3.5 build if possible
154
+ if [[ " ${PLATFORMS[@]} " =~ " teensy35 " ]]; then
155
+ ln /project/src/mk64fx512/fpv4-sp-d16-hard/libmicroros.a /project/src/mk66fx1m0/fpv4-sp-d16-hard/libmicroros.a
156
+ else
157
+ export TOOLCHAIN_PREFIX=/uros_ws/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-
158
+ ros2 run micro_ros_setup build_firmware.sh /project/extras/library_generation/teensy35_toolchain.cmake /project/extras/library_generation/colcon_lowmem.meta
159
+
160
+ find firmware/build/include/ -name " *.c" -delete
161
+ cp -R firmware/build/include/* /project/src/
162
+
163
+ cp -R firmware/build/libmicroros.a /project/src/mk66fx1m0/fpv4-sp-d16-hard/libmicroros.a
164
+ fi
165
+ fi
166
+
147
167
# ####### Build for Teensy 4 ########
148
168
if [[ " ${PLATFORMS[@]} " =~ " teensy4 " ]]; then
149
169
rm -rf firmware/build
You can’t perform that action at this time.
0 commit comments