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:
hathach
2013-01-18 11:49:51 +07:00
parent c16632da0b
commit 25f6cee73b
13 changed files with 45 additions and 111 deletions

View File

@@ -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