I have exactly the same problem with mbed os led blinking example. It compiles ok even offline with GCC. It even successfully flashes to the board with st-flash or just copying to flash drive but do not work.
Actually i found a working example before came here. I tried another sample for led blinker without mbed os. And it works fine. But it can hardly be called a solution.
My board is Nucleo F411RE.
UPD: hmm. Now tried again. Updated mbed-os library using online IDE and it works. Tried that earlier with mbed-cli without success.
UPD: seems like my problem related only to mbed-cli GCC compilation. When I compile it using mbed-cli and flash it - led sample doesn't work. But online ide compiled binary works fine.
Hi, i m new to mbed compiler. I tried led blinking code, and after compiling i downloaded .bin file and flashed in Nucleo drive. But it is not working .
Anybody knows why it is so?