Ah, my bad. I forgot to mention the Bare metal profile is necessary, for this low memory board.
You can try this blinky example.
GitHub - ARMmbed/mbed-os-example-blinky-baremetal: Bare metal blinky Mbed OS example
BTW the EDIT will not give me info about new content.
BR, Jan