summaryrefslogtreecommitdiff
path: root/ports/nrf/nrfx_config.h
diff options
context:
space:
mode:
authorhathach <thach@tinyusb.org>2018-07-04 16:40:53 +0700
committerhathach <thach@tinyusb.org>2018-07-04 16:40:53 +0700
commit7fff7f5e70c652ccffce2a598a4e3b7df92ad67b (patch)
tree0eeda14d9fc14a0f4ccfa15ec38ae4d3b92d6b61 /ports/nrf/nrfx_config.h
parenta73effa5b676fc5e7e37b23c02a5a90ae7259229 (diff)
add usb msc support for nrf52840
Diffstat (limited to 'ports/nrf/nrfx_config.h')
-rw-r--r--ports/nrf/nrfx_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/nrf/nrfx_config.h b/ports/nrf/nrfx_config.h
index 818931236..a30fb343f 100644
--- a/ports/nrf/nrfx_config.h
+++ b/ports/nrf/nrfx_config.h
@@ -21,4 +21,7 @@
#define NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY NRF_TWIM_FREQ_400K
#define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
+#define NRFX_POWER_ENABLED 1
+#define NRFX_POWER_CONFIG_IRQ_PRIORITY 7
+
#endif