# KiteOS **Repository Path**: breyun/KiteOS ## Basic Information - **Project Name**: KiteOS - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-15 - **Last Updated**: 2023-11-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # KiteOS lite os, micro os for arm CM0~CM3 examples ``` #include #include "stdio.h" #include "NVIC.h" #include "string.h" #include "KiteLib.h" #include "Uart.h" #include "Config.h" DWORD AppStatusStack[256]; #define LED_LAMP (1 << 0) void AppStatus(void) { LPC_GPIO2->FIODIR |= (LED_LAMP); while (1) { OsWaitDelay(OS_TICKS_PER_SEC); LPC_GPIO2->FIOPIN ^= LED_LAMP; } } void AppEntry(void) { // GpioConfig(); UartInit(); // printf("System running.\r\n"); OsCreateTask(AppStatus, AppStatusStack + 256, 4); while (1) { OsWaitDelay(OS_TICKS_PER_SEC); } }