Nordic nrfx usb driver integration
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <lk/debug.h>
|
||||
#include <target.h>
|
||||
#include <lk/compiler.h>
|
||||
#include <nrfx_usbd.h>
|
||||
#include <dev/gpio.h>
|
||||
#include <platform/gpio.h>
|
||||
#include <platform/nrf52.h>
|
||||
@@ -29,7 +30,15 @@ void target_early_init(void) {
|
||||
}
|
||||
|
||||
|
||||
static void target_usb_init(void) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
void target_init(void) {
|
||||
nrf52_debug_init();
|
||||
dprintf(SPEW,"Target: PCA10056 DK...\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,9 @@ PLATFORM := nrf52xxx
|
||||
|
||||
GLOBAL_DEFINES += \
|
||||
ENABLE_UART0=1 \
|
||||
|
||||
NRFX_USBD_ENABLED=1 \
|
||||
NRF52840_XXAA \
|
||||
|
||||
|
||||
MODULE_SRCS += \
|
||||
$(LOCAL_DIR)/init.c
|
||||
|
||||
Reference in New Issue
Block a user