Autosar Memory section defines in generated c code
Afficher commentaires plus anciens
Hi I would like to generate memory section mapping #defines similar to ones in Autosar C code. I'm using Simulink for Model creation and Autosar Tool box code generator for generating code. How can i get #defines for Memmap as shown below in generated code.
#define CddSample_START_SEC_CODE
#include "CddSample_MemMap.h"
FUNC(void, CddSample_CODE) CddSample_alive_100ms (void)
{
}
#define CddSample_STOP_SEC_CODE
#include "CddSample_MemMap.h"
3 commentaires
Jeevan Kumar Guntammagari
le 22 Mai 2020
Liang Zong
le 8 Mar 2022
hi,
which matlab version are you using? i can not find "memory Sections" in 2021a.

Djordje
le 17 Juil 2024
I have the same issue as yours. Did you find out how to configure memory sections in your MATLAB? I am using version R2023a, and properties look like yours.
BR,
Djordje
Réponses (1)
Jeevan Kumar Guntammagari
le 3 Juin 2020
0 votes
Catégories
En savoir plus sur AUTOSAR Blockset dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
