1 Star 0 Fork 0

yangwu / rtenv-in-docker

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
run_in.sh 624 Bytes
Copy Edit Web IDE Raw Blame History
yangwu authored 2020-03-31 23:46 . already working
#!/bin/sh
# assume rt-thread source code is in
cd ../rt-thread
echo "Using default toolchain in docker (/opt/gcc/gcc-arm-none-eabi-5_4)"
echo To change toolchain in ./gcc/gcc-arm-none-eabi-6_2-2016q4 :
echo " ./run_in.sh -v \`pwd\`/../docker/gcc:/opt/gcc -e RTT_EXEC_PATH=/opt/gcc/gcc-arm-none-eabi-6_2-2016q4/bin "
echo
echo "Now you are in docker."
echo
# to debug scripts: -v `pwd`/../docker/scripts:/home/rtt/ \
# scan-view-9 default on localhost:8181
docker run --name rtenv --rm -it --privileged -p 8181:8181 \
-v `pwd`:/home/rtt/rt-thread \
$1 $2 $3 $4 $5 $6 $7 $8 $9 \
pinxue/rtenv:clang6_opt_gcc \
bash

Comment ( 0 )

Sign in for post a comment

Shell
1
https://git.oschina.net/kongfu_yang/rtenv-in-docker.git
git@git.oschina.net:kongfu_yang/rtenv-in-docker.git
kongfu_yang
rtenv-in-docker
rtenv-in-docker
master

Search