add ASSERT POINTER support
add hid host and separate hid host & device update host project setting with EA4357 board add para checking test for hid host
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "boards/board.h"
|
||||
#include "tusb.h"
|
||||
|
||||
@@ -15,15 +19,18 @@ int main(void)
|
||||
uint32_t current_tick = system_ticks;
|
||||
|
||||
board_init();
|
||||
tusb_init(0);
|
||||
tusb_init();
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (current_tick + 1000 < system_ticks)
|
||||
{
|
||||
current_tick += 1000;
|
||||
board_leds(0x03, (current_tick/1000)%2); /* Toggle LED once per second */
|
||||
printf("hello world");
|
||||
board_leds(0x01, (current_tick/1000)%2); /* Toggle LED once per second */
|
||||
|
||||
printf("tinyusb: " __DATE__ "\t" __TIME__ "\n");
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user