mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-13 00:08:33 +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
|
@ -1,17 +1,26 @@
|
|||
#include "bflb_mtimer.h"
|
||||
#include "board.h"
|
||||
|
||||
#define DBG_TAG "MAIN"
|
||||
#include "log.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
board_init();
|
||||
|
||||
while (1) {
|
||||
LOG_F("hello world\r\n");
|
||||
LOG_E("hello world\r\n");
|
||||
LOG_W("hello world\r\n");
|
||||
LOG_I("hello world\r\n");
|
||||
LOG_D("hello world\r\n");
|
||||
LOG_T("hello world\r\n");
|
||||
LOG_F("hello world fatal\r\n");
|
||||
LOG_E("hello world error\r\n");
|
||||
LOG_W("hello world warning\r\n");
|
||||
LOG_I("hello world information\r\n");
|
||||
LOG_D("hello world debug\r\n");
|
||||
LOG_T("hello world trace\r\n");
|
||||
LOG_RF("hello world fatal raw\r\n");
|
||||
LOG_RE("hello world error raw\r\n");
|
||||
LOG_RW("hello world warning raw\r\n");
|
||||
LOG_RI("hello world information raw\r\n");
|
||||
LOG_RD("hello world debug raw\r\n");
|
||||
LOG_RT("hello world trace raw\r\n");
|
||||
bflb_mtimer_delay_ms(1000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue