Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions TESTS/API/AnalogOut/AnalogOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/

// check if AnalogOut is supported on this device

#warning [NOT_SUPPORTED] AnalogOut not supported on this platform, add 'DEVICE_ANALOGOUT' definition to your platform.
#if !DEVICE_ANALOGOUT
#error [NOT_SUPPORTED] AnalogOut not supported on this platform, add 'DEVICE_ANALOGOUT' definition to your platform.
#endif
Expand Down
2 changes: 1 addition & 1 deletion TESTS/API/SPI/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// check if SPI is supported on this device
#if !DEVICE_SPI
#error SPI is not supported on this platform, add 'DEVICE_SPI' definition to your platform.
#error [NOT_SUPPORTED] SPI is not supported on this platform, add 'DEVICE_SPI' definition to your platform.
#endif

using namespace utest::v1;
Expand Down
5 changes: 5 additions & 0 deletions TESTS/assumptions/AnalogOut/AnalogOut.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// check if AnalogOut is supported on this device
#if !DEVICE_ANALOGOUT
#error [NOT_SUPPORTED] AnalogOut not supported on this platform, add 'DEVICE_ANALOGOUT' definition to your platform.
#endif

#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
Expand Down
5 changes: 5 additions & 0 deletions TESTS/assumptions/I2C/I2C.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// check if I2C is supported on this device
#if !DEVICE_I2C
#error [NOT_SUPPORTED] I2C not supported on this platform, add 'DEVICE_I2C' definition to your platform.
#endif

#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
Expand Down
4 changes: 4 additions & 0 deletions TESTS/assumptions/Pwm/Pwm.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#if !DEVICE_PWMOUT
#error [NOT_SUPPORTED] PWMOUT not supported on this platform, add 'DEVICE_PWMOUT' definition to your platform.
#endif

#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
Expand Down
2 changes: 1 addition & 1 deletion TESTS/assumptions/PwmOut/PwmOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//#error [NOT_SUPPORTED] PWM tests are still being written and validated, not for public use yet.

#if !DEVICE_PWMOUT
#error PWMOUT not supported on this platform, add 'DEVICE_PWMOUT' definition to your platform.
#error [NOT_SUPPORTED] PWMOUT not supported on this platform, add 'DEVICE_PWMOUT' definition to your platform.
#endif

#include "mbed.h"
Expand Down
5 changes: 5 additions & 0 deletions TESTS/assumptions/SPI/SPI.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// check if SPI is supported on this device
#if !DEVICE_SPI
#error [NOT_SUPPORTED] SPI is not supported on this platform, add 'DEVICE_SPI' definition to your platform.
#endif

#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
Expand Down