Skip to content

Commit

Permalink
Enable heap size from CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 committed Nov 29, 2019
1 parent 0757c0e commit b7b88a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
#define CONFIG_BLOCK_ADDRESS (2048 * (64-1))
#define MCU_ID_ADDRESS 0x1FFF7A10
#define MCU_FLASH_SIZE_ADDRESS 0x1FFF7A22
#define FREERTOS_HEAP_SIZE 40000
#ifndef FREERTOS_HEAP_SIZE
#define FREERTOS_HEAP_SIZE 40000
#endif
#define FREERTOS_MIN_STACK_SIZE 150 // M4-FPU register setup is bigger so stack needs to be bigger
#define FREERTOS_MCU_CLOCK_HZ 168000000

Expand Down

0 comments on commit b7b88a2

Please sign in to comment.