I have a Chinese LPC1768-based board I used to control with Marlin firmware, and recently I started to want to program it my own way instead.
So, I was successful with PlatformIO and Marlin's custom library they have extracted (Arduino-like): https://github.com/p3p/pio-nxplpc-arduino-lpc176x. I am able to blink whatever pin I want.
But, when I try to move to standard Mbed OS/baremetal examples e.g. https://github.com/ARMmbed/mbed-os-example-blinky-baremetal and compile it either via PlatformIO or the online compiler, uploaded firmware does not function. I am sure the bootloader writes the binary to the flash memory, but nothing happens, no signs of life.
So, the question is: am I wrong supposing that any LPC1768-based chip is the same as a chip-based development board? Any other suggestions? Thanks.