mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 07:00:05 +08:00
Merge branch 'feature/add_throughput_mode' into 'master'
Add full icache mode See merge request sdk/ESP8266_RTOS_SDK!352
This commit is contained in:
@ -105,6 +105,8 @@
|
||||
* Note 0x80000000 is the lower address so appears in the array first.
|
||||
*
|
||||
*/
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -363,8 +365,10 @@ static bool is_inited = false;
|
||||
xHeapRegions[0].pucStartAddress = ( uint8_t * )&_heap_start;
|
||||
xHeapRegions[0].xSizeInBytes = (( size_t)( 0x40000000 - (uint32_t)&_heap_start));
|
||||
|
||||
#ifndef CONFIG_SOC_FULL_ICACHE
|
||||
xHeapRegions[1].pucStartAddress = ( uint8_t * )&_lit4_end;
|
||||
xHeapRegions[1].xSizeInBytes = (( size_t)( 0x4010C000 - (uint32_t)&_lit4_end));
|
||||
#endif
|
||||
|
||||
is_inited = true;
|
||||
vPortDefineHeapRegions(xHeapRegions);
|
||||
|
Reference in New Issue
Block a user