代码拉取完成,页面将自动刷新
extraction:
cpp:
prepare:
packages:
- p7zip-full
after_prepare:
- export GCC=gcc-arm-none-eabi-9-2020-q2-update
- export CH_VER=master
- cd ${LGTM_WORKSPACE}
- wget -nv https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -O compiler.tar.xz
- tar xf compiler.tar.xz -C ${LGTM_WORKSPACE}
- mv ${LGTM_WORKSPACE}/${GCC} ${LGTM_WORKSPACE}/gcc-arm
- curl -L https://github.com/ChibiOS/ChibiOS/archive/${CH_VER}.tar.gz | tar xz
- mv ChibiOS-${CH_VER} ChibiOS
- cd ChibiOS/ext
- for i in *.7z; do 7z x -y "$i"; done
- cd ${LGTM_SRC}/ext
- for i in *.7z; do 7z x -y "$i"; done
index:
build_command:
- export PATH=${LGTM_WORKSPACE}/gcc-arm/bin:${PATH}
- export CH_PATH=${LGTM_WORKSPACE}/ChibiOS CHC_PATH=${LGTM_SRC}
- ./tools/chbuild.sh testhal/{STM32,NRF51,NRF52,KINETIS}
- ./tools/chbuild.sh demos/{STM32,NRF51,NRF52,KINETIS}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。