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.