Keil Logo

Compile Error

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Author
emre iris
Posted
4-Oct-2018 22:00 GMT
Toolset
ARM
New! Compile Error

Hi,
I am using STM32F407VG with Stmcubemx and Keil V5. Whenever I generate a code it gives me error like The Code generated successfully but MDK-ARM V5 have a problem the project can be opened but when I compile it it gives me error like Led_Yakma\Led_Yakma.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.
How can I fix this permanently??
thank you in advance

Author
Andrew Neil
Posted
4-Oct-2018 23:06 GMT
Toolset
ARM
New! RE: Compile Error

Note that's a Linker error - not a Compile error.

A good first step is to put that message into google ...

Author
emre iris
Posted
7-Oct-2018 12:03 GMT
Toolset
ARM
New! RE: Compile Error

I already did but in forums they say that project should have startup file.I double-check if files exist this problem occuring when I use Cubemx should I change the settings of Keil?

Author
Andrew Neil
Posted
8-Oct-2018 10:26 GMT
Toolset
ARM
New! RE: Compile Error

"I already did"

You didn't mention that - so nobody knows that you did.
Or, more importantly, what you found & what actions you took as a result.

"but in forums they say"

What forums?
Give links so that we can see exactly what they said, and in context.

"project should have startup file"

Yes, it should.

"I double-check if files exist"

So did they?

"I use Cubemx "

That's an ST thing - nothing to do with Keil

"should I change the settings of Keil?"

What does the documentation say?

You need to be asking ST for support with their tools.

Do they not have examples of using CubeMX with Keil?

Author
emre iris
Posted
8-Oct-2018 14:36 GMT
Toolset
ARM
New! RE: Compile Error

What I meanth by I already did was to explain the suggestions on forums(all) was not solved the problem. Here is a Keil forum but in my humble opinion , Keil developers should know Stmcubemx provides HAL libraries to be used with Keil , I need to understand before read documents so might you help me about the problem?

Author
Andrew Neil
Posted
8-Oct-2018 16:01 GMT
Toolset
None
New! RE: Keil developers should know Stmcubemx

No - it's the other way around.

CubeMX is an ST tool; if they claim that it generates Projects suitable for Keil's (or any other 3rd party's) tools, then it is up to them to make it so.

Do ST claim that CubeMX can create complete projects which can be opened with uVision?
Or do they give steps necessary to move from Cube to uVision?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.