mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 08:51:19 +01:00
cpu/nrf52: enable instruction cache
This commit is contained in:
parent
ffde933259
commit
7ffd6265bb
@ -64,6 +64,9 @@ void cpu_init(void)
|
||||
/* initialize hf clock */
|
||||
clock_init_hf();
|
||||
|
||||
/* enable instruction cache */
|
||||
NRF_NVMC->ICACHECNF = (NVMC_ICACHECNF_CACHEEN_Msk);
|
||||
|
||||
/* softdevice needs to be enabled from ISR context */
|
||||
#ifdef SOFTDEVICE_PRESENT
|
||||
softdevice_handler_init(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, &_ble_evt_buffer,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user