Skip to content

Commit cd3da03

Browse files
haduongquangdecsny
authored andcommitted
s32: drivers: s32ze: patch relocate non-cacheable variables
Relocate uninitialized non-cacheable variables into .nocache (NOLOAD) section defined by Zephyr. Signed-off-by: Ha Duong Quang <[email protected]>
1 parent 0a5be97 commit cd3da03

File tree

2 files changed

+197
-197
lines changed

2 files changed

+197
-197
lines changed

s32/drivers/s32ze/Adc/src/Adc_Sar_Ip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static TEMPSENSE_Type * const Adc_Sar_Ip_apxTempsenseBase[TEMPSENSE_INSTANCE_COU
249249
#define ADC_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE
250250
#include "Adc_MemMap.h"
251251
/* Global state structure */
252-
static Adc_Sar_Ip_StateStructType Adc_Sar_Ip_axAdcSarState[ADC_SAR_IP_INSTANCE_COUNT];
252+
VAR_SEC_NOCACHE(Adc_Sar_Ip_axAdcSarState) static Adc_Sar_Ip_StateStructType Adc_Sar_Ip_axAdcSarState[ADC_SAR_IP_INSTANCE_COUNT];
253253

254254
#define ADC_STOP_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE
255255
#include "Adc_MemMap.h"

0 commit comments

Comments
 (0)