add project file for keil
fix binary.h compiler specific add hal_init code to reset & set usbmode --> able to get USB ISR remove const qualifier from return function of - get_operational_register - get_period_frame_list - get_async_head - get_period_head - get_control_qhd add stub for - hcd_port_connect_status - hcd_port_speed
This commit is contained in:
@@ -21,11 +21,12 @@ int main(void)
|
||||
board_init();
|
||||
tusb_init();
|
||||
|
||||
printf("reset\n");
|
||||
while (1)
|
||||
{
|
||||
if (current_tick + 1000 < system_ticks)
|
||||
if (current_tick + 30*1000 < system_ticks)
|
||||
{
|
||||
current_tick += 1000;
|
||||
current_tick += 30*1000;
|
||||
board_leds(0x01, (current_tick/1000)%2); /* Toggle LED once per second */
|
||||
|
||||
printf("tinyusb: " __DATE__ "\t" __TIME__ "\n");
|
||||
|
||||
Reference in New Issue
Block a user