-
Notifications
You must be signed in to change notification settings - Fork 128
Added precompiled library for STMicroelectronics Nucleo H723ZG (USB), Nucleo H503RB (USB), Arduino Giga R1 (ETH UDP), and Portenta C33(USB) #1853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ZhouyangX
wants to merge
18
commits into
micro-ROS:jazzy
Choose a base branch
from
ZhouyangX:jazzy
base: jazzy
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
aaf53ba
Support for Nucleo-H723ZG
ZhouyangX 9f243ca
Updated UDP transport for Giga
ZhouyangX b30fa02
Update library.properties
ZhouyangX 93fb97a
Update default_transport.cpp
ZhouyangX 4be0643
Support for Nucleo-H503RB
ZhouyangX b4323a1
Support for Arduino Portenta C33
ZhouyangX fcb7631
Updated library_generation.sh
ZhouyangX db6a00d
Add accompanying toolchains
ZhouyangX 96fe76e
Update ci.yml
ZhouyangX 7869c7a
Update ci.yml
ZhouyangX d6d42aa
Update ci.yml
ZhouyangX cc8e12a
Update ci.yml
ZhouyangX 4076e10
Update micro-ros_publisher_ethernet.ino
ZhouyangX 989d0bb
Update ci.yml
ZhouyangX f82558f
Update ci.yml
ZhouyangX 84c92c1
Update ci.yml
ZhouyangX 7bf198f
Update ci.yml
ZhouyangX d4ffdbd
Update ci.yml
ZhouyangX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,19 +29,26 @@ jobs: | |
- https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR/master/arduino/opencr_release/package_opencr_index.json | ||
- https://github.com/espressif/arduino-esp32/releases/download/2.0.2/package_esp32_index.json | ||
- https://www.pjrc.com/teensy/package_teensy_index.json | ||
- https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json''' > arduino-cli.yaml | ||
- https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json | ||
- https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json''' > arduino-cli.yaml | ||
curl -fsSL https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR/master/arduino/opencr_release/package_opencr_index.json -o /github/home/.arduino15/package_opencr_index.json | ||
curl -fsSL https://github.com/espressif/arduino-esp32/releases/download/2.0.2/package_esp32_index.json -o /github/home/.arduino15/package_esp32_index.json | ||
curl -fsSL https://www.pjrc.com/teensy/package_teensy_index.json -o /github/home/.arduino15/package_teensy_index.json | ||
curl -fsSL https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json -o /github/home/.arduino15/package_seeeduino_boards_index.json | ||
curl -fsSL https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json -o /github/home/.arduino15/package_stmicroelectronics_index.json | ||
|
||
export PATH=$PATH:/github/workspace/bin:/__w/micro_ros_arduino/micro_ros_arduino/bin | ||
arduino-cli core install OpenCR:OpenCR -v | ||
arduino-cli core install arduino:samd -v | ||
arduino-cli core install arduino:sam -v | ||
arduino-cli core install arduino:mbed -v | ||
arduino-cli core install arduino:mbed_portenta -v | ||
arduino-cli core install arduino:mbed_giga -v | ||
arduino-cli core install arduino:mbed_nano -v | ||
arduino-cli core install arduino:renesas_portenta -v | ||
arduino-cli core install esp32:esp32 -v | ||
arduino-cli core install teensy:[email protected] -v | ||
arduino-cli core install Seeeduino:samd -v | ||
arduino-cli core install STMicroelectronics:stm32 -v | ||
# | ||
# PATCHING TEENSY AND SAM | ||
cat checkout/extras/patching_boards/platform_teensy.txt > /github/home/.arduino15/packages/teensy/hardware/avr/1.59.0/platform.txt | ||
|
@@ -52,6 +59,7 @@ jobs: | |
arduino-cli core update-index | ||
arduino-cli lib update-index | ||
arduino-cli lib install WiFiNINA | ||
arduino-cli lib install Ethernet | ||
arduino-cli lib install "STM32duino X-NUCLEO-IKS01A3" | ||
arduino-cli lib install "Seeed Arduino rpcWiFi" # Dependent libraries(e.g. "Seeed Arduino rpcUnified") will be installed together. See https://wiki.seeedstudio.com/Wio-Terminal-Network-Overview/#needed-libraries-for-wi-fi for more details. | ||
# Build all demos | ||
|
@@ -64,20 +72,28 @@ jobs: | |
arduino-cli compile --fqbn teensy:avr:teensy41 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_time_sync -v | ||
arduino-cli compile --fqbn teensy:avr:teensy41 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_types_handling -v | ||
# Build one demo for each platform | ||
arduino-cli compile --fqbn arduino:mbed:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:mbed:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_decibels -v | ||
arduino-cli compile --fqbn arduino:mbed:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_IMU_ML -v | ||
arduino-cli compile --fqbn arduino:mbed:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v | ||
arduino-cli compile --fqbn arduino:mbed_nano:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:mbed_nano:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_decibels -v | ||
arduino-cli compile --fqbn arduino:mbed_nano:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_IMU_ML -v | ||
arduino-cli compile --fqbn arduino:mbed_nano:nanorp2040connect /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v | ||
arduino-cli compile --fqbn teensy:avr:teensy31 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn teensy:avr:teensy35 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn teensy:avr:teensy36 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn teensy:avr:teensy41 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn teensy:avr:teensy40 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:samd:arduino_zero_native /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:sam:arduino_due_x /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
# arduino-cli compile --fqbn arduino:mbed:envie_m4 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:mbed:envie_m7 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:mbed:envie_m7 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v | ||
Arduino-cli compile --fqbn arduino:mbed_portenta:envie_m4 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:mbed_portenta:envie_m7 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
# arduino-cli compile --fqbn arduino:mbed_portenta:envie_m7 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v | ||
arduino-cli compile --fqbn arduino:mbed_giga:giga /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn esp32:esp32:esp32 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn esp32:esp32:esp32 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v | ||
arduino-cli compile --fqbn Seeeduino:samd:seeed_wio_terminal /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher_wifi -v | ||
arduino-cli compile --fqbn STMicroelectronics:stm32:Nucleo_144:pnum=NUCLEO_H723ZG /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_H503RB /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
arduino-cli compile --fqbn arduino:renesas_portenta:portenta_c33 /github/home/Arduino/libraries/micro_ros_arduino/examples/micro-ros_publisher -v | ||
|
||
|
||
|
||
|
||
ZhouyangX marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
SET(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_CROSSCOMPILING 1) | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) | ||
|
||
set(CMAKE_C_COMPILER $ENV{TOOLCHAIN_PREFIX}gcc) | ||
set(CMAKE_CXX_COMPILER $ENV{TOOLCHAIN_PREFIX}g++) | ||
|
||
SET(CMAKE_C_COMPILER_WORKS 1 CACHE INTERNAL "") | ||
SET(CMAKE_CXX_COMPILER_WORKS 1 CACHE INTERNAL "") | ||
|
||
set(FLAGS "-O3 -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fsingle-precision-constant -Wdouble-promotion -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -mcpu=cortex-m33 --param max-inline-insns-single=500 -DARDUINO=10813 -mthumb" CACHE STRING "" FORCE) | ||
|
||
set(CMAKE_C_FLAGS_INIT "-std=c11 ${FLAGS} -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='" CACHE STRING "" FORCE) | ||
set(CMAKE_CXX_FLAGS_INIT "-std=c++14 ${FLAGS} -fno-rtti -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='" CACHE STRING "" FORCE) | ||
|
||
set(__BIG_ENDIAN__ 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
SET(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_CROSSCOMPILING 1) | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) | ||
|
||
set(CMAKE_C_COMPILER $ENV{TOOLCHAIN_PREFIX}gcc) | ||
set(CMAKE_CXX_COMPILER $ENV{TOOLCHAIN_PREFIX}g++) | ||
|
||
SET(CMAKE_C_COMPILER_WORKS 1 CACHE INTERNAL "") | ||
SET(CMAKE_CXX_COMPILER_WORKS 1 CACHE INTERNAL "") | ||
|
||
set(FLAGS "-O3 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wdouble-promotion -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -mcpu=cortex-m33 --param max-inline-insns-single=500 -DF_CPU=250000000L -DARDUINO=10813 -mthumb" CACHE STRING "" FORCE) | ||
|
||
set(CMAKE_C_FLAGS_INIT "-std=c11 ${FLAGS} -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='" CACHE STRING "" FORCE) | ||
set(CMAKE_CXX_FLAGS_INIT "-std=c++14 ${FLAGS} -fno-rtti -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='" CACHE STRING "" FORCE) | ||
|
||
set(__BIG_ENDIAN__ 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
SET(CMAKE_SYSTEM_NAME Generic) | ||
set(CMAKE_CROSSCOMPILING 1) | ||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) | ||
|
||
set(CMAKE_C_COMPILER $ENV{TOOLCHAIN_PREFIX}gcc) | ||
set(CMAKE_CXX_COMPILER $ENV{TOOLCHAIN_PREFIX}g++) | ||
|
||
SET(CMAKE_C_COMPILER_WORKS 1 CACHE INTERNAL "") | ||
SET(CMAKE_CXX_COMPILER_WORKS 1 CACHE INTERNAL "") | ||
|
||
set(FLAGS "-O3 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wdouble-promotion -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -mcpu=cortex-m7 --param max-inline-insns-single=500 -DF_CPU=550000000L -DARDUINO=10813 -mthumb" CACHE STRING "" FORCE) | ||
|
||
set(CMAKE_C_FLAGS_INIT "-std=c11 ${FLAGS} -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='" CACHE STRING "" FORCE) | ||
set(CMAKE_CXX_FLAGS_INIT "-std=c++14 ${FLAGS} -fno-rtti -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='" CACHE STRING "" FORCE) | ||
|
||
set(__BIG_ENDIAN__ 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.