You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In all the test files (for example in mbed/libraries/tests/mbed/rtc/main.cpp),
where the peripheral/function is checked, the check of the peripheral/function must be placed after the includes:
Today it is:
#if !DEVICE_RTC
#error [NOT_SUPPORTED] RTC is not supported
#endif
#include "mbed.h"
#include "test_env.h"
While it must be:
#include "mbed.h"
#include "test_env.h"
#if !DEVICE_RTC
#error [NOT_SUPPORTED] RTC is not supported
#endif