d6fab307bf
* Add flash driver and init in boards. * Add timeout for all poll wait apis * Add 808 d0 startup to bringup * Update lhal device tables * Update demos
18 lines
249 B
C
18 lines
249 B
C
#include "bflb_mtimer.h"
|
|
#include "board.h"
|
|
|
|
void systick_isr()
|
|
{
|
|
static uint32_t tick = 0;
|
|
tick++;
|
|
printf("tick:%d\r\n", tick);
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
board_init();
|
|
bflb_mtimer_config(1000000, systick_isr);
|
|
while (1) {
|
|
}
|
|
}
|