'Can you debug assembly files that need to run through the C preprocessor in cortex debug vscode extension?
I am currently coding up a project using the STM32f407G. The code is written in assembly, and I find it tedious to scroll through the vector table definitions each time I want to change something at the top of the file.
What i want to do
I want to include the vector table definitions with the #include C directive. To do this gcc requires me to rename the file from .s (lower-case) to .S (upper-case).
Compiling and running the code this way seems to work, but debugging with cortex-debug in vscode doesn't.
Does anybody know if it is possible to debug this kind of assembly and if yes, how?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
