clean up bsp, adde board_millis()

This commit is contained in:
hathach
2019-03-23 22:31:07 +07:00
parent d866999bf0
commit 29e075b8b9
14 changed files with 40 additions and 65 deletions
+1 -7
View File
@@ -24,14 +24,10 @@
* This file is part of the TinyUSB stack.
*/
#ifdef BOARD_EA4357
#include "chip.h"
#include "../board.h"
#include "pca9532.h"
#include "tusb_option.h"
#define BOARD_UART_PORT LPC_USART0
#define BOARD_UART_PIN_PORT 0x0f
#define BOARD_UART_PIN_TX 10 // PF.10 : UART0_TXD
@@ -74,7 +70,7 @@ uint32_t tusb_hal_millis(void)
return board_tick2ms(system_ticks);
}
uint32_t board_noos_millis(void)
uint32_t board_millis(void)
{
return system_ticks;
}
@@ -305,5 +301,3 @@ int board_uart_write(void const * buf, int len)
(void) len;
return 0;
}
#endif