diff options
| author | hathach <[email protected]> | 2013-01-18 11:49:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-18 11:49:51 +0700 |
| commit | 25f6cee73ba1a8a1f75456a352bcb864fcad92b7 (patch) | |
| tree | d09b67b57b55c9c35ff6ef9822f35d215b347c16 /tinyusb/device/dcd.h | |
| parent | c16632da0bf8d042388018c667cfbc176ed56436 (diff) | |
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)
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 65eb80da4..89eb3fef4 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -58,9 +58,8 @@ #include "common/common.h" #ifdef DEVICE_ROMDRIVER -#include "romdriver/mw_usbd_rom_api.h" -#include "romdriver/power_api.h" -#define USBD_API ((*(ROM **)(0x1FFF1FF8))->pUSBD) // TODO HAL + #include "romdriver/mw_usbd_rom_api.h" + #define USBD_API ((USBD_API_T*) DEVICE_ROM_DRIVER_ADDR) #endif |
