评价版的RealView MDK确实有很多限制的,比如映像大小限制: -Programs that generate more than 32 Kbytes of code and data will not compile, assemble, or link. -The debugger supports programs that are 32 Kbytes or smaller. 映像位置限制: The base address for the code and constants in memory must be 0x000080000, 0x000100000, 0x000200000, 0x000300000, 0x000400000, 0x010400000, 0xXX000000, or 0xXX800000 (where XX is a Hexadecimal number from 00-FF). When the base address is 0x0 the linker places the code at the start of on-chip Flash of most ARM processor-based microcontrollers. 详见: http://www.keil.com/demo/limits.asp 另外, µC/OS-II在LPC2300上的移植可以参考NXP官方推荐的: http://www.micrium.com/nxp/LPC23xx.html