Enable some of the kvstore tests for PSoC 6 MCUs

pull/11531/head
Matthew Macovsky 2019-09-05 17:33:30 +01:00 committed by Kyle Kearney
parent 2154948791
commit a1c74036ea
4 changed files with 8 additions and 8 deletions

View File

@ -30,8 +30,8 @@
#include "utest.h"
#include <stdlib.h>
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
#else
#define FSST_TEST_NUM_OF_THREADS 5

View File

@ -32,8 +32,8 @@
using namespace utest::v1;
using namespace mbed;
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
#else
static const char data[] = "data";

View File

@ -32,8 +32,8 @@
using namespace utest::v1;
using namespace mbed;
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
#else
static const char data[] = "data";

View File

@ -34,8 +34,8 @@
#include <stdio.h>
#include <algorithm>
#if (!defined(TARGET_K64F) && !defined(TARGET_ARM_FM)) || !SECURESTORE_ENABLED
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels. KVStore & SecureStore need to be enabled for this test
#if (!defined(TARGET_K64F) && !defined(TARGET_ARM_FM)) && !defined(TARGET_MCU_PSOC6) || !SECURESTORE_ENABLED
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6. KVStore & SecureStore need to be enabled for this test
#else
using namespace mbed;