forked from rzeldent/platformio-espressif32-sunton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
esp32-2424S012N.json
76 lines (76 loc) · 2.53 KB
/
esp32-2424S012N.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"build": {
"arduino": {
"ldscript": "esp32c3_out.ld"
},
"core": "esp32",
"f_cpu": "160000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"extra_flags": [
"'-D ARDUINO_ESP32C3_DEV'",
"'-D ARDUINO_USB_MODE=1'",
"'-D ARDUINO_USB_CDC_ON_BOOT=1'",
"'-D ESP32_2424S012N'",
"'-D DISPLAY_WIDTH=240'",
"'-D DISPLAY_HEIGHT=240'",
"'-D LVGL_BUFFER_PIXELS=(DISPLAY_WIDTH*DISPLAY_HEIGHT/4)'",
"'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'",
"'-D GPIO_BCKL=3'",
"'-D DISPLAY_IPS'",
"'-D DISPLAY_GC9A01_SPI'",
"'-D GC9A01_SPI_HOST=SPI2_HOST'",
"'-D GC9A01_SPI_DMA_CHANNEL=SPI_DMA_CH_AUTO'",
"'-D GC9A01_SPI_BUS_MOSI_IO_NUM=7'",
"'-D GC9A01_SPI_BUS_MISO_IO_NUM=GPIO_NUM_NC'",
"'-D GC9A01_SPI_BUS_SCLK_IO_NUM=6'",
"'-D GC9A01_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'",
"'-D GC9A01_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'",
"'-D GC9A01_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'",
"'-D GC9A01_SPI_BUS_FLAGS=0'",
"'-D GC9A01_SPI_BUS_INTR_FLAGS=0'",
"'-D GC9A01_SPI_CONFIG_CS_GPIO_NUM=10'",
"'-D GC9A01_SPI_CONFIG_DC_GPIO_NUM=2'",
"'-D GC9A01_SPI_CONFIG_SPI_MODE=SPI_MODE0'",
"'-D GC9A01_SPI_CONFIG_PCLK_HZ=80000000'",
"'-D GC9A01_SPI_CONFIG_TRANS_QUEUE_DEPTH=10'",
"'-D GC9A01_SPI_CONFIG_LCD_CMD_BITS=8'",
"'-D GC9A01_SPI_CONFIG_LCD_PARAM_BITS=8'",
"'-D GC9A01_SPI_CONFIG_FLAGS_DC_AS_CMD_PHASE=false'",
"'-D GC9A01_SPI_CONFIG_FLAGS_DC_LOW_ON_DATA=false'",
"'-D GC9A01_SPI_CONFIG_FLAGS_OCTAL_MODE=false'",
"'-D GC9A01_SPI_CONFIG_FLAGS_LSB_FIRST=false'",
"'-D GC9A01_DEV_CONFIG_RESET_GPIO_NUM=GPIO_NUM_NC'",
"'-D GC9A01_DEV_CONFIG_COLOR_SPACE=ESP_LCD_COLOR_SPACE_BGR'",
"'-D GC9A01_DEV_CONFIG_BITS_PER_PIXEL=16'",
"'-D GC9A01_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'",
"'-D GC9A01_DEV_CONFIG_VENDOR_CONFIG=NULL'",
"'-D DISPLAY_SWAP_XY=false'",
"'-D DISPLAY_MIRROR_X=true'",
"'-D DISPLAY_MIRROR_Y=false'"
],
"mcu": "esp32c3",
"variant": "esp32c3"
},
"connectivity": [
"wifi",
"bluetooth"
],
"debug": {
"openocd_target": "esp32c3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "esp32-2424S012N",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.aliexpress.com/item/1005005453515690.html",
"vendor": "Sunton"
}