Skip to content

Commit b9f8e2a

Browse files
committed
Remove QSPI for Future targets
1 parent 2a78a9b commit b9f8e2a

File tree

2 files changed

+2
-89
lines changed

2 files changed

+2
-89
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/mbed_overrides.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,15 @@ void mbed_sdk_init(void)
9494
us_ticker_init();
9595
#endif
9696

97-
#if defined(CYBSP_ENABLE_FLASH_STORAGE)
97+
#if MBED_CONF_TARGET_XIP_ENABLE
9898
/* The linker script allows storing data in external memory, if needed, enable access to that memory. */
9999
cybsp_serial_flash_init();
100100
cybsp_serial_flash_enable_xip(true);
101-
#endif /* defined(CYBSP_ENABLE_FLASH_STORAGE) */
101+
#endif
102102

103103
/* Enable global interrupts (disabled in CM4 startup assembly) */
104104
__enable_irq();
105105
#endif
106-
#if MBED_CONF_TARGET_XIP_ENABLE
107-
qspi_xip_start();
108-
#endif
109106

110107
#if defined (CY_CFG_PWR_SYS_IDLE_MODE)
111108
/* Configure the lowest power state the system is allowed to enter

targets/TARGET_Cypress/TARGET_PSOC6/xip_user.c

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)