Skip to content

Commit f154227

Browse files
Matthew Macovskyadbridge
authored andcommitted
Enable some of the kvstore tests for PSoC 6 MCUs
1 parent 835504d commit f154227

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#include "utest.h"
2828
#include <stdlib.h>
2929

30-
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
31-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
30+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
31+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
3232
#else
3333

3434
#define FSST_TEST_NUM_OF_THREADS 5

features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
using namespace utest::v1;
3030
using namespace mbed;
3131

32-
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
33-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
32+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
33+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
3434
#else
3535

3636
static const char data[] = "data";

features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
using namespace utest::v1;
3030
using namespace mbed;
3131

32-
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
33-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
32+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
33+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
3434
#else
3535

3636
static const char data[] = "data";

features/storage/TESTS/kvstore/securestore_whitebox/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
#include <stdio.h>
3535
#include <algorithm>
3636

37-
#if (!defined(TARGET_K64F) && !defined(TARGET_ARM_FM)) || !SECURESTORE_ENABLED
38-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels. KVStore & SecureStore need to be enabled for this test
37+
#if (!defined(TARGET_K64F) && !defined(TARGET_ARM_FM)) && !defined(TARGET_MCU_PSOC6) || !SECURESTORE_ENABLED
38+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6. KVStore & SecureStore need to be enabled for this test
3939
#else
4040

4141
using namespace mbed;

0 commit comments

Comments
 (0)