-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
The baremetal mode was introduced in Mbed OS 5.12 and we need to be able to run tests to confirm it works well across a number of platforms.
From the baremetal profile, there are two main items that are included: ["platform", "drivers"]
However, there are compile errors when trying to build simple greentea tests for drivers/platform on the Mbed OS baremetal profile.
Steps to reproduce
mbed import https://github.com/ARMmbed/mbed-os-example-blinky-baremetal#mbed-os-5.14
cd mbed-os-example-blinky-baremetal
move main.cpp main.old
mbed test -t ARM -m NUCLEO_F429ZI -n *echo* --compile
...
Build failures:
* NUCLEO_F429ZI::ARMC6::MBED-OS-TESTS-MBED_DRIVERS-ECHO
Building project echo (NUCLEO_F429ZI, ARMC6)
Scan: ARM
Scan: echo
Compile [100.0%]: main.cpp
[Fatal Error] main.cpp@20,10: 'greentea-client/test_env.h' file not found
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug