summaryrefslogtreecommitdiff
path: root/hw/mcu
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-11-11 00:01:12 +0700
committerhathach <[email protected]>2019-11-11 00:01:12 +0700
commit4008f0d1e66dff6bb42a0fb0c682bf4bfe8e6c4a (patch)
tree0828f27fee7554717393ada4f99f471bd205db05 /hw/mcu
parent2f19b9c100f4131d82e0e32ed78191188032a088 (diff)
update dcd nrf5x to be indepent from nrf_usbd.h
fix build error with nrfx 2.0
Diffstat (limited to 'hw/mcu')
-rw-r--r--hw/mcu/nordic/nrfx_config.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/hw/mcu/nordic/nrfx_config.h b/hw/mcu/nordic/nrfx_config.h
index 8f9aeffe5..6a974ba70 100644
--- a/hw/mcu/nordic/nrfx_config.h
+++ b/hw/mcu/nordic/nrfx_config.h
@@ -1,10 +1,18 @@
#ifndef NRFX_CONFIG_H__
#define NRFX_CONFIG_H__
-#define NRFX_POWER_ENABLED 1
-#define NRFX_POWER_CONFIG_IRQ_PRIORITY 7
+#define NRFX_POWER_ENABLED 1
+#define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7
+
+#define NRFX_CLOCK_ENABLED 0
#define NRFX_UARTE_ENABLED 1
#define NRFX_UARTE0_ENABLED 1
+#define NRFX_UARTE1_ENABLED 0
+#define NRFX_UARTE2_ENABLED 0
+#define NRFX_UARTE3_ENABLED 0
+
+#define NRFX_PRS_ENABLED 0
+
#endif // NRFX_CONFIG_H__