How to use a library in online KeilStudio IDE. LPC1768 and nRF24L01

Hello Martin,

you need separate two things. Issues connected to the tool, the Keil Studio Cloud in this case, and issues what are in context of MbedOS version and its compatibility.

Mbed’s build tools:

  • Mbed CLI - desktop console build tool
  • Mbed CLI2 - also desktop console build tool, but based on CMake
  • Online Compiler - old web based build tool, the simplest one, but it is retiring with this year.
  • Keil Studio Cloud - new web based IDE
  • Mbed Studio - “new” desktop IDE (in the future will be replaced with Keil Studio desktop)

On the main page https://os.mbed.com/ you will found section Documentation, where you will found links to documentation of MbedOS, MbedStudio or Keil Studio Cloud

MbedStudio and KeilStudioCloud (KSC ) are able to build, deploy and debug, but deploy and debug may not be available for all targets now. Unfortunately the LPC1768 is in the group of these targets, but the time is coming New beta firmware for LPC1768 - Keil Studio - Arm Mbed OS support forum
So, until this is resolved, you will have to upload the binary with drag & drop method with binary what will be generated and downloaded via KSC and your browser.

Issues like you wrote above about Serial API are connected to Mbed OS version compatibility.
Mbed’s versions:

  • Mbed2 - oldes one without RTOS, unmaintained, obsolete, but most of libraries are for this version
  • MbedOS 5 - old one with RTOS, but most of libraries are able to work with this version
  • MbedOS 6 - the latest one and not all libraries are compatible with this version

I hope I made an answer for your questions, but do not be hesitate to ask for more.

BR, Jan

1 Like