Skip to content

Commit

Permalink
Updating usage of PMIC startup code
Browse files Browse the repository at this point in the history
Signed-off-by Jared Wolff <[email protected]>
  • Loading branch information
jaredwolff committed Aug 29, 2024
1 parent 4f60f41 commit 7c4d436
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion boards/circuitdojo/feather_nrf9161/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# SPDX-License-Identifier: Apache-2.0

zephyr_library()
zephyr_library_sources_ifdef(CONFIG_BOARD_CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP startup.c)
zephyr_library_sources_ifdef(CONFIG_CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP startup.c)

set(PM_STATIC_YML_FILE ${CMAKE_CURRENT_LIST_DIR}/circuitdojo_feather_nrf9161_pm_static.yml CACHE INTERNAL "")
2 changes: 2 additions & 0 deletions boards/circuitdojo/feather_nrf9161/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP
bool "Allows for executing startup code for PMIC."
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_CIRCUITDOJO_FEATHER_NRF9161
select SOC_NRF9161_LACA

config BOARD_CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP
default y
bool
select SOC_NRF9161_LACA
3 changes: 2 additions & 1 deletion samples/at_client/boards/circuitdojo_feather_nrf9161_ns.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ CONFIG_SPI_NOR=y

# PMIC
CONFIG_MFD=y
CONFIG_MFD_NPM1300=y
CONFIG_MFD_NPM1300=y
CONFIG_CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP=y
4 changes: 4 additions & 0 deletions samples/https/boards/circuitdojo_feather_nrf9161_ns.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# PMIC
CONFIG_MFD=y
CONFIG_MFD_NPM1300=y
CONFIG_CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP=y

0 comments on commit 7c4d436

Please sign in to comment.