I try to load this application to my Primer2 and get following message: =================================== Linking file Application.o... Link Failed (file: 'ap.o')ap.o: In function `Application_Ini': C:\Dev\ESM\starterapp\Exe/Application.c:69: undefined reference to `USB_Istr' C:\Dev\ESM\starterapp\Exe/Application.c:69: undefined reference to `USB_Istr' C:\Dev\ESM\starterapp\Exe/Application.c:72: undefined reference to `Set_System' C:\Dev\ESM\starterapp\Exe/Application.c:73: undefined reference to `USB_Interrup ts_Config' C:\Dev\ESM\starterapp\Exe/Application.c:74: undefined reference to `Set_USBClock ' C:\Dev\ESM\starterapp\Exe/Application.c:75: undefined reference to `USB_Init' ap.o: In function `Application_Handler': C:\Dev\ESM\starterapp\Exe/Application.c:98: undefined reference to `printusb' C:\Dev\ESM\starterapp\Exe/Application.c:101: undefined reference to `printusb' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c.text+0x12): undefined reference to `_sbrk' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-writer.o): In function `_write_r':
writer.c.text+0x16): undefined reference to `_write' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-closer.o): In function `_close_r':
closer.c.text+0x12): undefined reference to `_close' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-fstatr.o): In function `_fstat_r':
fstatr.c.text+0x14): undefined reference to `_fstat' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-isattyr.o): In function `_isatty_r ': isattyr.c.text+0x12): undefined reference to `_isatty' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-lseekr.o): In function `_lseek_r':
lseekr.c.text+0x16): undefined reference to `_lseek' c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../. ./../../arm-none-eabi/lib/thumb2\libc.a(lib_a-readr.o): In function `_read_r': readr.c.text+0x16): undefined reference to `_read' collect2: ld returned 1 exit status
It seems that this project can running only under Ride7, but cannot be loaded by Circle_Mgr, that can only link one file (.o or .lib) with CircleOS, and not 2 files (application.o + starterapp.lib, in this case).