CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
rtos_tasks.c File Reference
#include "main.h"
#include "rtos_tasks/rtos_task_helpers.h"
#include "rtos_tasks/rtos_tasks.h"
#include "telecommand_exec/telecommand_parser.h"
#include "telecommand_exec/telecommand_executor.h"
#include "debug_tools/debug_uart.h"
#include "timekeeping/timekeeping.h"
#include "uart_handler/uart_handler.h"
#include "transforms/arrays.h"
#include "stm32/stm32_reboot_reason.h"
#include "stm32/stm32_watchdog.h"
#include "log/log.h"
#include "config/configuration.h"
#include "eps_drivers/eps_commands.h"
#include "obc_systems/external_led_and_rbf.h"
#include "cmsis_os.h"
#include <string.h>
#include <stdio.h>
#include <time.h>
Include dependency graph for rtos_tasks.c:

Functions

void TASK_DEBUG_print_heartbeat (void *argument)
void TASK_execute_telecommands (void *argument)
void TASK_monitor_freertos_memory (void *argument)

Variables

uint32_t TASK_heartbeat_period_ms = 10990
 The period of the heartbeat task, in milliseconds. 0 to disable.
uint32_t TCMD_max_consecutive_burst_execution_size = 3
 Execute this many telecommands back-to-back when they come due, if they're available.
static char current_time_str [30] = {0}
static char main_response_output_buffer [TCMD_MAX_RESPONSE_BUFFER_LENGTH]

Function Documentation

◆ TASK_DEBUG_print_heartbeat()

void TASK_DEBUG_print_heartbeat ( void * argument)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TASK_execute_telecommands()

void TASK_execute_telecommands ( void * argument)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TASK_monitor_freertos_memory()

void TASK_monitor_freertos_memory ( void * argument)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ current_time_str

char current_time_str[30] = {0}
static

◆ main_response_output_buffer

char main_response_output_buffer[TCMD_MAX_RESPONSE_BUFFER_LENGTH]
static

◆ TASK_heartbeat_period_ms

uint32_t TASK_heartbeat_period_ms = 10990

The period of the heartbeat task, in milliseconds. 0 to disable.

◆ TCMD_max_consecutive_burst_execution_size

uint32_t TCMD_max_consecutive_burst_execution_size = 3

Execute this many telecommands back-to-back when they come due, if they're available.

Increase this past 3 to execute commands faster (e.g., during bulk uplink).

Note
Default: 3.