mirror of https://github.com/ARMmbed/mbed-os.git
Adding more [NOT_SUPPORTED] messages to tests
parent
de3b14ec92
commit
c38209f6d6
|
@ -21,6 +21,8 @@ DigitalOut indicator(LED1);
|
|||
|
||||
#else
|
||||
|
||||
#error [NOT_SUPPORTED] This test is not supported on this target
|
||||
|
||||
#endif
|
||||
|
||||
uint8_t successes = 0;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#if !DEVICE_INTERRUPTIN
|
||||
#error [NOT_SUPPORTED] InterruptIn is not supported
|
||||
#endif
|
||||
|
||||
#include "test_env.h"
|
||||
|
||||
DigitalOut myled(LED1);
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#if !DEVICE_INTERRUPTIN
|
||||
#error [NOT_SUPPORTED] InterruptIn is not supported
|
||||
#endif
|
||||
|
||||
#include "mbed.h"
|
||||
|
||||
#if defined(TARGET_LPC4088)
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
#if !DEVICE_PORTIN
|
||||
#error [NOT_SUPPORTED] PortIn is not supported
|
||||
#endif
|
||||
|
||||
#if !DEVICE_PORTOUT
|
||||
#error [NOT_SUPPORTED] PortOut is not supported
|
||||
#endif
|
||||
|
||||
#include "test_env.h"
|
||||
|
||||
#if defined(TARGET_K64F) || defined(TARGET_KL05Z)
|
||||
|
@ -176,6 +184,9 @@
|
|||
#define P2_2 (1 << 1) /*PB01*/
|
||||
#define PORT_2 PortB
|
||||
|
||||
#else
|
||||
#error [NOT_SUPPORTED] This test is not supported on this target
|
||||
|
||||
#endif
|
||||
|
||||
#define MASK_1 (P1_1 | P1_2)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#if !DEVICE_RTC
|
||||
#error [NOT_SUPPORTED] RTC is not supported
|
||||
#endif
|
||||
|
||||
#include "mbed.h"
|
||||
#include "test_env.h"
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#if !DEVICE_SLEEP
|
||||
#error [NOT_SUPPORTED] Sleep is not supported
|
||||
#endif
|
||||
|
||||
#include "test_env.h"
|
||||
|
||||
#if defined(TARGET_LPC4088)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#if !DEVICE_SLEEP
|
||||
#error [NOT_SUPPORTED] Sleep is not supported
|
||||
#endif
|
||||
|
||||
#include "mbed.h"
|
||||
|
||||
DigitalOut led1(LED1);
|
||||
|
|
Loading…
Reference in New Issue