Skip to content

Commit

Permalink
Fixes for Blinky on nRF9151
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwolff committed Nov 23, 2024
1 parent a43964a commit 4effe06
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/blinky/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)

cmake_minimum_required(VERSION 3.21)


find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
Expand All @@ -10,7 +9,7 @@ project(blinky)
# If board is nRF9160 add the source files
if (CONFIG_BOARD_CIRCUITDOJO_FEATHER_NRF9160)
target_sources(app PRIVATE ${ZEPHYR_BASE}/samples/basic/blinky/src/main.c)
elseif(CONFIG_BOARD_CIRCUITDOJO_FEATHER_NRF9161)
elseif(CONFIG_BOARD_CIRCUITDOJO_FEATHER_NRF9161 OR CONFIG_BOARD_CIRCUITDOJO_FEATHER_NRF9151)
target_sources(app PRIVATE src/main.c)
else()
message(FATAL_ERROR "Unsupported board")
Expand Down
13 changes: 13 additions & 0 deletions samples/blinky/boards/circuitdojo_feather_nrf9151_ns.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
&i2c2 {
npm1300_pmic: pmic@6b {
compatible = "nordic,npm1300";
reg = <0x6b>;

npm1300_leds: leds {
compatible = "nordic,npm1300-led";
nordic,led0-mode = "host";
nordic,led1-mode = "host";
nordic,led2-mode = "host";
};
};
};

0 comments on commit 4effe06

Please sign in to comment.