How to get the program to work Delete the included mbed-os, and add the mbed-os library from "git@github.com:ARMmbed/mbed-os.git" and choose branch "mbed-os 6.17.0" Now it should work.