1
0
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:
Hauke Petersen 2018-06-22 16:09:23 +02:00
parent ffde933259
commit 7ffd6265bb

View File

@ -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,