Skip to content

Commit

Permalink
Add boad config and platformio envs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzomir committed Dec 31, 2024
1 parent c402299 commit 76c8f83
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 4 deletions.
45 changes: 45 additions & 0 deletions boards/esp32-s3-JC3248W535EN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"build": {
"arduino": {
"ldscript": "esp32s3_out.ld",
"partitions": "default_16MB.csv",
"memory_type": "qio_opi"
},
"core": "esp32",
"extra_flags": [
"-DBOARD_HAS_PSRAM",
"-DARDUINO_USB_MODE=1",
"-D JC3248W535",
"-D CONFIG_HEAP_TLSF_USE_32BIT_PTR=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [["0x303A", "0x1001"]],
"mcu": "esp32s3",
"variant": "esp32s3",
"psram_size": "8MB"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"debug": {
"default_tool": "esp-builtin",
"onboard_tools": ["esp-builtin"],
"openocd_target": "esp32s3.cfg"
},
"frameworks": ["arduino", "espidf"],
"name": "JC3248W535EN(16M QIO Flash & 8M OPI PSRAM)",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 921600
},
"url": "https://www.espressif.com",
"vendor": "GUITION"
}
25 changes: 21 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
boards_dir = boards
src_dir = src

[env:denky32]
[env]
lib_deps =
zinggjm/GxEPD2@^1.5.3
https://github.com/gonzomir/NMEAParser#parse-multiple-gnss

[env:eink]
platform = espressif32
board = denky32
framework = arduino
Expand All @@ -18,6 +26,15 @@ monitor_speed = 115200
monitor_filters =
default
time
lib_deps =
zinggjm/GxEPD2@^1.5.3
https://github.com/gonzomir/NMEAParser#parse-multiple-gnss
build_flags =
-D EINK

[env:tft]
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF5
board = esp32-s3-JC3248W535EN
framework = arduino
upload_protocol = esptool
upload_speed = 921600
monitor_speed = 115200
build_flags =
-D TFT

0 comments on commit 76c8f83

Please sign in to comment.