Skip to content

Commit a1c7403

Browse files
Matthew MacovskyKyle Kearney
authored andcommitted
Enable some of the kvstore tests for PSoC 6 MCUs
1 parent 2154948 commit a1c7403

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
@@ -30,8 +30,8 @@
3030
#include "utest.h"
3131
#include <stdlib.h>
3232

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

3737
#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
@@ -32,8 +32,8 @@
3232
using namespace utest::v1;
3333
using namespace mbed;
3434

35-
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
36-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
35+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
36+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
3737
#else
3838

3939
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
@@ -32,8 +32,8 @@
3232
using namespace utest::v1;
3333
using namespace mbed;
3434

35-
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
36-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
35+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6)
36+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6
3737
#else
3838

3939
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)