mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-20 03:38:59 +00:00
[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:
parent
89592fc9a3
commit
356f258e83
554 changed files with 79150 additions and 46596 deletions
|
@ -5,14 +5,6 @@
|
|||
#include "semphr.h"
|
||||
#include "board.h"
|
||||
|
||||
static uint8_t freertos_heap[configTOTAL_HEAP_SIZE];
|
||||
|
||||
static HeapRegion_t xHeapRegions[] = {
|
||||
{ (uint8_t *)freertos_heap, 0 },
|
||||
{ NULL, 0 }, /* Terminates the array. */
|
||||
{ NULL, 0 } /* Terminates the array. */
|
||||
};
|
||||
|
||||
static struct bflb_device_s *uart0;
|
||||
|
||||
extern void shell_init_with_task(struct bflb_device_s *shell);
|
||||
|
@ -20,8 +12,6 @@ extern void shell_init_with_task(struct bflb_device_s *shell);
|
|||
int main(void)
|
||||
{
|
||||
board_init();
|
||||
xHeapRegions[0].xSizeInBytes = configTOTAL_HEAP_SIZE;
|
||||
vPortDefineHeapRegions(xHeapRegions);
|
||||
|
||||
configASSERT((configMAX_PRIORITIES > 4));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue