This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/posix/freertos/main.c
jzlv 356f258e83 [sync] sync from internal repo
* use nuttx libc, disable system libc
* use tlsf as default
* update lhal flash driver
* add example readme
* add flash ini for new flash tool
* add fw header for new flash tool
2023-01-17 21:04:07 +08:00

28 lines
478 B
C

#include <FreeRTOS.h>
#include "semphr.h"
#include "board.h"
static void proc_hellow_entry(void *pvParameters)
{
extern int mqueues_test(void);
mqueues_test();
extern int semaphores_test(void);
semaphores_test();
vTaskDelete(NULL);
}
int main(void)
{
board_init();
puts("[OS] Starting proc_hellow_entry task...\r\n");
xTaskCreate(proc_hellow_entry, (char*)"hellow", 2048, NULL, 6, NULL);
vTaskStartScheduler();
while (1) {
}
}