Skip to content

Commit

Permalink
disable HIMEM (external > 4mb ram) not used (#1864)
Browse files Browse the repository at this point in the history
#force disable HIMEM as not used in default config, can be enabled with [env:esp32cam-dev-himem]
#free 256kb of internal memory :
#I (2112) esp_himem: Initialized. Using last 8 32KB address blocks for bank switching on 4352 KB of physical memory.
CONFIG_SPIRAM_BANKSWITCH_ENABLE=n
#CONFIG_SPIRAM_BANKSWITCH_RESERVE is not set
  • Loading branch information
nliaudat authored Jan 18, 2023
1 parent 17eb382 commit d99c2ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ CONFIG_GC0308_SUPPORT=n
CONFIG_BF3005_SUPPORT=n

#only necessary for task analysis (include/defines -> TASK_ANALYSIS_ON)
#set in [env:esp32cam-dev-task-analysis]
#CONFIG_FREERTOS_USE_TRACE_FACILITY=1
#CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
#CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y

#force disable HIMEM as not used in default config, can be enabled with [env:esp32cam-dev-himem]
#free 256kb of internal memory :
#I (2112) esp_himem: Initialized. Using last 8 32KB address blocks for bank switching on 4352 KB of physical memory.
CONFIG_SPIRAM_BANKSWITCH_ENABLE=n
#CONFIG_SPIRAM_BANKSWITCH_RESERVE is not set

0 comments on commit d99c2ce

Please sign in to comment.