File tree Expand file tree Collapse file tree 19 files changed +79
-0
lines changed Expand file tree Collapse file tree 19 files changed +79
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ static const uint8_t DAC0 = PIN_DAC0;
108
108
109
109
#define ADC_RESOLUTION 12
110
110
111
+
112
+ // On-board SPI Flash
113
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
114
+ #define EXTERNAL_FLASH_USE_SPI SPI
115
+ #define EXTERNAL_FLASH_USE_CS SS
116
+
111
117
/*
112
118
* SPI Interfaces
113
119
*/
Original file line number Diff line number Diff line change @@ -125,6 +125,12 @@ static const uint8_t DAC0 = PIN_DAC0;
125
125
#define PIN_ATN (38ul)
126
126
static const uint8_t ATN = PIN_ATN ;
127
127
128
+
129
+ // On-board SPI Flash
130
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
131
+ #define EXTERNAL_FLASH_USE_SPI SPI1
132
+ #define EXTERNAL_FLASH_USE_CS SS1
133
+
128
134
/*
129
135
* Serial interfaces
130
136
*/
Original file line number Diff line number Diff line change @@ -186,6 +186,10 @@ static const uint8_t SCL = PIN_WIRE_SCL;
186
186
#define PIN_I2S_FS (10u)
187
187
#define PIN_I2S_MCK PIN_SERIAL1_RX
188
188
189
+ // On-board QSPI Flash
190
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
191
+ #define EXTERNAL_FLASH_USE_QSPI
192
+
189
193
//QSPI Pins
190
194
#define PIN_QSPI_SCK (34u)
191
195
#define PIN_QSPI_CS (35u)
Original file line number Diff line number Diff line change @@ -258,6 +258,10 @@ static const uint8_t SCL1 = PIN_WIRE1_SCL;
258
258
#define PIN_I2S_FS (33)
259
259
#define PIN_I2S_MCK PIN_SERIAL4_RX
260
260
261
+ // On-board QSPI Flash
262
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
263
+ #define EXTERNAL_FLASH_USE_QSPI
264
+
261
265
//QSPI Pins
262
266
#define PIN_QSPI_SCK (89)
263
267
#define PIN_QSPI_CS (90)
Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ static const uint8_t DAC0 = PIN_DAC0;
125
125
#define PIN_ATN (38ul)
126
126
static const uint8_t ATN = PIN_ATN ;
127
127
128
+ // On-board SPI Flash
129
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
130
+ #define EXTERNAL_FLASH_USE_SPI SPI1
131
+ #define EXTERNAL_FLASH_USE_CS SS1
132
+
128
133
/*
129
134
* Serial interfaces
130
135
*/
Original file line number Diff line number Diff line change @@ -187,6 +187,9 @@ static const uint8_t SCL = PIN_WIRE_SCL;
187
187
*/
188
188
#define I2S_INTERFACES_COUNT 0
189
189
190
+ // On-board QSPI Flash
191
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
192
+ #define EXTERNAL_FLASH_USE_QSPI
190
193
191
194
//QSPI Pins
192
195
#define PIN_QSPI_SCK (35u)
Original file line number Diff line number Diff line change @@ -118,6 +118,11 @@ static const uint8_t DAC0 = PIN_DAC0;
118
118
#define PIN_ATN (38ul)
119
119
static const uint8_t ATN = PIN_ATN ;
120
120
121
+ // On-board SPI Flash
122
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
123
+ #define EXTERNAL_FLASH_USE_SPI SPI1
124
+ #define EXTERNAL_FLASH_USE_CS SS1
125
+
121
126
/*
122
127
* Serial interfaces
123
128
*/
Original file line number Diff line number Diff line change @@ -174,6 +174,10 @@ static const uint8_t SCL = PIN_WIRE_SCL;
174
174
#define I2S_DEVICE 0
175
175
// no I2S on G19!
176
176
177
+ // On-board QSPI Flash
178
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
179
+ #define EXTERNAL_FLASH_USE_QSPI
180
+
177
181
//QSPI Pins
178
182
#define PIN_QSPI_SCK (32u)
179
183
#define PIN_QSPI_CS (33u)
Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ static const uint8_t DAC0 = PIN_DAC0;
125
125
#define PIN_ATN (38ul)
126
126
static const uint8_t ATN = PIN_ATN ;
127
127
128
+ // On-board SPI Flash
129
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
130
+ #define EXTERNAL_FLASH_USE_SPI SPI1
131
+ #define EXTERNAL_FLASH_USE_CS SS1
132
+
128
133
/*
129
134
* Serial interfaces
130
135
*/
Original file line number Diff line number Diff line change @@ -188,6 +188,10 @@ static const uint8_t SCL = PIN_WIRE_SCL;
188
188
#define PIN_I2S_FS (9u)
189
189
#define PIN_I2S_MCK (2u)
190
190
191
+ // On-board QSPI Flash
192
+ #define EXTERNAL_FLASH_DEVICES GD25Q16C
193
+ #define EXTERNAL_FLASH_USE_QSPI
194
+
191
195
//QSPI Pins
192
196
#define PIN_QSPI_SCK (41u)
193
197
#define PIN_QSPI_CS (42u)
You can’t perform that action at this time.
0 commit comments