'cortex-m3' Tag

  • set
    08
    2010

    Installing Buildroot toolchain for Nuttx

    On my previous post I discussed some stats using Buildroot toolchain to build Nuttx. Today I’ll add the necessary steps to build on Ubuntu. Ubuntu is de-facto GNU/Linux distribution (although I’m Gentoo user) and many users, from different areas, uses it [they are not necessary command line experts] so I decided to publish my raw [...]

  • set
    06
    2010

    Compiler for Nuttx

    I was following this thread on Nuttx maillist on recommended compiler to build Nuttx RTOS. As a matter of practicality I guess that many users use CodeSourcery arm-none-linux-gnueabi but today I decided test the code generated for Cortex-M3 (LPC1768) using the toolchain from Buildroot. As Greg Nutt said (text adapted):
    They were configured using OABI [old arm ABI], but [...]

  • jun
    23
    2010

    Cortex-M3 and Qemu

    Just a small tip to test code generated for ARM Cortex-M3 using QEmu:
    $ arm-none-eabi-gcc main.c -ggdb -mcpu=cortex-m3 -mthumb -T generic-m-hosted.ld
    $ qemu-arm -cpu cortex-m3 ./a.out
    You can download Code Sourcery toolchain here and QEmu here (also available from package management system of your favorite Linux distribution). Just unpack the toolchain associating the arm-201XqX/bin with your $PATH and run qemu.