diff --git a/Software/telemetry_system_recorder/prj.conf b/Software/telemetry_system_recorder/prj.conf index 9dfbe68..038191c 100644 --- a/Software/telemetry_system_recorder/prj.conf +++ b/Software/telemetry_system_recorder/prj.conf @@ -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 diff --git a/Software/telemetry_system_recorder/src/main.c b/Software/telemetry_system_recorder/src/main.c index baa2366..c1adc3d 100644 --- a/Software/telemetry_system_recorder/src/main.c +++ b/Software/telemetry_system_recorder/src/main.c @@ -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) diff --git a/Software/telemetry_system_transmitter/.vscode/settings.json b/Software/telemetry_system_transmitter/.vscode/settings.json index 554be35..792108b 100644 --- a/Software/telemetry_system_transmitter/.vscode/settings.json +++ b/Software/telemetry_system_transmitter/.vscode/settings.json @@ -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}" } \ No newline at end of file diff --git a/Software/telemetry_system_transmitter/src/task/udp_client.c b/Software/telemetry_system_transmitter/src/task/udp_client.c index a7dc127..c252c8b 100644 --- a/Software/telemetry_system_transmitter/src/task/udp_client.c +++ b/Software/telemetry_system_transmitter/src/task/udp_client.c @@ -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