Skip to content

Commit

Permalink
Increase default stack, heap, and JSON buff sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
bandogora committed Dec 17, 2024
1 parent 61f045c commit ed2f0fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ CONFIG_SNTP=y
# Set mem sizes
# Needs to be larger than expected routes JSON, see app.conf.
# Currently set to double the size because we have plenty of memory.
CONFIG_MAIN_STACK_SIZE=20480
CONFIG_MAIN_STACK_SIZE=32768
# Increase heap size for networking operations
CONFIG_HEAP_MEM_POOL_SIZE=1024
CONFIG_HEAP_MEM_POOL_SIZE=4096

# MCUBOOT
CONFIG_BOOTLOADER_MCUBOOT=y
Expand Down
2 changes: 1 addition & 1 deletion app/sign.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CONFIG_STOP_REQUEST_PATH="/InfoPoint/rest/SignageStopDepartures/GetSignageDepart
# Defines the max size for JSON response body receive buffer.
# Actual size required varies quite a bit depending on how many routes
# are currently running for a given stop.
CONFIG_STOP_JSON_BUF_SIZE=10240
CONFIG_STOP_JSON_BUF_SIZE=20480

# NTP settings
CONFIG_PRIMARY_NTP_SERVER="time.nist.gov"
Expand Down

0 comments on commit ed2f0fa

Please sign in to comment.