shadow578 / framework-hc32f46x-ddl

HUADA DDL for PlatformIO
GNU General Public License v3.0
4 stars 4 forks source link

feat: add options to configure stack and heap size #7

Closed shadow578 closed 7 months ago

shadow578 commented 7 months ago

the stack and heap sizes can be configured using the DDL_STACK_SIZE and DDL_HEAP_SIZE defines.

Define Default Description
DDL_STACK_SIZE 0x400 the size of the stack
DDL_HEAP_SIZE 0xC00 the size of the heap

example:

[env:myenv]
# ...
build_flags = -D DDL_STACK_SIZE=0x800 -D DDL_HEAP_SIZE=0x1000