|
|
@ -18,21 +18,21 @@ In the future, these things will just be bundled with eSF. The problem with some
|
|
|
|
|
|
|
|
|
|
|
|
### Toolchains
|
|
|
|
### Toolchains
|
|
|
|
|
|
|
|
|
|
|
|
Loose naming convention for toolchains:
|
|
|
|
Loose naming convention for toolchains:<br>
|
|
|
|
`<arch>-<vendor>-<target os>-<host os>-<abi>`
|
|
|
|
`<arch>-<vendor>-<target os>-<host os>-<abi>`
|
|
|
|
|
|
|
|
|
|
|
|
- arm-none-eabi:
|
|
|
|
- arm-none-eabi:
|
|
|
|
- Toolchain targetting the embedded ABI for arm
|
|
|
|
- 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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
sudo pacman -S arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-gdb arm-none-eabi-newlib
|
|
|
|
`
|
|
|
|
`
|
|
|
@ -40,20 +40,15 @@ Loose naming convention for toolchains:
|
|
|
|
- Gentoo:
|
|
|
|
- Gentoo:
|
|
|
|
- See this wiki [here](https://wiki.gentoo.org/wiki/How_to_build_a_toolchain_for_arm_cortex-m_and_cortex-r).
|
|
|
|
- See this wiki [here](https://wiki.gentoo.org/wiki/How_to_build_a_toolchain_for_arm_cortex-m_and_cortex-r).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- avr-\*
|
|
|
|
- avr-\*
|
|
|
|
- Ubuntu/Debian: (To be added)
|
|
|
|
- Ubuntu/Debian: (To be added)
|
|
|
|
|
|
|
|
- Arch:<br>
|
|
|
|
- Arch:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
`
|
|
|
|
sudo pacman -S avr-binutils avr-gcc avr-gdb avr-libc avrdude
|
|
|
|
sudo pacman -S avr-binutils avr-gcc avr-gdb avr-libc avrdude
|
|
|
|
`
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
|
|
- Gentoo:
|
|
|
|
- Gentoo:
|
|
|
|
- Install via [crossdev](https://wiki.gentoo.org/wiki/Crossdev):
|
|
|
|
- Install via [crossdev](https://wiki.gentoo.org/wiki/Crossdev):<br>
|
|
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
`
|
|
|
|
crossdev -s4 --stable --portage --verbose --target avr
|
|
|
|
crossdev -s4 --stable --portage --verbose --target avr
|
|
|
|
`
|
|
|
|
`
|
|
|
|