AUTOSAR compiler abstraction macros - change suffix of define from _VAR to _VAR_NOINIT, _VAR_INIT or _VAR_ZERO_INIT

6 views (last 30 days)
Hi,
I use the AUTOSAR compiler abstraction macros. For example, the following code is generated:
CONST (rt_Init_SleepCtrl_ConstP, Init_SleepCtrl_VAR)
Init_SleepCtrl_VAR is a preprocessor directive that is generated by another tool. Unfortunately, in my case the following defines are generated:
# define Init_SleepCtrl_VAR_NOINIT
# define Init_SleepCtrl_VAR_INIT
# define Init_SleepCtrl_VAR_ZERO_INIT
Can you get the Emedded Coder to change the generated code for the compiler abstraction in:
CONST (rt_Init_SleepCtrl_ConstP, Init_SleepCtrl_VAR_NOINIT)
or
CONST (rt_Init_SleepCtrl_ConstP, Init_SleepCtrl_VAR_INIT)
or
CONST (rt_Init_SleepCtrl_ConstP, Init_SleepCtrl_VAR_ZERO_INIT)
Best regards,
Alexander Kiebler

Answers (0)

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!