Added custom board definition
This commit is contained in:
52
RotaxMonitor/boards/esp32-s3-n16r8.json
Normal file
52
RotaxMonitor/boards/esp32-s3-n16r8.json
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"build": {
|
||||||
|
"arduino": {
|
||||||
|
"ldscript": "esp32s3_out.ld",
|
||||||
|
"partitions": "default_16MB.csv",
|
||||||
|
"memory_type": "qio_opi"
|
||||||
|
},
|
||||||
|
"core": "esp32",
|
||||||
|
"extra_flags": [
|
||||||
|
"-DARDUINO_ESP32S3_DEV",
|
||||||
|
"-DARDUINO_RUNNING_CORE=1",
|
||||||
|
"-DARDUINO_EVENT_RUNNING_CORE=1",
|
||||||
|
"-DBOARD_HAS_PSRAM",
|
||||||
|
"-DARDUINO_USB_MODE=1",
|
||||||
|
"-DARDUINO_USB_CDC_ON_BOOT=0"
|
||||||
|
],
|
||||||
|
"f_cpu": "240000000L",
|
||||||
|
"f_flash": "80000000L",
|
||||||
|
"flash_mode": "qio",
|
||||||
|
"psram_type": "opi",
|
||||||
|
"hwids": [
|
||||||
|
["0x303A", "0x1001"]
|
||||||
|
],
|
||||||
|
"mcu": "esp32s3",
|
||||||
|
"variant": "esp32s3"
|
||||||
|
},
|
||||||
|
"connectivity": [
|
||||||
|
"bluetooth",
|
||||||
|
"wifi"
|
||||||
|
],
|
||||||
|
"debug": {
|
||||||
|
"default_tool": "esp-builtin",
|
||||||
|
"onboard_tools": [
|
||||||
|
"esp-builtin"
|
||||||
|
],
|
||||||
|
"openocd_target": "esp32s3.cfg"
|
||||||
|
},
|
||||||
|
"frameworks": [
|
||||||
|
"arduino",
|
||||||
|
"espidf"
|
||||||
|
],
|
||||||
|
"name": "ESP32-S3 WROOM (16MB Flash / 8MB PSRAM / USB HOST)",
|
||||||
|
"upload": {
|
||||||
|
"flash_size": "16MB",
|
||||||
|
"maximum_ram_size": 327680,
|
||||||
|
"maximum_size": 16777216,
|
||||||
|
"require_upload_port": true,
|
||||||
|
"speed": 921600
|
||||||
|
},
|
||||||
|
"url": "https://www.pcb-hero.com/blogs/lickys-column/esp32-s3-chip-definition-pinout-processor-application-and-development-board",
|
||||||
|
"vendor": "Custom"
|
||||||
|
}
|
||||||
6
RotaxMonitor/partitions/default_16MB.csv
Normal file
6
RotaxMonitor/partitions/default_16MB.csv
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
|
app0, app, ota_0, 0x10000, 0x700000,
|
||||||
|
app1, app, ota_1, 0x710000,0x700000,
|
||||||
|
spiffs, data, spiffs, 0xE10000,0x1F0000,
|
||||||
|
@@ -8,27 +8,39 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[env:esp32-s3-devkitc1-n8r8]
|
[env:esp32-s3-n16r8]
|
||||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip
|
||||||
board = esp32-s3-devkitc1-n8r8
|
board = esp32-s3-n16r8
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
hideakitai/DebugLog@^0.8.4
|
hideakitai/DebugLog@^0.8.4
|
||||||
bblanchon/ArduinoJson@^7.4.2
|
bblanchon/ArduinoJson@^7.4.2
|
||||||
|
hideakitai/PCA95x5@^0.1.3
|
||||||
|
adafruit/Adafruit SSD1306@^2.5.16
|
||||||
|
board_build.partitions = partitions/default_16MB.csv
|
||||||
|
board_build.psram = enabled
|
||||||
|
monitor_speed = 115200
|
||||||
|
upload_speed = 921600
|
||||||
build_type = release
|
build_type = release
|
||||||
|
|
||||||
[env:esp32-s3-devkitc1-n8r8-debug]
|
[env:esp32-s3-n16r8-debug]
|
||||||
platform = ${env:esp32-s3-devkitc1-n8r8.platform}
|
platform = ${env:esp32-s3-n16r8.platform}
|
||||||
board = ${env:esp32-s3-devkitc1-n8r8.board}
|
board = ${env:esp32-s3-n16r8.board}
|
||||||
framework = ${env:esp32-s3-devkitc1-n8r8.framework}
|
framework = ${env:esp32-s3-n16r8.framework}
|
||||||
lib_deps = ${env:esp32-s3-devkitc1-n8r8.lib_deps}
|
lib_deps =
|
||||||
|
${env:esp32-s3-n16r8.lib_deps}
|
||||||
|
hideakitai/PCA95x5@^0.1.3
|
||||||
|
adafruit/Adafruit SSD1306@^2.5.16
|
||||||
|
board_build.partitions = partitions/default_16MB.csv
|
||||||
|
board_build.psram = enabled
|
||||||
|
monitor_speed = 115200
|
||||||
|
upload_speed = 921600
|
||||||
build_type = debug
|
build_type = debug
|
||||||
build_flags =
|
build_flags =
|
||||||
-O0
|
-O0
|
||||||
-g3
|
-g3
|
||||||
-ggdb
|
-ggdb
|
||||||
-fno-inline
|
-fno-inline
|
||||||
-fno-ipa-sra
|
-fno-ipa-sra
|
||||||
-fno-tree-sra
|
-fno-tree-sra
|
||||||
-fno-builtin
|
-fno-builtin
|
||||||
|
|||||||
Reference in New Issue
Block a user