赞
踩
工具链简介:
rustup target add thumbv7m-none-eabi
rustup component add llvm-tools-preview
# 安装指定版本
# cargo install cargo-binutils --vers 0.3.3
# 安装最新版本
cargo install cargo-binutils
cargo size --version
cargo install cargo-embed
cargo embed --version
sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib
有 ARM 仿真支持的 QEMU 用于调试 ARM Cortex-M 程序的 GDB 命令
sudo pacman -S arm-none-eabi-gdb
sudo pacman -S minicom
yay -S aur/cutecom
sudo pacman -S openocd
wget https://github.com/renode/renode/releases/download/v1.14.0/renode-1.14.0-1-x86_64.pkg.tar.xz
sudo pacman -U ./renode-1.14.0-1-x86_64.pkg.tar.xz
renode -v
使用该模拟器需要安装 stm32 的插件
sudo pacman -S qemu-system-arm
这个程序将会阻塞住。
qemu-system-arm \
-cpu cortex-m3 \
-machine lm3s6965evb \
-gdb tcp::3333 \
-S \
-nographic \
-kernel target/thumbv7m-none-eabi/debug/blinky
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。