modules: hal_nordic: nrfx_glue: Include cmsis_core_m_defaults.h

... to cover missing __ICACHE_PRESENT and __DCACHE_PRESENT symbols that
should be defined in MDK files.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2024-01-31 18:34:10 +01:00 committed by Carles Cufí
commit 2efd34bda3
2 changed files with 7 additions and 2 deletions

View file

@ -7,6 +7,13 @@
#ifndef NRFX_GLUE_H__
#define NRFX_GLUE_H__
#if defined(CONFIG_CPU_CORTEX_M)
/* Workaround for missing __ICACHE_PRESENT and __DCACHE_PRESENT symbols in MDK
* SoC definitions. To be removed when this is fixed.
*/
#include <cmsis_core_m_defaults.h>
#endif
#include <zephyr/sys/__assert.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/irq.h>

View file

@ -11,8 +11,6 @@
#ifndef _NORDICSEMI_NRF54L_SOC_H_
#define _NORDICSEMI_NRF54L_SOC_H_
#define __ICACHE_PRESENT 1
#include <soc_nrf_common.h>
#define FLASH_PAGE_ERASE_MAX_TIME_US 8000UL