summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal_lpc11uxx.h3
-rw-r--r--tinyusb/hal/hal_lpc13uxx.h3
-rw-r--r--tinyusb/hal/hal_lpc43xx.h3
3 files changed, 9 insertions, 0 deletions
diff --git a/tinyusb/hal/hal_lpc11uxx.h b/tinyusb/hal/hal_lpc11uxx.h
index 77d03e3fb..e4841af3c 100644
--- a/tinyusb/hal/hal_lpc11uxx.h
+++ b/tinyusb/hal/hal_lpc11uxx.h
@@ -54,6 +54,9 @@
#include "LPC11Uxx.h"
+#define NXP_ROMDRIVER_REG_BASE LPC_USB_BASE
+#define NXP_ROMDRIVER_FUNCTION_ADDR 0x1FFF1FF8
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/tinyusb/hal/hal_lpc13uxx.h b/tinyusb/hal/hal_lpc13uxx.h
index 259f9de11..86d8d87a7 100644
--- a/tinyusb/hal/hal_lpc13uxx.h
+++ b/tinyusb/hal/hal_lpc13uxx.h
@@ -54,6 +54,9 @@
#include "LPC13Uxx.h"
+#define NXP_ROMDRIVER_REG_BASE LPC_USB_BASE
+#define NXP_ROMDRIVER_FUNCTION_ADDR 0x1FFF1FF8
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/tinyusb/hal/hal_lpc43xx.h b/tinyusb/hal/hal_lpc43xx.h
index 77a0332de..5cb2bbbbe 100644
--- a/tinyusb/hal/hal_lpc43xx.h
+++ b/tinyusb/hal/hal_lpc43xx.h
@@ -54,6 +54,9 @@
#include "LPC43xx.h"
+#define NXP_ROMDRIVER_REG_BASE LPC_USB0_BASE // TODO USB1
+#define NXP_ROMDRIVER_FUNCTION_ADDR 0x1040011C
+
#ifdef __cplusplus
extern "C" {
#endif