Skip to content

Commit

Permalink
Merge pull request #4 from Valais-Wallis-Racing-Team/release
Browse files Browse the repository at this point in the history
More memory for the stacks
  • Loading branch information
svankappel authored Jul 6, 2024
2 parents e769a07 + e5b27ec commit 029503e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Software/telemetry_system_recorder/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ CONFIG_BOARD_ENABLE_DCDC_NET=n


# Memories
CONFIG_MAIN_STACK_SIZE=32768
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=196608
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=16384

# Debugging
CONFIG_STACK_SENTINEL=y
Expand Down
7 changes: 0 additions & 7 deletions Software/telemetry_system_recorder/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
//#include "task/gps_controller.h"


//message heap for udp queue
K_HEAP_DEFINE(messageHeap,32768);

//udp queue
K_QUEUE_DEFINE(udpQueue);


//--------------------------------------------------------------------------
// main
int main(void)
Expand Down
3 changes: 2 additions & 1 deletion Software/telemetry_system_transmitter/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"data_logger.h": "c",
"gps_controller.h": "c"
},
"nrf-connect.toolchain.path": "${nrf-connect.toolchain:2.3.0}"
"nrf-connect.toolchain.path": "${nrf-connect.toolchain:2.3.0}",
"nrf-connect.topdir": "${nrf-connect.sdk:2.3.0}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ LOG_MODULE_REGISTER(udp);
#include "config_read.h"

//! Stack size for the UDP_SERVER thread
#define UDP_CLIENT_STACK_SIZE 2048
#define UDP_CLIENT_STACK_SIZE 8192
//! UDP_SERVER thread priority level
#define UDP_CLIENT_PRIORITY 3
//! Time in miliseconds to wait to send the UDP message since the board
Expand Down

0 comments on commit 029503e

Please sign in to comment.