Skip to content

Commit

Permalink
Tweaks to board def
Browse files Browse the repository at this point in the history
1. Removed TFM_SECURE entries in defconfig
2. Startup code only runs in app

Signed-off-by Jared Wolff <[email protected]>
  • Loading branch information
jaredwolff committed Aug 31, 2024
1 parent 4f60f41 commit a499cb9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 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 "")
5 changes: 5 additions & 0 deletions boards/circuitdojo/feather_nrf9161/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if !MCUBOOT
config CIRCUITDOJO_FEATHER_NRF9161_PMIC_STARTUP
bool "Allows for executing startup code for PMIC."
default y
endif
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,5 @@ CONFIG_UART_CONSOLE=y
# Enable pincontrol
CONFIG_PINCTRL=y

# Fixes for I2C
CONFIG_TFM_SECURE_UART=n
CONFIG_TFM_LOG_LEVEL_SILENCE=y

# Disable entropy driver, as it's not yet implemented
CONFIG_ENTROPY_NRF5_RNG=n

0 comments on commit a499cb9

Please sign in to comment.