10 years, 4 months ago.

Error message when using MODDMA.h

Following the suggested #include order:

#include "mbed.h"
#include "MODDMA.h"     // <--- Declare first
#include "MODSERIAL.h"  // Flollowed by MODSERIAL

, I get the error message:

Error: Identifier "_uidx" is undefined in "MODSERIAL/MODSERIAL.h", Line: 1006, Col: 15.

Some compatibility issues with a new version?

J

Question relating to:

1 Answer

10 years, 4 months ago.

Replace all _uidx with _serial.index. Was a change in the mbed libs, was changed in the normal MODSERIAL stuff, but the DMA stuff was missed back then, and I am pretty sure Andy now isn't active here anymore.

Accepted Answer