Create a project for the Nucleo Board - Willeby/GNU_ARM_Eclipse GitHub Wiki

The following steps are necessary to create an eclipse project which runs on a STM32L053R8 MCU:

  • Create a new C Project
  • Select Hello World ARM Cortex-M C/C++ Project with Cross ARM GCC compiler and give the project a meaningful name.
  • Open the STM32L053R8 Datasheet and look for the asked parameters
    • Processor core: Cortex-M0+ Clock(Hz): 8000000 Flash size(kB): 64 RAM size(kB): 8
    • Use system calls: Freestanding Trace output: none
    • Click Next >
  • Change the Vendor CMSIS name to: stm32l0xx and click on Next >
  • Click on Next
  • Add the path to the previously installed toolchain
    • Toolchain name: GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc)
    • Toolchain path: C:/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin
    • Click on Finish
  • The generated project is a good starting point but still needs to be adapted to the STM specific requirements.