modified: .vscode/settings.json
modified: src/W25QXXArduino/w25qxx.h modified: .vscode/arduino.json modified: spi_test.inosecond
parent
43698f06d2
commit
b6a85e1a67
|
@ -9,6 +9,8 @@
|
|||
"unordered_map": "cpp",
|
||||
"vector": "cpp",
|
||||
"string_view": "cpp",
|
||||
"initializer_list": "cpp"
|
||||
"initializer_list": "cpp",
|
||||
"list": "cpp",
|
||||
"unordered_set": "cpp"
|
||||
}
|
||||
}
|
|
@ -32,7 +32,7 @@ extern uint16_t W25QXX_TYPE; //
|
|||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
//端口定义
|
||||
#define ESP32S3
|
||||
#define ESP32S3
|
||||
|
||||
#ifdef ESP32 //choose ESP32
|
||||
#define NORFLASH_CS_PIN 5
|
||||
|
@ -41,10 +41,10 @@ extern uint16_t W25QXX_TYPE; //
|
|||
#define NORFLASH_MISO_PIN 19
|
||||
#endif
|
||||
#ifdef ESP32S3 //choose ESP32S3
|
||||
#define NORFLASH_CS_PIN 34
|
||||
#define NORFLASH_CLK_PIN 36
|
||||
#define NORFLASH_MOSI_PIN 35
|
||||
#define NORFLASH_MISO_PIN 37
|
||||
#define NORFLASH_CS_PIN 10
|
||||
#define NORFLASH_CLK_PIN 12
|
||||
#define NORFLASH_MOSI_PIN 11
|
||||
#define NORFLASH_MISO_PIN 13
|
||||
#endif
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//SPI相关设定
|
||||
|
|
Loading…
Reference in New Issue