Skip to content
Snippets Groups Projects
Verified Commit cb3de08d authored by rahix's avatar rahix
Browse files

feat(epicardium): Switch to malloc heap


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 6a358342
No related branches found
No related tags found
No related merge requests found
......@@ -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',
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment