7 years, 7 months ago.

Example mbed project not compiling - Gives Error 28

Hi,

The example hello-world project for the BBC micro:bit from https://developer.mbed.org/platforms/Microbit/ does not compile. I am getting the Error message "Expressions must have a constant value" in the MicroBitUARTService.cpp file, lines 282,401 and 470. I follow exactly the same steps as in the video tutorial and I keep getting this error message.

Furthermore, last month I created a working project for the microBit and right now I am getting exatly the same error message - "Expressions must have a constant value" in the MicroBitUARTService.cpp file despite the fact that last month everything worked fine.

Can you help me how to fix this issue? Thanks!

Be the first to answer this question.