Install arm-elf-tool toolchain

本文介绍如何下载并安装ARM ELF工具链。通过wget命令下载工具链文件后,使用sudo权限进行安装。若安装过程中遇到错误,需修改安装脚本中的tail命令参数。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Download:

wget http://opensrc.sec.samsung.com/download/arm-elf-tools-20040427.sh

Install the toolchain as root user:

sudo ./arm-elf-tools-20030314.sh

If you get the error message 'tail: cannot open `+43' for reading: No such file or directory' when installing, change line 39 from:

vim -b ./arm-elf-tools-20030314.sh

tail +${SKIP} ${SCRIPT} | gunzip | tar xvf -

to:

tail -n+${SKIP} ${SCRIPT} | gunzip | tar xvf -
* 正在执行任务: platformio run --target upload Processing fishbot (platform: espressif32; board: esp32-c3-devkitm-1; framework: arduino) ---------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c3-devkitm-1.html PLATFORM: Espressif 32 (6.10.0) > Espressif ESP32-C3-DevKitM-1 HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES: - framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b - tool-esptoolpy @ 1.40501.0 (4.5.1) - tool-mkfatfs @ 2.0.1 - tool-mklittlefs @ 1.203.210628 (2.3) - tool-mkspiffs @ 2.230.0 (2.30) - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 33 compatible libraries Scanning dependencies... No dependencies Building in release mode Retrieving maximum program size .pio/build/fishbot/firmware.elf Checking size .pio/build/fishbot/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [ ] 4.2% (used 13748 bytes from 327680 bytes) Flash: [== ] 18.9% (used 247510 bytes from 1310720 bytes) Configuring upload protocol... AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Warning! Please install `99-platformio-udev.rules`. More details: https://docs.platformio.org/en/latest/core/installation/udev-rules.html Looking for upload port... Auto-detected: /dev/ttyACM0 Uploading .pio/build/fishbot/firmware.bin esptool.py v4.5.1 Ser
03-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值