在 script 目录中存放各种环境初始化文件
bash script/ros/ros-init.sh
or
cd script/ros && bash ros-init.sh
已测试环境:armbian(focal,rk3399) deepin(20,pc) ubuntu(focal,pc)
安装如下软件: gcc-arm-none-eabi libncurses5-dev libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib scons qemu qemu-system-arm dos2unix
添加如下指令: menuconfig(结束后默认pkgs --update) rtt_build(默认使用 CPU*2 编译) rtt_clear(静默,不输出过程信息)
# 安装
bash script/rtthread/env-init.sh -y
or
cd script/rtthread && bash env-init.sh -y
# 移除
bash script/rtthread/env-init.sh remove -y
or
cd script/rtthread && bash env-init.sh remove -y