8 years, 2 months ago.

uvisor-helloworld build for ARMCC

Hello, Is it possible to get the uvisor-helloworld example running on FRDMKL64F when using the ARMCC compiler (Keil IDE)? I have managed to build this example uisng yotta and following AN282 (Import mbedOS Projects to Keil MDK) I was able to get buildable application in Keil IDE. However, the uvisor-lib contains just the unsupported.cpp file, meaning that the application works but does not handle security, i.e. no MPU settings, security boxes creation, priviledge mode switching. Could you please state when the support for AMRCC will be done and to advice how to allow uvisor in Keil IDE? Thank you.

Regards Michal

1 Answer

8 years, 2 months ago.

Hi,

please use forum.mbed.com for mbed OS related questions.

uvisor armcc support - there's a tracking issue for this https://github.com/ARMmbed/uvisor/issues/89 . Please use gcc targets, in your case frdm-k64f-gcc ,which is supported.

To export, you can use the keil AN you shared above, or use yotta debug command. For frdm-k64f targets, it invokes valinor which generates a project. Based on your local settings, it can either create pyocd-gdbserver and client connects to it automatically , or open uvision project.

yotta debug

for uvision this translates to

# an example for mbed blinky for frdm-k64f-gcc target
valinor build\frdm-k64f-gcc\source\example-mbedos-blinky --target frdm-k64f -t uvision