This docker image is the development environment for it, the source code of the RT-Thread is not included, just the toolchain:
RT-Thread is an open source RTOS powering millions of device, created at 2006, its repository is https://github.com/RT-Thread/rt-thread .
For more information about RT-Thread, please visit https://www.rt-thread.io (English) or https://www.rt-thread.org (Chinese)
docker pull pinxue/rt-env:clang6_opt_gcc
sh build.sh xgfw
build.bat xgfw
git clone --depth 1 https://github.com/RT-Thread/rt-thread
in docker container. Or just put somewhere outside the docker, run_in.sh assume it is ../rt-thread (macOS/Linux), run_in.bat assume .\rt-thread (Windows).docker run --name rtenv --rm -it --privileged -p 8181:8181 \
-v `pwd`:/home/rtt/rt-thread \
pinxue/rtenv:clang6_opt_gcc \
bash
Assume you have cloned RT-Thread in .\rt-thread
docker run --name rtenv --rm -it --privileged -p 8181:8181 -v %~dp0rt-thread:/home/rtt/rt-thread pinxue/rtenv:clang6_opt_gcc bash
Please cat ~/README.md once you get in docker.
The source of Dockerfile and some utility scripts can be found at https://github.com/pinxue/rtenv-in-docker
If you are working on a chip of other architecture, like aarch64, risc-v, xtensa, mips, x86, etc. you need download the toolchain and map into docker volume, take the aa64run_in.sh script as an example.
You may use this docker env just like a command, just take a look at analyzer_in.sh.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。