mirror of https://github.com/ARMmbed/mbed-os.git
The direct_access_devicekey test should not run if there is no component flashiap block device in the target
parent
6592e85c13
commit
423c4fbc18
|
|
@ -15,6 +15,10 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef COMPONENT_FLASHIAP
|
||||||
|
#error [NOT_SUPPORTED] Target must have internal FlashIAP for this test
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "mbed.h"
|
#include "mbed.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
@ -31,11 +35,6 @@
|
||||||
#include "utest.h"
|
#include "utest.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifndef DEVICE_FLASH
|
|
||||||
#error [NOT_SUPPORTED] Target must have internal FlashIAP for this test
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
using namespace utest::v1;
|
using namespace utest::v1;
|
||||||
using namespace mbed;
|
using namespace mbed;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue