AnsweredAssumed Answered

How do I prevent code generation macros

Question asked by Mike Maddi on May 18, 2017
Latest reply on Jun 15, 2017 by Mike Maddi

I'm using CoedWarrior Development Studio10.6.4 to design C/C++ code for the S08DZ32 MCU. I am using processor expert to generate bit I/O drivers. The problem I am having is that the generate code implements macros rather than methods much of the time. I have a lot of bit I/O that I would like to put in an array of function pointers and, of course, you can't implement macros this way. I've searched everywhere for an answer to this including searching through all the project settings to see if there is a way to force method generation rather than macros. I have not been able to find anything. Modifying the generated code is not an option because it will be written over during the next clean and build. Does anyone know of a way to do this? Thank you very much.

Outcomes