Skip to content

Commit d9a84c4

Browse files
Yossi LevyYossi Levy
authored andcommitted
Remove SPI_PERSISTENT_MEM_CS macro and replace it with SPI_CS
1 parent eddd2b1 commit d9a84c4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

components/storage/blockdevice/COMPONENT_DATAFLASH/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"SPI_MOSI": "SPI_MOSI",
55
"SPI_MISO": "SPI_MISO",
66
"SPI_CLK": "SPI_SCK",
7-
"SPI_CS": "SPI_PERSISTENT_MEM_CS",
7+
"SPI_CS": "SPI_CS",
88
"SPI_FREQ": "40000000",
99
"binary-size": {
1010
"help": "Configure device to use binary address space.",

components/storage/blockdevice/COMPONENT_SD/config/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sd",
33
"config": {
4-
"SPI_CS": "SPI_PERSISTENT_MEM_CS",
4+
"SPI_CS": "SPI_CS",
55
"SPI_MOSI": "SPI_MOSI",
66
"SPI_MISO": "SPI_MISO",
77
"SPI_CLK": "SPI_SCK",

components/storage/blockdevice/COMPONENT_SPIF/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"SPI_MOSI": "SPI_MOSI",
55
"SPI_MISO": "SPI_MISO",
66
"SPI_CLK": "SPI_SCK",
7-
"SPI_CS": "SPI_PERSISTENT_MEM_CS",
7+
"SPI_CS": "SPI_CS",
88
"SPI_FREQ": "40000000"
99
},
1010
"target_overrides": {

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/TARGET_FRDM/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ typedef enum {
176176
SPI_MOSI = PTE2,
177177
SPI_MISO = PTE4,
178178
SPI_SCK = PTE1,
179-
SPI_PERSISTENT_MEM_CS = PTE5,
179+
SPI_CS = PTE5,
180180

181181
/**** QSPI FLASH pins ****/
182182
QSPI_FLASH1_IO0 = PTE2,

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ typedef enum {
246246
SPI_MOSI = PTE3,
247247
SPI_MISO = PTE1,
248248
SPI_SCK = PTE2,
249-
SPI_PERSISTENT_MEM_CS = PTE4,
249+
SPI_CS = PTE4,
250250

251251
// Not connected
252252
NC = (int)0xFFFFFFFF

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_HEXIWEAR/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ typedef enum {
218218
SPI_MOSI = PTE3,
219219
SPI_MISO = PTE1,
220220
SPI_SCK = PTE2,
221-
SPI_PERSISTENT_MEM_CS = PTE4,
221+
SPI_CS = PTE4,
222222

223223
// Not connected
224224
NC = (int)0xFFFFFFFF

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_RAPIDIOT/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ typedef enum {
227227
SPI_MOSI = PTC6,
228228
SPI_MISO = PTC7,
229229
SPI_SCK = PTC5,
230-
SPI_PERSISTENT_MEM_CS = PTC4,
230+
SPI_CS = PTC4,
231231

232232
DAC0_OUT = 0xFEFE, /* DAC does not have Pin Name in RM */
233233
// Not connected

0 commit comments

Comments
 (0)