soc: esp32s2: SPIRAM: remove unused configs
and updates hal_espressif's revision. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
89ec6f6863
commit
c5857dc0cd
4 changed files with 4 additions and 6 deletions
2
samples/boards/esp32/spiram_test/boards/esp32.conf
Normal file
2
samples/boards/esp32/spiram_test/boards/esp32.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
CONFIG_ESP_HEAP_MEM_POOL_REGION_1_SIZE=100000
|
||||
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n
|
|
@ -1,5 +1,3 @@
|
|||
CONFIG_ESP_SPIRAM=y
|
||||
CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD=2048
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=98304
|
||||
CONFIG_ESP_HEAP_MEM_POOL_REGION_1_SIZE=100000
|
||||
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n
|
||||
|
|
|
@ -30,7 +30,7 @@ extern void z_cstart(void);
|
|||
extern void z_bss_zero(void);
|
||||
extern void rtc_clk_cpu_freq_set_xtal(void);
|
||||
|
||||
#if CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
|
||||
#if CONFIG_ESP_SPIRAM
|
||||
extern int _ext_ram_bss_start;
|
||||
extern int _ext_ram_bss_end;
|
||||
#endif
|
||||
|
@ -176,9 +176,7 @@ void __attribute__((section(".iram1"))) __start(void)
|
|||
printk("SPIRAM size is less than configured size, aborting.\n");
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
|
||||
memset(&_ext_ram_bss_start,
|
||||
0,
|
||||
(&_ext_ram_bss_end - &_ext_ram_bss_start) * sizeof(_ext_ram_bss_start));
|
||||
|
|
2
west.yml
2
west.yml
|
@ -67,7 +67,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_espressif
|
||||
revision: c8a4101133dd7a77e118a23b0c03c765c8a55ba7
|
||||
revision: c4a591c35385be59a41cde7efc85fe7660172979
|
||||
path: modules/hal/espressif
|
||||
west-commands: west/west-commands.yml
|
||||
groups:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue