Skip to content

Commit c07a158

Browse files
authored
Add esp32s3-spiram-octo-16mb variant. (#84)
1 parent 40812ba commit c07a158

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright (C) 2025 Toit contributors.
2+
#
3+
# This library is free software; you can redistribute it and/or
4+
# modify it under the terms of the GNU Lesser General Public
5+
# License as published by the Free Software Foundation; version
6+
# 2.1 only.
7+
#
8+
# This library is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+
# Lesser General Public License for more details.
12+
#
13+
# The license can be found in the file `LICENSE` in the top level
14+
# directory of this repository.
15+
16+
# Partition Table for Toit.
17+
18+
# Name, Type, SubType, Offset, Size
19+
# bootloader,, , 0x000000, 0x008000
20+
# partitions,, , 0x008000, 0x000c00
21+
secure, 0x42, 0x00, 0x009000, 0x004000,
22+
otadata, data, ota, , 0x002000,
23+
phy_init, data, phy, , 0x001000,
24+
ota_0, app, ota_0, , 0x1a0000,
25+
ota_1, app, ota_1, , 0x1a0000,
26+
nvs, data, nvs, , 0x010000,
27+
programs, 0x40, 0x00, , 0x0a0000, encrypted
28+
data, 0x41, 0x00, , 0xC00000, encrypted
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--- toit/toolchains/esp32s3/sdkconfig.defaults
2+
+++ synthesized/esp32s3-spiram-octo-16mb/sdkconfig.defaults
3+
@@ -6,7 +6,7 @@
4+
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
5+
CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y
6+
CONFIG_APP_COMPILE_TIME_DATE=n
7+
-CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
8+
+CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
9+
CONFIG_PARTITION_TABLE_CUSTOM=y
10+
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
11+
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
12+
@@ -32,6 +32,7 @@
13+
CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n
14+
CONFIG_ESP_PHY_REDUCE_TX_POWER=y
15+
CONFIG_SPIRAM=y
16+
+CONFIG_SPIRAM_MODE_OCT=y
17+
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
18+
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
19+
CONFIG_ESP_INT_WDT=n

0 commit comments

Comments
 (0)