add DEVICE_ROM_DRIVER_ADDR macro in hal to point to rom driver add
add TUSB_ATTR_RAM_SECTION in tinyusb_config.h to abtract usb ram placement to application remove power_api.h (mcu dependency)
This commit is contained in:
@@ -55,6 +55,10 @@ void board_init(void)
|
||||
|
||||
SysTick_Config(CGU_GetPCLKFrequency(CGU_PERIPHERAL_M4CORE) / CFG_TICKS_PER_SECOND); // 1 msec tick timer
|
||||
|
||||
// USB Host Power Enable
|
||||
// USB0
|
||||
// TODO USB1
|
||||
|
||||
#if 0
|
||||
// Leds Init
|
||||
uint8_t i;
|
||||
@@ -89,7 +93,7 @@ void board_init(void)
|
||||
//--------------------------------------------------------------------+
|
||||
// LEDS
|
||||
//--------------------------------------------------------------------+
|
||||
void board_leds(uint32_t mask, uint32_t state) __attribute__ ((deprecated("not supported yet")));
|
||||
void board_leds(uint32_t mask, uint32_t state) __attribute__ ((warning("not supported yet")));
|
||||
void board_leds(uint32_t mask, uint32_t state)
|
||||
{
|
||||
#if 0
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
//-------------------------------------------------------------------- +
|
||||
// LPCXpresso printf redirection +
|
||||
//-------------------------------------------------------------------- +
|
||||
#if CFG_PRINTF_TARGET != PRINTF_TARGET_DEBUG_CONSOLE
|
||||
#if (defined __CODE_RED) && (CFG_PRINTF_TARGET != PRINTF_TARGET_DEBUG_CONSOLE)
|
||||
// Called by bottom level of printf routine within RedLib C library to write
|
||||
// a character. With the default semihosting stub, this would write the character
|
||||
// to the debugger console window . But this version writes
|
||||
|
||||
Reference in New Issue
Block a user