Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago.
Mbed program in keil giving errors
I exported MSCUsbHost from mbed to keil but in keil after compiling it is giving following error ".\build\MSCUsbHost.axf: error: L6050U: The code size of this image (34656 bytes) exceeds the maximum allowed for this version of the linker." Please tell me how to solve waiting for reply thanking you
2 Answers
8 years, 9 months ago.
Buy the full version of Keil. The free version has a limit of 32kB, your program is larger than this, so it refuses to compile.
8 years, 9 months ago.
If you can change your target board to ST with a STMF0 / STML0 CPU then ST is providing a free Keil compiler license which is not code limited:
http://www2.keil.com/stmicroelectronics-stm32/mdk
There are many STMF0 boards which are MBED enabled - search for Nucleo series. Also possible to reflash the Discovery STMF0 series with the compiled binaries.