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++ ProjectwithCross ARM GCCcompiler and give the project a meaningful name. - Open the STM32L053R8 Datasheet and look for the asked parameters
- Processor core:
Cortex-M0+Clock(Hz):8000000Flash size(kB):64RAM size(kB):8 - Use system calls:
FreestandingTrace output:none - Click
Next >
- Processor core:
- Change the Vendor CMSIS name to:
stm32l0xxand click onNext > - 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
- Toolchain name:
- The generated project is a good starting point but still needs to be adapted to the STM specific requirements.