Skip to content

Commit

Permalink
Update sdkconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Slider0007 committed Jul 19, 2024
1 parent ac928a9 commit 8236d29
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 0 deletions.
33 changes: 33 additions & 0 deletions code/sdkconfig.freenove-esp32s3-debug.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Bootloader config
#
CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y
CONFIG_BOOTLOADER_LOG_LEVEL=2
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=n


#
# LWIP
#
CONFIG_LWIP_ESP_LWIP_ASSERT=y


#
# Hardware Abstraction Layer (HAL) and Low Level (LL)
#
CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y


#
# Log output
#
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y


#
# Common ESP-related
#
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
16 changes: 16 additions & 0 deletions code/sdkconfig.freenove-esp32s3-task-analysis.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# FreeRTOS Kernel
#
CONFIG_FREERTOS_USE_TRACE_FACILITY=1
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y


#
# Heap memory debugging
#
CONFIG_HEAP_TRACING_STANDALONE=y
# CONFIG_HEAP_POISONING_LIGHT=y
# CONFIG_HEAP_TASK_TRACKING=y
# CONFIG_HEAP_POISONING_COMPREHENSIVE=y

46 changes: 46 additions & 0 deletions code/sdkconfig.freenove-esp32s3.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
##################################################
# Application and board specific configuration
# Edit this file instead of sdkconfig.{board_type}!
# After editing make sure to explicitly delete
# sdkconfig.{board_type} to apply your changes!
##################################################

#
# Serial flasher config
#
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y


#
# Partition Table
#
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
CONFIG_PARTITION_TABLE_MD5=y


#
# Common ESP-related
#
CONFIG_ESP_ERR_TO_NAME_LOOKUP=n
CONFIG_ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY=n


#
# SPI RAM config
#
CONFIG_SPIRAM_SIZE=-1
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_SPIRAM_BOOT_INIT=y
CONFIG_SPIRAM_USE_MALLOC=y
CONFIG_SPIRAM_MEMTEST=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=8192
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=131072
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=n
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=n

0 comments on commit 8236d29

Please sign in to comment.