Create an assembly project
Hi,
For education purpose, I'm trying to create, compile, load and debug assembly projects with STM32Cube. Unfortunately, there are no built in options to do it. I noticed that I can erase on an existing project the main.c and create a main.s instead. It works, but I'd prefer to create an assembly project from scratch. Here are my questions :
- Even with this solution, I cannot access the external variables (.extern) RCC_BASE, GPIOA_BASE, etc... defined in stm32f446xx.h in order to program easily the registers.
- Is there a proper way to create an empty assembly project ?
- I also created a project with Makefile that I imported. I can compile, but in order to load or debug, i don't know how to set a correct configuration. A solution is to import that configuration from a C STM32 project, but that's no satisfying : it works, but I still have error pop ups all the time (Not able to get MCU/Board target).
Thank you if you have answers to my questions !