9 years, 11 months ago.

Interface compiler error with Keil v5, Undefined symbol serial_mailbox

Rebuild target 'k20dx128_kl25z_if' compiling system_MK20D5.c... assembling startup_MK20D5.s... compiling DAP.c... compiling dap_vendor_command.c... compiling main.c... compiling RTX_Config.c... compiling semihost.c... assembling SVC_Table.s... compiling SW_DP.c... compiling swd_host.c... compiling usb_config.c... compiling usbd_user_cdc_acm.c... compiling usbd_user_hid.c... compiling usbd_user_msc.c... compiling version.c... compiling board.c... compiling serial.c... compiling gpio.c... compiling read_uid.c... compiling uart.c... compiling usbd_MK20D5.c... compiling target_reset_Lseries.c... compiling usbd_cdc_acm.c... compiling usbd_core.c... compiling usbd_core_cdc.c... compiling usbd_core_hid.c... compiling usbd_core_msc.c... compiling usbd_hid.c... compiling usbd_msc.c... compiling HAL_CM3.c... compiling rt_Event.c... compiling rt_List.c... compiling rt_Mailbox.c... compiling rt_MemBox.c... compiling rt_Mutex.c... compiling rt_Robin.c... compiling rt_Semaphore.c... compiling rt_System.c... compiling rt_Task.c... compiling rt_Time.c... compiling rt_Timer.c... linking... .\Obj\k20dx_kl25z_if\k20dx_kl25z_if.axf: Error: L6218E: Undefined symbol serial_mailbox (referred from serial.o). Not enough information to list image symbols. Finished: 1 information, 0 warning and 1 error messages. ".\Obj\k20dx_kl25z_if\k20dx_kl25z_if.axf" - 1 Error(s), 0 Warning(s). Target not created /media/uploads/sgbio/interface.rar

how to fixed it ?? thanks best regards

Hi, I don't receive any errors on the latest cmsis dap.. Please update master branch and try again.

posted by Martin Kojtal 28 May 2014

1 Answer

9 years, 11 months ago.

We are currently using Keil 4.7x for CMSIS-DAP. I suggest you revert for the time being.