diff --git a/config/freertos/esp32/create.sh b/config/freertos/esp32/create.sh index 103981bf..2520a618 100755 --- a/config/freertos/esp32/create.sh +++ b/config/freertos/esp32/create.sh @@ -24,6 +24,10 @@ pushd $FW_TARGETDIR >/dev/null eval $(python3 $FW_TARGETDIR/toolchain/esp-idf/tools/idf_tools.py export --prefer-system) + # ESP-IDF v4.1 tooling imports pkg_resources, which setuptools dropped in release 81. + # Its requirements.txt only pins setuptools>=21, so pin it back here. + python3 -m pip install "setuptools<81" pyyaml + . $IDF_PATH/export.sh pip3 install catkin_pkg lark-parser empy==3.3.4 colcon-common-extensions --break-system-packages diff --git a/config/raspbian/generic/configure.sh b/config/raspbian/generic/configure.sh index 65c76a39..755a863e 100755 --- a/config/raspbian/generic/configure.sh +++ b/config/raspbian/generic/configure.sh @@ -3,6 +3,7 @@ pushd $FW_TARGETDIR >/dev/null rm -rf mcu_ws/* cp raspbian_apps/toolchain.cmake mcu_ws/ + # ROS_DISTRO SPECIFIC curl -s https://raw.githubusercontent.com/ros2/ros2/jazzy/ros2.repos |\ ros2 run micro_ros_setup yaml_filter.py raspbian_apps/$CONFIG_NAME/ros2_repos.filter > ros2.repos vcs import --input ros2.repos mcu_ws/ && rm ros2.repos