mbed compiler Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mbed compiler Error

2,216 Views
mkasongo
Contributor I

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;
wait(0.5);
myled = 0;
myled2 = 0;
newled = 0;
newerled = 0;
wait(0.5);
}
}#

Regards,

Muana Kasongo

0 Kudos
1 Reply

1,962 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello Muana,

We do not provide mbed support of any kind. I will recommend you to write this matter in the mbed community: 

https://forums.mbed.com/ .

Although I will recommend to you to start using our own IDE  MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE) | NXP . Here you can download and start building your own projects. 

Welcome | MCUXpresso SDK Builder, Following this link you would be able to search for your board examples to give you a head start on the development.

 


Have a great day,
Fabian

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

Best Regards,
Fabian
0 Kudos