Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [teensy41, teensy40, teensy36, teensy35, teensy31, due, zero, olimex_e407, esp32dev, nanorp2040connect, portenta_h7_m7, teensy41_eth, nanorp2040connect_wifi, portenta_h7_m7_wifi, esp32dev_wifi, esp32dev_ethernet, portenta_h7_m7_humble, portenta_h7_m7_jazzy, portenta_h7_m7_kilted, portenta_h7_m7_rolling, teensy41_custom, pico, pico2]
platform: [teensy41, teensy40, teensy36, teensy35, teensy31, due, zero, olimex_e407, esp32dev, nanorp2040connect, portenta_h7_m7, teensy41_eth, nanorp2040connect_wifi, portenta_h7_m7_wifi, esp32dev_wifi, esp32dev_ethernet, portenta_h7_m7_humble, portenta_h7_m7_jazzy, portenta_h7_m7_kilted, portenta_h7_m7_lyrical, portenta_h7_m7_rolling, teensy41_custom, pico, pico2]

steps:
- uses: actions/checkout@v5
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ The target ROS 2 distribution can be configured with the `board_microros_distro
- `humble`
- `jazzy`
- `kilted` *(default value)*
- `lyrical`
- `rolling`

### Transport configuration
Expand Down
11 changes: 11 additions & 0 deletions ci/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ board_microros_distro = kilted
lib_deps =
../

; Lyrical test
[env:portenta_h7_m7_lyrical]
platform = ststm32
board = portenta_h7_m7
framework = arduino
board_microros_transport = serial
board_microros_distro = lyrical
lib_deps =
../

; Rolling test
[env:portenta_h7_m7_rolling]
platform = ststm32
Expand Down Expand Up @@ -206,3 +216,4 @@ framework = arduino
board_microros_transport = custom
lib_deps =
../

2 changes: 1 addition & 1 deletion ci/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void setup() {
&timer,
&support,
RCL_MS_TO_NS(100),
timer_callback));
(rcl_timer_callback_t) timer_callback));

// create executor
RCCHECK(rclc_executor_init(&executor, &support.context, 1, &allocator));
Expand Down
3 changes: 2 additions & 1 deletion extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,13 @@ def build_microros(*args, **kwargs):
env['CC'],
env['CXX'],
env['AR'],
"{} {} -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='".format(' '.join(env['CFLAGS']), ' '.join(env['CCFLAGS'])),
"{} {} -Wno-error=implicit-function-declaration -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='".format(' '.join(env['CFLAGS']), ' '.join(env['CCFLAGS'])),
"{} {} -fno-rtti -DCLOCK_MONOTONIC=0 -D'__attribute__(x)='".format(' '.join(env['CXXFLAGS']), ' '.join(env['CCFLAGS']))
)

python_env_path = env['PROJECT_CORE_DIR'] + "/penv/bin/activate"
builder = library_builder.Build(library_folder=main_path, packages_folder=extra_packages_path, distro=microros_distro, python_env=python_env_path)
builder.env = env.get("ENV", os.environ.copy())
builder.run('{}/metas/{}'.format(main_path, selected_board_meta), cmake_toolchain.path, microros_user_meta)

#######################################################
Expand Down
Loading