Skip to content

Commit

Permalink
glitchdet hack
Browse files Browse the repository at this point in the history
Signed-off-by: Georgios Vasilakis <[email protected]>
  • Loading branch information
Vge0rge committed Mar 8, 2024
1 parent 1d1fa0b commit 963c80e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion soc/arm/nordic_nrf/nrf54l/Kconfig.soc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ config SOC_NRF54L_NORMAL_VOLTAGE_MODE

config SOC_NRF54L_GLITCHDET_WORKAROUND
bool "Workaround that disables glitch detector"
default y
#default y if !BUILD_WITH_TFM
help
Temporary workaround - disabling glitch detector to limit power consumption.

Expand Down
2 changes: 1 addition & 1 deletion soc/arm/nordic_nrf/nrf54l/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static int nordicsemi_nrf54l_init(void)
sys_cache_instr_enable();

if (IS_ENABLED(CONFIG_SOC_NRF54L_GLITCHDET_WORKAROUND)) {
nrf_glitchdet_enable_set(NRF_GLITCHDET, false);
//nrf_glitchdet_enable_set(NRF_GLITCHDET, false);

Check failure on line 46 in soc/arm/nordic_nrf/nrf54l/soc.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

soc/arm/nordic_nrf/nrf54l/soc.c:46 do not use C99 // comments
}

#if DT_ENUM_HAS_VALUE(LFXO_NODE, load_capacitors, internal)
Expand Down

0 comments on commit 963c80e

Please sign in to comment.