7 years ago.

Error: Identifier "MODSERIAL_IRQ_REG" is undefined in "MODSERIAL/FLUSH.cpp"

I have started porting MODSERIAL to the F767ZI but I'm getting the following type of errors, I presume it is because FLUSH.cpp can't see the .h file with the declarations in.

Error: Identifier "MODSERIAL_IRQ_REG" is undefined in "MODSERIAL/FLUSH.cpp", Line: 31, Col: 25

I have this define at the top of my .h file #ifdef TARGET_NUCLEO_F767ZI . Why can't FLUSH.cpp see the .h file definitions ?

Be the first to answer this question.