Skip to content

Commit da10ddf

Browse files
committed
update for ESP32-S3-BOX-3
1 parent 9c4b2ec commit da10ddf

File tree

3 files changed

+66
-73
lines changed

3 files changed

+66
-73
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
3rd stage graphical bootloader which let's you pick an applications whic are stored in OTA partitions.
44

5+
The default configuration for ESP32-S3-BOX-3.
6+
7+
For M5Stack-CoreS3 - uncomment BSP in `idf_component.yml`
8+
59

610
## Build
711

main/idf_component.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
description: ESP32 Graphical Bootloader
22

33
dependencies:
4-
m5stack_core_s3:
5-
version: "^1.0.0"
4+
#m5stack_core_s3:
5+
# version: "^1.0.0"
6+
esp-box-3:
7+
version: "^1.1.3"

sdkconfig

Lines changed: 58 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,15 @@ CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM=y
597597
CONFIG_EFUSE_MAX_BLK_LEN=256
598598
# end of eFuse Bit Manager
599599

600+
#
601+
# ADC and ADC Calibration
602+
#
603+
# CONFIG_ADC_ONESHOT_CTRL_FUNC_IN_IRAM is not set
604+
# CONFIG_ADC_CONTINUOUS_ISR_IRAM_SAFE is not set
605+
# CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 is not set
606+
# CONFIG_ADC_ENABLE_DEBUG_LOG is not set
607+
# end of ADC and ADC Calibration
608+
600609
#
601610
# Common ESP-related
602611
#
@@ -1262,14 +1271,6 @@ CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=y
12621271
# CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE is not set
12631272
# end of Newlib
12641273

1265-
#
1266-
# NVS
1267-
#
1268-
# CONFIG_NVS_ENCRYPTION is not set
1269-
# CONFIG_NVS_ASSERT_ERROR_CHECK is not set
1270-
# CONFIG_NVS_LEGACY_DUP_KEYS_COMPATIBILITY is not set
1271-
# end of NVS
1272-
12731274
#
12741275
# PThreads
12751276
#
@@ -1425,7 +1426,40 @@ CONFIG_WL_SECTOR_SIZE=4096
14251426
# end of Wear Levelling
14261427

14271428
#
1428-
# Board Support Package
1429+
# ESP LCD TOUCH
1430+
#
1431+
CONFIG_ESP_LCD_TOUCH_MAX_POINTS=5
1432+
CONFIG_ESP_LCD_TOUCH_MAX_BUTTONS=1
1433+
# end of ESP LCD TOUCH
1434+
1435+
#
1436+
# CMake Utilities
1437+
#
1438+
# CONFIG_CU_RELINKER_ENABLE is not set
1439+
# CONFIG_CU_DIAGNOSTICS_COLOR_NEVER is not set
1440+
CONFIG_CU_DIAGNOSTICS_COLOR_ALWAYS=y
1441+
# CONFIG_CU_DIAGNOSTICS_COLOR_AUTO is not set
1442+
# CONFIG_CU_GCC_LTO_ENABLE is not set
1443+
# CONFIG_CU_GCC_STRING_1BYTE_ALIGN is not set
1444+
# end of CMake Utilities
1445+
1446+
#
1447+
# Audio Codec Device Configuration
1448+
#
1449+
CONFIG_CODEC_ES8311_SUPPORT=y
1450+
CONFIG_CODEC_ES7210_SUPPORT=y
1451+
CONFIG_CODEC_ES7243_SUPPORT=y
1452+
CONFIG_CODEC_ES7243E_SUPPORT=y
1453+
CONFIG_CODEC_ES8156_SUPPORT=y
1454+
CONFIG_CODEC_AW88298_SUPPORT=y
1455+
CONFIG_CODEC_ES8374_SUPPORT=y
1456+
CONFIG_CODEC_ES8388_SUPPORT=y
1457+
CONFIG_CODEC_TAS5805M_SUPPORT=y
1458+
# CONFIG_CODEC_ZL38063_SUPPORT is not set
1459+
# end of Audio Codec Device Configuration
1460+
1461+
#
1462+
# Board Support Package(ESP-BOX-3)
14291463
#
14301464
CONFIG_BSP_ERROR_CHECK=y
14311465

@@ -1457,10 +1491,12 @@ CONFIG_BSP_SD_MOUNT_POINT="/sdcard"
14571491
# Display
14581492
#
14591493
CONFIG_BSP_DISPLAY_BRIGHTNESS_LEDC_CH=1
1494+
CONFIG_BSP_LCD_DRAW_BUF_HEIGHT=100
1495+
# CONFIG_BSP_LCD_DRAW_BUF_DOUBLE is not set
14601496
# end of Display
14611497

14621498
CONFIG_BSP_I2S_NUM=1
1463-
# end of Board Support Package
1499+
# end of Board Support Package(ESP-BOX-3)
14641500

14651501
#
14661502
# LVGL configuration
@@ -1766,68 +1802,19 @@ CONFIG_LV_USE_SNAPSHOT=y
17661802
# end of LVGL configuration
17671803

17681804
#
1769-
# Audio Codec Device Configuration
1770-
#
1771-
CONFIG_CODEC_ES8311_SUPPORT=y
1772-
CONFIG_CODEC_ES7210_SUPPORT=y
1773-
CONFIG_CODEC_ES7243_SUPPORT=y
1774-
CONFIG_CODEC_ES7243E_SUPPORT=y
1775-
CONFIG_CODEC_ES8156_SUPPORT=y
1776-
CONFIG_CODEC_AW88298_SUPPORT=y
1777-
CONFIG_CODEC_ES8374_SUPPORT=y
1778-
CONFIG_CODEC_ES8388_SUPPORT=y
1779-
CONFIG_CODEC_TAS5805M_SUPPORT=y
1780-
# CONFIG_CODEC_ZL38063_SUPPORT is not set
1781-
# end of Audio Codec Device Configuration
1782-
1805+
# IoT Button
17831806
#
1784-
# Camera configuration
1785-
#
1786-
CONFIG_OV7670_SUPPORT=y
1787-
CONFIG_OV7725_SUPPORT=y
1788-
CONFIG_NT99141_SUPPORT=y
1789-
CONFIG_OV2640_SUPPORT=y
1790-
CONFIG_OV3660_SUPPORT=y
1791-
CONFIG_OV5640_SUPPORT=y
1792-
CONFIG_GC2145_SUPPORT=y
1793-
CONFIG_GC032A_SUPPORT=y
1794-
CONFIG_GC0308_SUPPORT=y
1795-
CONFIG_BF3005_SUPPORT=y
1796-
CONFIG_BF20A6_SUPPORT=y
1797-
# CONFIG_SC101IOT_SUPPORT is not set
1798-
CONFIG_SC030IOT_SUPPORT=y
1799-
# CONFIG_SC031GS_SUPPORT is not set
1800-
# CONFIG_SCCB_HARDWARE_I2C_PORT0 is not set
1801-
CONFIG_SCCB_HARDWARE_I2C_PORT1=y
1802-
CONFIG_SCCB_CLK_FREQ=100000
1803-
# CONFIG_GC_SENSOR_WINDOWING_MODE is not set
1804-
CONFIG_GC_SENSOR_SUBSAMPLE_MODE=y
1805-
CONFIG_CAMERA_TASK_STACK_SIZE=2048
1806-
CONFIG_CAMERA_CORE0=y
1807-
# CONFIG_CAMERA_CORE1 is not set
1808-
# CONFIG_CAMERA_NO_AFFINITY is not set
1809-
CONFIG_CAMERA_DMA_BUFFER_SIZE_MAX=32768
1810-
# CONFIG_CAMERA_CONVERTER_ENABLED is not set
1811-
# CONFIG_LCD_CAM_ISR_IRAM_SAFE is not set
1812-
# end of Camera configuration
1813-
1814-
#
1815-
# ESP LCD TOUCH
1816-
#
1817-
CONFIG_ESP_LCD_TOUCH_MAX_POINTS=5
1818-
CONFIG_ESP_LCD_TOUCH_MAX_BUTTONS=1
1819-
# end of ESP LCD TOUCH
1820-
1821-
#
1822-
# CMake Utilities
1823-
#
1824-
# CONFIG_CU_RELINKER_ENABLE is not set
1825-
# CONFIG_CU_DIAGNOSTICS_COLOR_NEVER is not set
1826-
CONFIG_CU_DIAGNOSTICS_COLOR_ALWAYS=y
1827-
# CONFIG_CU_DIAGNOSTICS_COLOR_AUTO is not set
1828-
# CONFIG_CU_GCC_LTO_ENABLE is not set
1829-
# CONFIG_CU_GCC_STRING_1BYTE_ALIGN is not set
1830-
# end of CMake Utilities
1807+
CONFIG_BUTTON_PERIOD_TIME_MS=5
1808+
CONFIG_BUTTON_DEBOUNCE_TICKS=2
1809+
CONFIG_BUTTON_SHORT_PRESS_TIME_MS=180
1810+
CONFIG_BUTTON_LONG_PRESS_TIME_MS=1500
1811+
CONFIG_BUTTON_LONG_PRESS_TOLERANCE_MS=20
1812+
CONFIG_BUTTON_SERIAL_TIME_MS=20
1813+
# CONFIG_GPIO_BUTTON_SUPPORT_POWER_SAVE is not set
1814+
CONFIG_ADC_BUTTON_MAX_CHANNEL=3
1815+
CONFIG_ADC_BUTTON_MAX_BUTTON_PER_CHANNEL=8
1816+
CONFIG_ADC_BUTTON_SAMPLE_TIMES=1
1817+
# end of IoT Button
18311818
# end of Component config
18321819

18331820
# CONFIG_IDF_EXPERIMENTAL_FEATURES is not set

0 commit comments

Comments
 (0)