Closed jgeudens closed 11 months ago
Hi @jgeudens , thanks for the PR. Are you using the default toolchain flags of IAR EWARM or did you change them? We'll merge the fix either way, but I would like to be able to recreate it in our internal build system as I'm not seeing this warning/error currently.
Hi @renesas-brandon-hussey ,
I have enable an additional option in the compiler settings.
See this screenshot from https://wwwfiles.iar.com/arm/webic/doc/EWARM_DevelopmentGuide.ENU.pdf
The function
R_GPT_PwmOutputDelayInitialize
generates an compiler error (no prototype
) when the "Require prototype" option is active in IAR EWARM.The reason is that the prototype and function definition is missing void as argument.