File tree Expand file tree Collapse file tree 5 files changed +19
-2
lines changed Expand file tree Collapse file tree 5 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1515 */
1616
1717// check if AnalogOut is supported on this device
18-
19- #warning [NOT_SUPPORTED] AnalogOut not supported on this platform, add 'DEVICE_ANALOGOUT' definition to your platform.
2018#if !DEVICE_ANALOGOUT
2119 #error [NOT_SUPPORTED] AnalogOut not supported on this platform, add 'DEVICE_ANALOGOUT' definition to your platform.
2220#endif
Original file line number Diff line number Diff line change 1+ // check if AnalogOut is supported on this device
2+ #if !DEVICE_ANALOGOUT
3+ #error [NOT_SUPPORTED] AnalogOut not supported on this platform, add 'DEVICE_ANALOGOUT' definition to your platform.
4+ #endif
5+
16#include " mbed.h"
27#include " greentea-client/test_env.h"
38#include " unity.h"
Original file line number Diff line number Diff line change 1+ // check if I2C is supported on this device
2+ #if !DEVICE_I2C
3+ #error [NOT_SUPPORTED] I2C not supported on this platform, add 'DEVICE_I2C' definition to your platform.
4+ #endif
5+
16#include " mbed.h"
27#include " greentea-client/test_env.h"
38#include " unity.h"
Original file line number Diff line number Diff line change 1+ #if !DEVICE_PWMOUT
2+ #error [NOT_SUPPORTED] PWMOUT not supported on this platform, add 'DEVICE_PWMOUT' definition to your platform.
3+ #endif
4+
15#include " mbed.h"
26#include " greentea-client/test_env.h"
37#include " unity.h"
Original file line number Diff line number Diff line change 1+ // check if SPI is supported on this device
2+ #if !DEVICE_SPI
3+ #error SPI is not supported on this platform, add 'DEVICE_SPI' definition to your platform.
4+ #endif
5+
16#include " mbed.h"
27#include " greentea-client/test_env.h"
38#include " unity.h"
You can’t perform that action at this time.
0 commit comments