"Maixduino" 修訂間的差異
(→Build) |
|||
行 16: | 行 16: | ||
cd projects/maixpy_k210 | cd projects/maixpy_k210 | ||
python3 project.py --toolchain /opt/kendryte-toolchain/bin --toolchain-prefix riscv64-unknown-elf- config | python3 project.py --toolchain /opt/kendryte-toolchain/bin --toolchain-prefix riscv64-unknown-elf- config | ||
+ | </pre> | ||
+ | === Customize FW === | ||
+ | <pre> | ||
+ | python3 project.py menuconfig | ||
</pre> | </pre> | ||
=== Build === | === Build === | ||
<pre> | <pre> | ||
− | python3 project.py build | + | python3 project.py build |
</pre> | </pre> | ||
於 2019年12月11日 (三) 14:09 的修訂
目錄
FW
git clone https://github.com/sipeed/MaixPy.git git submodule update --recursive --init
Install dependencies
sudo apt update sudo apt install python3 python3-pip build-essential cmake sudo pip3 install -r requirements.txt
Configure project
cd MaixPy cd projects/maixpy_k210 python3 project.py --toolchain /opt/kendryte-toolchain/bin --toolchain-prefix riscv64-unknown-elf- config
Customize FW
python3 project.py menuconfig
Build
python3 project.py build
Flash to the board
python3 project.py -B maixduino -p /dev/ttyUSB0 -b 1500000 -S flash