Skip to content

Commit

Permalink
soc: nordic_nrf: MPU temperature sensor default
Browse files Browse the repository at this point in the history
Consistency: nrf51 & 52 SOC set temp sensor as default if SENSOR=y

Signed-off-by: William Fish <william.fish@manulytica.com>
  • Loading branch information
WilliamGFish authored and nashif committed Apr 18, 2019
1 parent 7f2f1d3 commit cc15b9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions soc/arm/nordic_nrf/nrf51/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ config NUM_IRQS
int
default 26

if SENSOR

config TEMP_NRF5
default y

endif # SENSOR
default SENSOR

endif # SOC_SERIES_NRF51X
3 changes: 3 additions & 0 deletions soc/arm/nordic_nrf/nrf52/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config SYS_POWER_MANAGEMENT
default y

config TEMP_NRF5
default SENSOR

endif # SOC_SERIES_NRF52X

0 comments on commit cc15b9c

Please sign in to comment.