Skip to main content
KSağc.1
Associate
March 19, 2020
Question

error: L6236E: No section matches selector - no section to be FIRST/LAST.

  • March 19, 2020
  • 3 replies
  • 4896 views

Hi,

after the formatting my laptop, i set up MDK529 keil and stm32cubemx 5.6.0 in the same time.

i have stm32103c8 development board. I configured on stm32cubemx and i opened with mdk uvision. when i compile configured program, i saw this error " error: L6236E: No section matches selector - no section to be FIRST/LAST."

what can i do get rid of this error???

pls help me...

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
March 19, 2020

Keil

My guess would be that you might be lacking startup_stm32f1xx.s type file with vectors in it.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
KSağc.1
KSağc.1Author
Associate
March 21, 2020

Thank you for replying clive1.

does cubemx programming set up own startup_stm32f103xb.s in uvision ide ?

i set up startup_stm32f103xb file but i encounter different errors...

Khouloud ZEMMELI
ST Employee
March 24, 2020

​Hello @Kemal Sağcan​ 

Not reproduced on my side, please try to :

Open CubeMX 5.6.0

Load your ioc shared

Generate Keil project (download the latest keil F1 pack ) then build

=> You will get no error

Best Regards,

Khouloud