ARM SBC: MBED / libopencm3導入
MBED
Armbian setup
apt install ninja-build apt install python3-venv apt install python3-wheel ...
CMake setup
cd $HOME/install wget ... unzip ...
venv setup
cd $HOME/install python3 -m venv venv ./venv/bin/pip install mbel-tools
MBED sample
git clone ... cd path/to/sample
export PATH=/path/to/cmake:$PATH export PATH=$PATH:/usr/bin:/bin
path/to/venv/mbed-tools deploy path/to/venv/mbed-tools build -c GCC_ARM -b NRF52_DK
libopencm3
cd $HOME/install git clone ...
git clone ...
cd ... export OPENCM3_DIR=$HOME/install/libopencm3 make
コメント
Comments powered by Disqus