This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F103 startup code using only c

STM32F103 startup code using only c

I want to know startup code only c code.

I am remove device-startup and

only main() function implemented and build.

but build out = error.

Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'.

Error: L6218E: Undefined symbol __main (referred from anon$$obj.o).

Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.

please help me.

I want answer or example startup code.

  • Have you looked at the plethora of examples available on the Internet for the GCC package?

    You might be capable of adapting one to use the KEIL/ARM compiler. But if you ask the question, I doubt you are :(