Some files for KEIL not updated in new version Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

Some files for KEIL not updated in new version  Topic is solved

Postby alexblack » Thu Aug 06, 2020 2:21 pm

Hi.
In current trunk and Stable 3.20.x the file "..\os\common\ports\ARMCMx\compilers\RVCT\chcoreasm_v7m.schcoreasm.s" was not updated:

Code: Select all

linking...
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol __port_switch (referred from chschd.o).
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol __main_thread_stack_end__ (referred from chsys.o).
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol __port_thread_start (referred from chthreads.o).
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol __port_exit_from_isr (referred from chcore_v7m.o).
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol __port_switch_from_isr (referred from chcore_v7m.o).
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol _dbg_check_lock (referred from chcoreasm_v7m.o).
.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol _dbg_check_unlock (referred from chcoreasm_v7m.o).

The reason of this erros is that the in the new version this functions names was changed but not updated on asm file for RCVT compiller.

Also there is no definition of the following macro in file "..\lib\ChibiOS\os\common\startup\ARMCMx\compilers\RVCT\sturtup.s"

Code: Select all

.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol __main_thread_stack_end__ (referred from chsys.o).


The last error:

Code: Select all

.\Debug\ak5701\debug.axf: Error: L6218E: Undefined symbol chSchDoReschedule (referred from chcoreasm_v7m.o).

It seems the fuction chSchDoReschedule was renamed, but I can't found right new name for it.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Some files for KEIL not updated in new version

Postby Giovanni » Thu Aug 06, 2020 2:33 pm

Thanks, I will update it.

The new name is chSchDoPreemption(), you may look at the GCC one in case of doubt.

Giovanni

alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

Re: Some files for KEIL not updated in new version

Postby alexblack » Thu Aug 06, 2020 2:58 pm

I found. All changes works.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Some files for KEIL not updated in new version

Postby Giovanni » Sat Feb 13, 2021 10:29 am

bump


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests