-
Notifications
You must be signed in to change notification settings - Fork 176
Expand file tree
/
Copy pathcreate.sh
More file actions
executable file
·45 lines (34 loc) · 1.6 KB
/
create.sh
File metadata and controls
executable file
·45 lines (34 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pushd $FW_TARGETDIR >/dev/null
# Install toolchain
mkdir toolchain
pushd toolchain >/dev/null
git clone -b v4.1 --recursive https://github.com/espressif/esp-idf.git
pushd esp-idf/components
#add the esp32-camera repository to the components directory
git clone https://github.com/espressif/esp32-camera.git
popd
mkdir espressif
export IDF_TOOLS_PATH=$(pwd)/espressif
export IDF_PATH=$(pwd)/esp-idf
alias python=python3
echo "Installing ESP-IDF tools"
python3 esp-idf/tools/idf_tools.py install
echo "Installing ESP-IDF virtualenv"
python3 esp-idf/tools/idf_tools.py install-python-env
eval $(python3 $FW_TARGETDIR/toolchain/esp-idf/tools/idf_tools.py export --prefer-system)
. $IDF_PATH/export.sh
pip3 install catkin_pkg lark-parser empy
popd >/dev/null
# Import repos
vcs import --input $PREFIX/config/$RTOS/$PLATFORM/board.repos >/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/COLCON_IGNORE
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/rcpputils/COLCON_IGNORE
touch mcu_ws/uros/rcl/rcl_yaml_param_parser/COLCON_IGNORE
touch mcu_ws/uros/rclc/rclc_examples/COLCON_IGNORE
rosdep install -y --from-paths mcu_ws -i mcu_ws --rosdistro foxy --skip-keys="$SKIP"
popd >/dev/null