4 years, 4 months ago.

Error: Expected an identifier in "extras/mbed"

Hello, I have an entirely mystifying issue in an external library, It throws the line Error: Expected an identifier in "extras/mbed_487b796308b0/TARGET_KL25Z/MKL25Z4.h", Line: 3200, Col: 17, which doesn't make sense.

Comment on this question

1 Answer

4 years, 3 months ago.

I just found the issue :

There is in the library a line : "#define STATUS 0x07" in "nRF24L01P_Maniacbug.h"

but it already exists in "MKL25Z4.h",

you just have to rename it "RF_STATUS" in the .H and the .CPP of the library not to be disturbed anymore,

it works fine for me so far.

You need to log in to post a question