I am currently seeing this same issue where includes in platform.h are not satisfied for an exported nRF51 Dongle project:
- include "device.h"
- include "PinNames.h"
- include "PeripheralNames.h"
This is from a compiling/running mbed project that I have exported for the "GCC (ARM Embedded)" toolchain and selected the option "Export All Files".
It mostly compiles but fails because the include files cannot be found. They do not appear to exist in the toolchain, the project nor the SDK (nRF5_SDK_12.2.0_f012efa).
My expectation was that the exported project would be complete. Any hints as to where the missing files should be located?
Thanks
I had a mbed 1768. The programs can be exported to keil and compile successfully. But for this new LPC11U24, it shows "mbed\PinNames.h(10): error: #5: cannot open source input file "cmsis.h": No such file or directory" when I exported to Keil. Of course I chose LPC11U24 while exporting it. Anyone has some idea of it? Even the simple program helloword can't be compiled. A new find is there is no folder LPC11U24 which should contain the .h files.