Browse Source

Incorporate comments - Change config name to nrfmicro specific

xmkb
Mega Mind 4 years ago
parent
commit
bc023baa7d
  1. 2
      app/boards/arm/nrfmicro/Kconfig
  2. 2
      app/boards/arm/nrfmicro/Kconfig.defconfig
  3. 2
      app/boards/arm/nrfmicro/pinmux.c

2
app/boards/arm/nrfmicro/Kconfig

@ -4,7 +4,7 @@ config BOARD_ENABLE_DCDC @@ -4,7 +4,7 @@ config BOARD_ENABLE_DCDC
default y
depends on (BOARD_NRFMICRO_11 || BOARD_NRFMICRO_11_FLIPPED || BOARD_NRFMICRO_13)
config BOARD_ENABLE_CHARGER
config BOARD_NRFMICRO_CHARGER
bool "Enable battery charger"
default y
depends on (BOARD_NRFMICRO_13)

2
app/boards/arm/nrfmicro/Kconfig.defconfig

@ -32,7 +32,7 @@ config PINMUX @@ -32,7 +32,7 @@ config PINMUX
if BOARD_NRFMICRO_13
config BOARD_ENABLE_CHARGER
config BOARD_NRFMICRO_CHARGER
default y
endif # BOARD_NRFMICRO_13

2
app/boards/arm/nrfmicro/pinmux.c

@ -23,7 +23,7 @@ static int pinmux_nrfmicro_init(struct device *port) @@ -23,7 +23,7 @@ static int pinmux_nrfmicro_init(struct device *port)
gpio_pin_configure(p1, 9, GPIO_OUTPUT);
gpio_pin_set(p1, 9, 0);
#if CONFIG_BOARD_ENABLE_CHARGER
#if CONFIG_BOARD_NRFMICRO_CHARGER
gpio_pin_configure(p0, 5, GPIO_OUTPUT);
gpio_pin_set(p0, 5, 0);
#else

Loading…
Cancel
Save