Just installed Mbed Studio on macOS (High Sierra, 10.13) and trying to compile the Mbed OS 5 blinky example with a Cortex M0+ target (any platform supporting Mbed OS 5 like KL25Z, DISCO L073), I’m getting these errors:
[ERROR] armclang: error: System clock tampering detected. License checkout will fail. [...] Product: ARM Compiler 6.13 for Mbed Studio Component: ARM Compiler 6.13 Tool: armclang [5d895a00] armclang: error: ARM Compiler does not support '-mcpu=cortex-m0plus'
or when I don’t have the “System clock tampering” error (which happens when I change target) :
[ERROR] Product: ARM Compiler 6.13 for Mbed Studio Component: ARM Compiler 6.13 Tool: armclang [5d895a00] error: use of -target-cpu cortex-m0plus is disallowed in this variant of ARM Compiler
Is the Cortex M0+ really “not allowed” with Mbed Studio ??! I couldn’t find any info on that online.
Can I use GCC ARM with Mbed Studio? Do I need to / can I use MBED CLI instead?
I figured Mbed Studio would be a easy and fast way to test my platform but I don’t want to spend any more time setting things up with the CLI if the end result is the same.