summaryrefslogtreecommitdiff
path: root/tinyusb/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-29 14:39:14 +0700
committerhathach <[email protected]>2013-05-29 14:39:14 +0700
commitdda0808ebb5ca8cba6c9440c61bb5205b0a62b08 (patch)
treebb270d96b6e7345bd0506e1c432412414ed67271 /tinyusb/device/dcd.h
parent1e5bd82af28c6005fa0ecf008e44322a6ee46461 (diff)
fix lpcxpresso1347 board_leds
temp change USBD_API to ROM_API add lpc13xx device support fix romdriver pointer able to init rom driver
Diffstat (limited to 'tinyusb/device/dcd.h')
-rw-r--r--tinyusb/device/dcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h
index be139b713..c4b98d990 100644
--- a/tinyusb/device/dcd.h
+++ b/tinyusb/device/dcd.h
@@ -56,6 +56,9 @@
#endif
#include "common/common.h"
+#include "dcd_nxp_romdriver.h"
+
+#define ROM_API ( * (*((USBD_API_T***) 0x1FFF1FF8)) ) // TODO remove rom API dependency
tusb_error_t dcd_init(void) ATTR_WARN_UNUSED_RESULT;
tusb_error_t dcd_controller_reset(uint8_t coreid) ATTR_WARN_UNUSED_RESULT;