Processor expert generated code specification?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Processor expert generated code specification?

931 次查看
ruudsiebierski
Contributor III

Hi,

Is there any information about which C standard is used in the generated code of Processor Expert? And if this a setting that can be tweaked?

Best regards,

Ruud

标记 (1)
0 项奖励
回复
2 回复数

831 次查看
BlackNight
NXP Employee
NXP Employee

From what I see is that it is pretty much C89, and I have not had any issues using it with C99 compiler settings.

0 项奖励
回复

831 次查看
ruudsiebierski
Contributor III

Hi Erich,

I believe following struct initialization is not strictly according to C89.
I'm just looking for a statement, whether the generated code is according to some rule. 

pin_settings_config_t g_dev_kit_pin_mux_InitConfigArr[NUM_OF_CONFIGURED_PINS] =
{
{
.base = SIUL2,
.pinPortIdx = 19u,
.mux = PORT_MUX_AS_GPIO,

0 项奖励
回复