From c1b68ee7614b8533d7826e21f63e052b65928e46 Mon Sep 17 00:00:00 2001 From: David Laseca Perez Date: Mon, 14 Sep 2026 13:01:35 +0200 Subject: [PATCH 1/3] Ignore 'rosidl_buffer_py' Signed-off-by: David Laseca Perez --- .github/workflows/ci.yml | 4 ++++ config/android/generic/create.sh | 1 + config/freertos/crazyflie21/create.sh | 1 + config/freertos/esp32/create.sh | 1 + config/freertos/nucleo_f446re/create.sh | 1 + config/freertos/nucleo_f446ze/create.sh | 1 + config/freertos/nucleo_f746zg/create.sh | 1 + config/freertos/nucleo_f767zi/create.sh | 1 + config/freertos/olimex-stm32-e407/create.sh | 1 + config/generate_lib/generic/create.sh | 1 + config/zephyr/generic/create.sh | 1 + 11 files changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b91e0faa..53dcca16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: ci_target_ref: required: true type: string + workflow_dispatch: + inputs: + name: + description: "Manual trigger" env: ROS_DISTRO: rolling diff --git a/config/android/generic/create.sh b/config/android/generic/create.sh index 460ca3dd..fdfd097e 100755 --- a/config/android/generic/create.sh +++ b/config/android/generic/create.sh @@ -9,5 +9,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null diff --git a/config/freertos/crazyflie21/create.sh b/config/freertos/crazyflie21/create.sh index 9c78ddb8..538727d3 100755 --- a/config/freertos/crazyflie21/create.sh +++ b/config/freertos/crazyflie21/create.sh @@ -20,5 +20,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/esp32/create.sh b/config/freertos/esp32/create.sh index 06d60a59..49025f60 100755 --- a/config/freertos/esp32/create.sh +++ b/config/freertos/esp32/create.sh @@ -54,5 +54,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null diff --git a/config/freertos/nucleo_f446re/create.sh b/config/freertos/nucleo_f446re/create.sh index 7b4b4b74..5468398b 100755 --- a/config/freertos/nucleo_f446re/create.sh +++ b/config/freertos/nucleo_f446re/create.sh @@ -21,5 +21,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null diff --git a/config/freertos/nucleo_f446ze/create.sh b/config/freertos/nucleo_f446ze/create.sh index 1e4ba43e..c5719d78 100755 --- a/config/freertos/nucleo_f446ze/create.sh +++ b/config/freertos/nucleo_f446ze/create.sh @@ -21,5 +21,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/nucleo_f746zg/create.sh b/config/freertos/nucleo_f746zg/create.sh index 1e4ba43e..c5719d78 100755 --- a/config/freertos/nucleo_f746zg/create.sh +++ b/config/freertos/nucleo_f746zg/create.sh @@ -21,5 +21,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/nucleo_f767zi/create.sh b/config/freertos/nucleo_f767zi/create.sh index 1e4ba43e..c5719d78 100755 --- a/config/freertos/nucleo_f767zi/create.sh +++ b/config/freertos/nucleo_f767zi/create.sh @@ -21,5 +21,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/olimex-stm32-e407/create.sh b/config/freertos/olimex-stm32-e407/create.sh index 1331c351..78837067 100755 --- a/config/freertos/olimex-stm32-e407/create.sh +++ b/config/freertos/olimex-stm32-e407/create.sh @@ -21,6 +21,7 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE touch mcu_ws/ros2/rmw/rmw_security_common/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/generate_lib/generic/create.sh b/config/generate_lib/generic/create.sh index ec90323b..b6a29690 100755 --- a/config/generate_lib/generic/create.sh +++ b/config/generate_lib/generic/create.sh @@ -9,6 +9,7 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE touch mcu_ws/ros2/rmw/rmw_security_common/COLCON_IGNORE popd >/dev/null diff --git a/config/zephyr/generic/create.sh b/config/zephyr/generic/create.sh index 0d4ef02b..b24b8381 100755 --- a/config/zephyr/generic/create.sh +++ b/config/zephyr/generic/create.sh @@ -77,6 +77,7 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE # Upgrade sphinx pip install --force-reinstall docutils==0.16 Sphinx==4.2.0 From 3bfa702fb21a36c610cf39913a4505bbdf39c188 Mon Sep 17 00:00:00 2001 From: David Laseca Perez Date: Mon, 14 Sep 2026 15:47:43 +0200 Subject: [PATCH 2/3] Ignore unnecesary packages Signed-off-by: David Laseca Perez --- config/android/generic/create.sh | 2 ++ config/freertos/crazyflie21/create.sh | 2 ++ config/freertos/esp32/create.sh | 2 ++ config/freertos/nucleo_f446re/create.sh | 2 ++ config/freertos/nucleo_f446ze/create.sh | 2 ++ config/freertos/nucleo_f746zg/create.sh | 2 ++ config/freertos/nucleo_f767zi/create.sh | 2 ++ config/freertos/olimex-stm32-e407/create.sh | 2 ++ config/generate_lib/generic/create.sh | 2 ++ config/raspbian/generic/configure.sh | 2 ++ config/zephyr/generic/create.sh | 2 ++ 11 files changed, 22 insertions(+) diff --git a/config/android/generic/create.sh b/config/android/generic/create.sh index fdfd097e..33b3f2e1 100755 --- a/config/android/generic/create.sh +++ b/config/android/generic/create.sh @@ -3,6 +3,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2_tracing/test_tracetools/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE @@ -10,5 +11,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null diff --git a/config/freertos/crazyflie21/create.sh b/config/freertos/crazyflie21/create.sh index 538727d3..e81f40b1 100755 --- a/config/freertos/crazyflie21/create.sh +++ b/config/freertos/crazyflie21/create.sh @@ -13,6 +13,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -21,5 +22,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/esp32/create.sh b/config/freertos/esp32/create.sh index 49025f60..030fdb2b 100755 --- a/config/freertos/esp32/create.sh +++ b/config/freertos/esp32/create.sh @@ -47,6 +47,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -55,5 +56,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null diff --git a/config/freertos/nucleo_f446re/create.sh b/config/freertos/nucleo_f446re/create.sh index 5468398b..cb2b1d58 100755 --- a/config/freertos/nucleo_f446re/create.sh +++ b/config/freertos/nucleo_f446re/create.sh @@ -14,6 +14,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -22,5 +23,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null diff --git a/config/freertos/nucleo_f446ze/create.sh b/config/freertos/nucleo_f446ze/create.sh index c5719d78..0fda72db 100755 --- a/config/freertos/nucleo_f446ze/create.sh +++ b/config/freertos/nucleo_f446ze/create.sh @@ -14,6 +14,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -22,5 +23,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/nucleo_f746zg/create.sh b/config/freertos/nucleo_f746zg/create.sh index c5719d78..0fda72db 100755 --- a/config/freertos/nucleo_f746zg/create.sh +++ b/config/freertos/nucleo_f746zg/create.sh @@ -14,6 +14,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -22,5 +23,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/nucleo_f767zi/create.sh b/config/freertos/nucleo_f767zi/create.sh index c5719d78..0fda72db 100755 --- a/config/freertos/nucleo_f767zi/create.sh +++ b/config/freertos/nucleo_f767zi/create.sh @@ -14,6 +14,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -22,5 +23,6 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/freertos/olimex-stm32-e407/create.sh b/config/freertos/olimex-stm32-e407/create.sh index 78837067..ae4d4699 100755 --- a/config/freertos/olimex-stm32-e407/create.sh +++ b/config/freertos/olimex-stm32-e407/create.sh @@ -14,6 +14,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -22,6 +23,7 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE touch mcu_ws/ros2/rmw/rmw_security_common/COLCON_IGNORE popd >/dev/null \ No newline at end of file diff --git a/config/generate_lib/generic/create.sh b/config/generate_lib/generic/create.sh index b6a29690..95bd513c 100755 --- a/config/generate_lib/generic/create.sh +++ b/config/generate_lib/generic/create.sh @@ -2,6 +2,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -10,6 +11,7 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE touch mcu_ws/ros2/rmw/rmw_security_common/COLCON_IGNORE popd >/dev/null diff --git a/config/raspbian/generic/configure.sh b/config/raspbian/generic/configure.sh index 002c29f7..53ad6b47 100755 --- a/config/raspbian/generic/configure.sh +++ b/config/raspbian/generic/configure.sh @@ -11,6 +11,8 @@ pushd $FW_TARGETDIR >/dev/null if [ -d mcu_ws/ros2/rosidl ]; then touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_c/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE fi vcs import --input raspbian_apps/$CONFIG_NAME/app.repos mcu_ws/ diff --git a/config/zephyr/generic/create.sh b/config/zephyr/generic/create.sh index b24b8381..1676b161 100755 --- a/config/zephyr/generic/create.sh +++ b/config/zephyr/generic/create.sh @@ -70,6 +70,7 @@ pushd $FW_TARGETDIR >/dev/null # ignore broken packages touch mcu_ws/ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE + touch mcu_ws/ros2/rcl_logging/rcl_logging_implementation/COLCON_IGNORE touch mcu_ws/ros2/rcl/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE touch mcu_ws/ros2/rcpputils/COLCON_IGNORE @@ -78,6 +79,7 @@ pushd $FW_TARGETDIR >/dev/null touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE touch mcu_ws/ros2/ros2_tracing/lttngpy/COLCON_IGNORE touch mcu_ws/ros2/rosidl/rosidl_buffer_py/COLCON_IGNORE + touch mcu_ws/ros2/rosidl/rosidl_buffer_backend_registry/COLCON_IGNORE # Upgrade sphinx pip install --force-reinstall docutils==0.16 Sphinx==4.2.0 From cb70736bdf7abd9af57117b6bf295dcf84c453af Mon Sep 17 00:00:00 2001 From: David Laseca Perez Date: Tue, 15 Sep 2026 10:30:56 +0200 Subject: [PATCH 3/3] Set CMAKE_POLICY_VERSION_MINIMUM=3.5 for ESP-IDF and Zephyr Signed-off-by: David Laseca Perez --- config/freertos/esp32/build.sh | 5 +++++ config/freertos/esp32/configure.sh | 5 +++++ config/zephyr/generic/build.sh | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/config/freertos/esp32/build.sh b/config/freertos/esp32/build.sh index 3325c457..4f8867fd 100755 --- a/config/freertos/esp32/build.sh +++ b/config/freertos/esp32/build.sh @@ -8,6 +8,11 @@ source $FW_TARGETDIR/venv/bin/activate export IDF_TOOLS_PATH=$FW_TARGETDIR/toolchain/espressif export IDF_PATH=$FW_TARGETDIR/toolchain/esp-idf +# ESP-IDF v4.1 vendors third-party trees (mbedtls) whose cmake_minimum_required +# predates 3.5, which CMake 4 rejects outright. Restore the old floor until the +# pinned ESP-IDF is bumped. +export CMAKE_POLICY_VERSION_MINIMUM=3.5 + eval $(python3 $FW_TARGETDIR/toolchain/esp-idf/tools/idf_tools.py export --prefer-system) . $IDF_PATH/export.sh diff --git a/config/freertos/esp32/configure.sh b/config/freertos/esp32/configure.sh index b1d5dd62..6d55a3e9 100755 --- a/config/freertos/esp32/configure.sh +++ b/config/freertos/esp32/configure.sh @@ -57,6 +57,11 @@ UROS_APP_FOLDER="$FW_TARGETDIR/freertos_apps/apps/$UROS_APP" export IDF_TOOLS_PATH=$FW_TARGETDIR/toolchain/espressif export IDF_PATH=$FW_TARGETDIR/toolchain/esp-idf +# ESP-IDF v4.1 vendors third-party trees (mbedtls) whose cmake_minimum_required +# predates 3.5, which CMake 4 rejects outright. Restore the old floor until the +# pinned ESP-IDF is bumped. +export CMAKE_POLICY_VERSION_MINIMUM=3.5 + eval $(python3 $FW_TARGETDIR/toolchain/esp-idf/tools/idf_tools.py export --prefer-system) . $IDF_PATH/export.sh diff --git a/config/zephyr/generic/build.sh b/config/zephyr/generic/build.sh index 41bc9d12..ca8e4f01 100755 --- a/config/zephyr/generic/build.sh +++ b/config/zephyr/generic/build.sh @@ -9,6 +9,11 @@ pushd $FW_TARGETDIR >/dev/null export ZEPHYR_SDK_INSTALL_DIR=$FW_TARGETDIR/zephyr-sdk export PATH=~/.local/bin:"$PATH" + # Zephyr v2.6.0 vendors third-party modules (civetweb) whose + # cmake_minimum_required predates 3.5, which CMake 4 rejects outright. + # Restore the old floor until the pinned Zephyr is bumped. + export CMAKE_POLICY_VERSION_MINIMUM=3.5 + # Retrieve user app unset UROS_APP