File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
boards/nordic/nrf5340_audio_dk Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ # nRF5340 Audio DK board configuration
2
+
3
+ # Copyright (c) 2019 Nordic Semiconductor ASA
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ config BOARD_NRF5340_AUDIO_DK
7
+ select BOARD_LATE_INIT_HOOK if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP || BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS
Original file line number Diff line number Diff line change 11
11
12
12
LOG_MODULE_REGISTER (nrf5340_audio_dk_nrf5340_cpuapp , CONFIG_LOG_DEFAULT_LEVEL );
13
13
14
- static int core_config (void )
14
+ void board_late_init_hook (void )
15
15
{
16
16
nrf_gpiote_latency_t latency ;
17
17
@@ -21,8 +21,4 @@ static int core_config(void)
21
21
LOG_DBG ("Setting gpiote latency to low power" );
22
22
nrf_gpiote_latency_set (NRF_GPIOTE , NRF_GPIOTE_LATENCY_LOWPOWER );
23
23
}
24
-
25
- return 0 ;
26
24
}
27
-
28
- SYS_INIT (core_config , POST_KERNEL , CONFIG_KERNEL_INIT_PRIORITY_DEVICE );
You can’t perform that action at this time.
0 commit comments