Verified Commit cb3de08d authored by Rahix's avatar Rahix
Browse files

feat(epicardium): Switch to malloc heap



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 6a358342
......@@ -12,8 +12,10 @@
/* TODO: Adjust this for tickless idle */
#define configTICK_RATE_HZ ((portTickType)1000)
/* Memory */
#define configTOTAL_HEAP_SIZE ((size_t)(26 * 1024))
/* Memory
*
* Heap is managed by libc (heap_3.c).
*/
#define configMINIMAL_STACK_SIZE ((unsigned short)128)
#define configMAX_PRIORITIES 5
......
......@@ -48,6 +48,7 @@ api_dispatcher_lib = static_library(
freertos = static_library(
'freertos',
freertos_sources,
freertos_heap3,
dependencies: periphdriver,
include_directories: [
freertos_includes,
......
......@@ -3,6 +3,7 @@ name = 'hello-freertos'
freertos = static_library(
'freertos',
freertos_sources,
freertos_heap2,
freertos_cli_sources,
dependencies: periphdriver,
include_directories: [
......
......@@ -13,5 +13,12 @@ freertos_sources = files(
'./Source/timers.c',
'./Source/portable/GCC/ARM_CM4F/port.c',
)
freertos_heap2 = files(
'./Source/portable/MemMang/heap_2.c',
)
freertos_heap3 = files(
'./Source/portable/MemMang/heap_3.c',
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment