AnsweredAssumed Answered

mbed compiler Error

Question asked by muana kasongo on Mar 13, 2020
Latest reply on Mar 13, 2020 by Fabian Ramirez

Hi! I have imported an LED blinking code to get started with mbed online, but I am getting the following error: 

Error: Fatal error: C3903U: Argument 'Cortex-M4.fp.sp' not permitted for option 'cpu'.

Any ideas on how to get around this?

The following is the code I've imported from the "demo_program" file in mbed:

#include "mbed.h"

DigitalOut myled(LED1);
DigitalOut newled(LED2);
DigitalOut newled(LED3);
DigitalOut newerled(LED4);

int main() {
while(1) {
myled = 1;
myled2 = 1;
newled = 1;
newerled = 1;
myled = 0;
myled2 = 0;
newled = 0;
newerled = 0;


Muana Kasongo