[nrf][pca10040] fix platform incompatibilities
When the nrf52xxx platform was changed to use the Nordic nrfx libraries the pca10040 target was broken due to differences in how the platform handled initialization.
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
#ifndef __TARGET_GPIOCONFIG_H
|
||||
#define __TARGET_GPIOCONFIG_H
|
||||
|
||||
#include <platform/gpio.h>
|
||||
|
||||
#define GPIO_LED1 17
|
||||
#define GPIO_LED2 18
|
||||
#define GPIO_LED3 19
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
#include <target.h>
|
||||
#include <lk/compiler.h>
|
||||
#include <dev/gpio.h>
|
||||
#include <platform/gpio.h>
|
||||
#include <platform/nrf52.h>
|
||||
#include <platform/init.h>
|
||||
#include <target/gpioconfig.h>
|
||||
|
||||
void target_early_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user