AnsweredAssumed Answered

Is it possible to use custom defines in MCUXpresso Config Tools?

Question asked by Stefan Mitterhauser on Feb 17, 2020
Latest reply on Feb 19, 2020 by Stefan Mitterhauser

Hello,

 

to make the resulting code from MCUXpresso Config Tools a little bit more general I would like to use a custom define for eDMA driver Destination address expression:

Is it somehow possible to include e.g. #define SPI_INPUT_CHAIN_LENGTH (4) for use in peripherals.c without modifying the file directly?

I think if I manually include this in peripherals.c next time I update the code it will be overwritten.

 

If nothing else is possible it could be included as preprocessor symbol, but I don't really like this solution because for every EWARM project I would have to define this in the project options.

 

Kind regards,

Stefan

Outcomes