Question
Build issues with startup_stm32f10x_ld_vl.s
Posted on May 22, 2012 at 20:34
I'm trying to build a project using startup_stm32f10x_ld_vl.s and I am getting the following errors and warnings:
Error[40]:Bad instruction Warning[410]:DC or DS directive while in CODE area Can someone help me with why there would be warnings with the stock assembler file? The errors and warnings are on the following lines... AREA HEAP, NOINIT, READWRITE, ALIGN=3 _Vectors DCD __initial_sp ; Top of Stack DCD Reset_Handler ; Reset Handler DCD NMI_Handler ; NMI Handler DCD HardFault_Handler ; Hard Fault Handler Edit: What I am trying to do is create a ''skeleton'' project for my part. So, I started with a Discovery Sample file which used an app specific .c file with the vector table in it and I wanted to switch over to using the .s file that comes with the CMSIS library. But, just adding the .s file isn't enough. What am I missing?