[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
This commit is contained in:
jzlv 2023-01-17 20:54:15 +08:00
parent 89592fc9a3
commit 356f258e83
554 changed files with 79150 additions and 46596 deletions

View file

@ -0,0 +1,27 @@
#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) {
}
}