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
Hello Muana,
We do not provide mbed support of any kind. I will recommend you to write this matter in the mbed community:
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.
-------------------------------------------------------------------------------