mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 04:22:25 +00:00
esp32-c3 EPD
This commit is contained in:
10
ESP32_ePaperDisplay-Node/.vscode/settings.json
vendored
10
ESP32_ePaperDisplay-Node/.vscode/settings.json
vendored
@@ -2,6 +2,12 @@
|
|||||||
"idf.portWin": "COM15",
|
"idf.portWin": "COM15",
|
||||||
"idf.adapterTargetName": "esp32",
|
"idf.adapterTargetName": "esp32",
|
||||||
"idf.openOcdConfigs": [
|
"idf.openOcdConfigs": [
|
||||||
"board/esp32-bridge.cfg"
|
"board/esp32c3-builtin.cfg"
|
||||||
]
|
],
|
||||||
|
"idf.customExtraVars": {
|
||||||
|
"OPENOCD_SCRIPTS": "c:\\Users\\alex\\esp\\tools\\openocd-esp32\\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts",
|
||||||
|
"IDF_CCACHE_ENABLE": "1",
|
||||||
|
"ESP_ROM_ELF_DIR": "c:\\Users\\alex\\esp\\tools\\esp-rom-elfs\\20240305/",
|
||||||
|
"IDF_TARGET": "esp32c3"
|
||||||
|
}
|
||||||
}
|
}
|
@@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
[env:esp32doit-devkit-v1]
|
[env:esp32doit-devkit-v1]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32doit-devkit-v1
|
;board = esp32doit-devkit-v1
|
||||||
|
board = esp32-c3-devkitm-1
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
@@ -30,8 +30,8 @@
|
|||||||
//GxEPD_Class display(io, /*RST=*/ 16, /*BUSY=*/ 4); // arbitrary selection of (16), 4
|
//GxEPD_Class display(io, /*RST=*/ 16, /*BUSY=*/ 4); // arbitrary selection of (16), 4
|
||||||
|
|
||||||
// == ESP32-C3
|
// == ESP32-C3
|
||||||
GxIO_Class io(SPI, /*CS=5*/ SS, /*DC=*/ 17, /*RST=*/ 16); // arbitrary selection of 17, 16
|
GxIO_Class io(SPI, /*CS=5*/ 3, /*DC=*/ 5, /*RST=*/ 2); // arbitrary selection of 17, 16
|
||||||
GxEPD_Class display(io, /*RST=*/ 16, /*BUSY=*/ 4); // arbitrary selection of (16), 4
|
GxEPD_Class display(io, /*RST=*/ 2, /*BUSY=*/4 /*7*/); // arbitrary selection of (16), 4
|
||||||
|
|
||||||
|
|
||||||
//GxIO_Class io(SPI, SS, 22, 21);
|
//GxIO_Class io(SPI, SS, 22, 21);
|
||||||
|
Reference in New Issue
Block a user