This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS570LS3137: AUTOSAR_MCAL_TMS570LSx-05.30.00: Spi Memory Sections inconsistent

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

Hello TI Support team,

compiler 15.12.4.LTS mentions a warning regarding inconsistencies with Spi memory sections between header and source files (marked in red color):

Header:

#define SPI_START_SEC_VAR_NOINIT_UNSPECIFIED

#include "MemMap.h"

 

extern P2VAR(Dma_GlobalRegisterType, AUTOMATIC, SPI_CONST) Dma_GlobalRegister;

 

#define SPI_STOP_SEC_VAR_NOINIT_UNSPECIFIED

#include "MemMap.h"

 

Source:

#define SPI_START_SEC_VAR_INIT_UNSPECIFIED

#include "MemMap.h"

 

static VAR(Dma_StatusType, SPI_VAR) Dma_ModuleInitFlag = DMA_UNINIT;

/* DMa support for max 5 HWUnits */

 

Dma_GlobalRegisterPtrType Dma_GlobalRegister = DMA_GLOBAL_REGISTER_BASE_ADDRESS;

 

#define SPI_STOP_SEC_VAR_INIT_UNSPECIFIED

/*SAFETYMCUSW 338 S MR:19.1 <APPROVED> "Based on Autosar Memory Map strategy" */

#include "MemMap.h"

It seems SPI_START_SEC_VAR_INIT_UNSPECIFIED would be the correct section, isn't it?

Vector internal reference: CBD1800021

Best regards

Roland