Skip to content

Commit 9780c90

Browse files
committed
Disabled QSPI for now
1 parent c249bf9 commit 9780c90

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/common/cybsp_serial_flash_prog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
extern "C" {
4242
#endif
4343

44-
#if defined(CYBSP_QSPI_SCK)
44+
#if defined(CYBSP_QSPI_SCK) && (DEVICE_QSPI)
4545
#include "cycfg_qspi_memslot.h"
4646

4747
typedef struct
@@ -85,7 +85,7 @@ const uint32_t cyToc[128] =
8585
};
8686

8787
/** \} group_bsp_serial_flash_variables */
88-
#endif /* defined(CYBSP_QSPI_SCK) */
88+
#endif /* defined(CYBSP_QSPI_SCK) && (DEVICE_QSPI) */
8989

9090
#if defined(__cplusplus)
9191
}

targets/targets.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8703,6 +8703,8 @@
87038703
},
87048704
"CY8CPROTO_064_SB": {
87058705
"inherits": ["MCU_PSOC6_M4"],
8706+
"components_remove": ["QSPIF"],
8707+
"device_has_remove": ["QSPI"],
87068708
"supported_form_factors": ["ARDUINO"],
87078709
"extra_labels_add": ["PSOC6_01"],
87088710
"macros_add": ["CYB06447BZI_D54",

0 commit comments

Comments
 (0)