|
|
|
@ -18,21 +18,21 @@ In the future, these things will just be bundled with eSF. The problem with some
|
|
|
|
|
|
|
|
|
|
### Toolchains
|
|
|
|
|
|
|
|
|
|
Loose naming convention for toolchains:
|
|
|
|
|
Loose naming convention for toolchains:<br>
|
|
|
|
|
`<arch>-<vendor>-<target os>-<host os>-<abi>`
|
|
|
|
|
|
|
|
|
|
- arm-none-eabi:
|
|
|
|
|
- Toolchain targetting the embedded ABI for arm
|
|
|
|
|
- Debian/Ubuntu:
|
|
|
|
|
- Debian/Ubuntu:<br>
|
|
|
|
|
`
|
|
|
|
|
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi gdb-arm-none-eabi
|
|
|
|
|
`
|
|
|
|
|
- **NOTE:** If you run into an issue when running arm-none-eabi-gdb where it needs libncurses.so.5 on Ubuntu/Debian, install this package:
|
|
|
|
|
- **NOTE:** If you run into an issue when running arm-none-eabi-gdb where it needs libncurses.so.5 on Ubuntu/Debian, install this package:<br>
|
|
|
|
|
`
|
|
|
|
|
sudo apt-get install libncurses5
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
- Arch
|
|
|
|
|
- Arch:<br>
|
|
|
|
|
`
|
|
|
|
|
sudo pacman -S arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-gdb arm-none-eabi-newlib
|
|
|
|
|
`
|
|
|
|
@ -40,23 +40,18 @@ Loose naming convention for toolchains:
|
|
|
|
|
- Gentoo:
|
|
|
|
|
- See this wiki [here](https://wiki.gentoo.org/wiki/How_to_build_a_toolchain_for_arm_cortex-m_and_cortex-r).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- avr-\*
|
|
|
|
|
- Ubuntu/Debian: (To be added)
|
|
|
|
|
|
|
|
|
|
- Arch:
|
|
|
|
|
|
|
|
|
|
- Arch:<br>
|
|
|
|
|
`
|
|
|
|
|
sudo pacman -S avr-binutils avr-gcc avr-gdb avr-libc avrdude
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
- Gentoo:
|
|
|
|
|
- Install via [crossdev](https://wiki.gentoo.org/wiki/Crossdev):
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
crossdev -s4 --stable --portage --verbose --target avr
|
|
|
|
|
`
|
|
|
|
|
- Install via [crossdev](https://wiki.gentoo.org/wiki/Crossdev):<br>
|
|
|
|
|
`
|
|
|
|
|
crossdev -s4 --stable --portage --verbose --target avr
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
#### OpenOCD
|
|
|
|
|
|
|
|
|
|