Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years ago.
mbed-os-example-blinky not working
Hi,
I compiled the mbed-os-example-blinky example using the offline CLI with mbed compile -t GCC_ARM -m RBLAB_BLENANO2. The compilation and build process ran without issues, but when i copy the hex file to the board via DAPLink, the LED doesn't blink. While trying to solve the issue I modified the example to write messages through the serial port, like this:
Modified blinky
#include "mbed.h" DigitalOut led1(LED1); Serial usb(USBTX, USBRX); // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; usb.printf("Blinking!"); wait(10); } }
To my surprise i get the the "Blinking!" message every 10 secs, the led though won't blink.
Question relating to:
1 Answer
5 years, 6 months ago.
Hi,
I have exactly the same problem with a nucleo L432KC. My drivers are up to date an so far I didn't find any explanation. Still trying to find a solution though.