Historical project documentation. Content is maintained in GitLab.

ARMToolchainWindows

Development/ARMToolchainWindowsNext Chapter

Setting up a ARM toolchain under Windows

Download and install the following software:

  1. Yagarto GNU ARM toolchain
  2. Yagarto tools
  3. MinGW
  4. libusb-win32

Make sure everything is installed in a path without any spaces. I suggest the following directory structure:

c:\devtools\

  • libusb-win32-bin-1.2.5.0
  • bin
  • examples
  • etc
  • MinGW
  • NG (NG source)
  • yagarto

Now rename gcc and other tools in C:\devtools\yagarto\bin:

  • arm-none-eabi-ar.exe -> arm-elf-ar.exe
  • arm-none-eabi-as.exe -> arm-elf-as.exe
  • arm-none-eabi-gcc.exe -> arm-elf-gcc.exe
  • arm-none-eabi-ld.exe -> arm-elf-ld.exe
  • arm-none-eabi-objcopy.exe -> arm-elf-objcopy.exe
  • arm-none-eabi-objdump.exe -> arm-elf-objdump.exe
  • arm-none-eabi-ranlib.exe -> arm-elf-ranlib.exe
  • arm-none-eabi-size.exe -> arm-elf-size.exe

Now go to the source head-directory of NGOS and do a “sh configure”. This should set up everything. Now do a “make”. If everything is well, then at the end (about 1 minute) a .hex file should be produced at the end of this process.

If it produces an error, please let me know in IRC (Jeroen). Or by sending me the output at <jeroen@dev.uavp.ch>