File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ size_t ICACHE_RAM_ATTR xPortGetFreeHeapSize(void)
37
37
return umm_free_heap_size ();
38
38
}
39
39
40
+ size_t ICACHE_RAM_ATTR xPortWantedSizeAlign (size_t size )
41
+ {
42
+ return (size + 3 ) & ~((size_t ) 3 );
43
+ }
44
+
40
45
void system_show_malloc (void )
41
46
{
42
47
umm_info (NULL , 1 );
Original file line number Diff line number Diff line change 3
3
After updating SDK libraries to a new version, do the following changes.
4
4
5
5
6
- 1 . Weaken symbols from mem_manager.o to use custom heap implementation
6
+ 1 . Remove mem_manager.o from libmain.a to use custom heap implementation
7
7
8
8
``` bash
9
- xtensa-lx106-elf-ar -x libmain.a mem_manager.o
10
- xtensa-lx106-elf-objcopy --weaken mem_manager.o
11
- xtensa-lx106-elf-ar -r libmain.a mem_manager.o
12
- rm mem_manager.o
9
+ xtensa-lx106-elf-ar -d libmain.a mem_manager.o
13
10
```
You can’t perform that action at this time.
0 commit comments