I require to build an assembly project in the STM32VLDISCOVERY board either using Keil's startup file (startup_stm32f10x_md_vl.s) or no startup file at all. The project must have either absolute (preferably) or relocatable assembly code, and if possible, the initial configuration should be apart from the main program. Unfortunately, there has been no success until now.
The following has been done:
1. Each of the codes in the following links has been copied and pasted into a new file in an empty project:
The result is that the compiler throws the following warning: .\TEST0.sct(8): warning: L6314W: No section matches pattern *(InRoot$$Sections).
2. Trying to get rid of that warning, I made a "mix" of those codes, Keil's startup file (startup_stm32f10x_md_vl) and this video: http://www.youtube.com/watch?v=Oy_cA1d6TqE in the main.s file.
The result is that it still throws the same warning.
3. After that, the startup file was included in the project along with the main.s file.
The result is the following:
.\TEST0.axf: Warning: L6665W: Neither Lib$$Request$$armlib Lib$$Request$$cpplib defined, not searching ARM libraries.
.\TEST0.sct(7): error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
The project after step 3 is attached. I would greatly appreciate if someone could help. Thanks a lot for your time.