5 years, 10 months ago.

Keil compiler error on project CMSIS-DAP example

compiling RTX_Config.c... ..\..\Common\src\RTX_Config.c(184): error: #5: cannot open source input file "RTX_lib.c": No such file or directory

  1. include <RTX_lib.c> ..\..\Common\src\RTX_Config.c: 0 warnings, 1 error assembling SVC_Table.s... compiling usb_config.c... ..\..\..\shared\USBStack\INC\usb_lib.c(18): error: #5: cannot open source input file "..\..\RL\USB\INC\usb.h": No such file or directory
  2. include <..\..\RL\USB\INC\usb.h> ..\..\Common\src\usb_config.c: 0 warnings, 1 error compiling usbd_user_msc.c... compiling version.c... compiling flash.c... compiling gpio.c... compiling read_uid.c... compiling usbd_MK20D5.c... compiling vector_table.c... compiling FlashEraseAllBlock.c... compiling FlashEraseSector.c... compiling FlashInit.c... compiling FlashProgramLongword.c... compiling FlashCommandSequence.c... compiling usbd_core.c... compiling usbd_core_msc.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... ".\Obj\k20dx128_bootloader.axf" - 2 Error(s), 0 Warning(s). Target not created

1 Answer

5 years, 10 months ago.

Hello Sacchetti Giampaolo,

I believe you need legacy files for uvision 5, can you download them from this link and report back if that fixes your problem? Link http://www2.keil.com/mdk5/legacy

Regards,
0xc0170

Accepted Answer

thanks very much I have fixed the problems, best regards

posted by Sacchetti Giampaolo 20 Mar 2014