Abstract:The paper analyses the kernel architecture of embedded real-time osμC/OS-Ⅱ and researches the architecture of STM32 based on CoreTex-M3 kernel.The engineer of LED flashing interval is designed to complete on the STM32 platform which ported the source ofμC/OS-Ⅱ. The feasibility of this method is verified by experiment. MeanwhileμC/OS-Ⅱ in dealing with strong real-time performance, multitasking system necessity and advantage is displayed. This application not only provides the basis for design of complex task, but also of practical and guiding significance to the secondary development of the software.