Update FreeRTOS configuration and enhance upper computer AI documentation
- Increased total heap size in FreeRTOSConfig.h from 10000 to 18000. - Modified stack sizes for various tasks in freertos.c to improve performance: - initTask: 128 to 256 - CarCtrlTask: 256 to 1024 - timerTask: 512 to 1024 - sr04Task: 128 to 512 - rc522Task: 128 to 512 - Added comprehensive upper computer AI guide for TCP client implementation, detailing protocol contracts, command sets, telemetry, architecture requirements, and error handling strategies. - Introduced a Python web upper computer AI guide with a recommended tech stack and project structure. - Created a Chinese version of the upper computer AI guide for local developers. - Updated STM32 project configuration to reflect new task stack sizes and heap settings. - Adjusted configuration files for various tools to ensure compatibility with the new project structure.
This commit is contained in:
@@ -60,35 +60,35 @@
|
||||
osThreadId_t initTaskHandle;
|
||||
const osThreadAttr_t initTask_attributes = {
|
||||
.name = "initTask",
|
||||
.stack_size = 128 * 4,
|
||||
.stack_size = 256 * 4,
|
||||
.priority = (osPriority_t) osPriorityNormal,
|
||||
};
|
||||
/* Definitions for CarCtrlTask */
|
||||
osThreadId_t CarCtrlTaskHandle;
|
||||
const osThreadAttr_t CarCtrlTask_attributes = {
|
||||
.name = "CarCtrlTask",
|
||||
.stack_size = 256 * 4,
|
||||
.stack_size = 1024 * 4,
|
||||
.priority = (osPriority_t) osPriorityNormal,
|
||||
};
|
||||
/* Definitions for timerTask */
|
||||
osThreadId_t timerTaskHandle;
|
||||
const osThreadAttr_t timerTask_attributes = {
|
||||
.name = "timerTask",
|
||||
.stack_size = 512 * 4,
|
||||
.stack_size = 1024 * 4,
|
||||
.priority = (osPriority_t) osPriorityBelowNormal,
|
||||
};
|
||||
/* Definitions for sr04Task */
|
||||
osThreadId_t sr04TaskHandle;
|
||||
const osThreadAttr_t sr04Task_attributes = {
|
||||
.name = "sr04Task",
|
||||
.stack_size = 128 * 4,
|
||||
.stack_size = 512 * 4,
|
||||
.priority = (osPriority_t) osPriorityLow,
|
||||
};
|
||||
/* Definitions for rc522Task */
|
||||
osThreadId_t rc522TaskHandle;
|
||||
const osThreadAttr_t rc522Task_attributes = {
|
||||
.name = "rc522Task",
|
||||
.stack_size = 128 * 4,
|
||||
.stack_size = 512 * 4,
|
||||
.priority = (osPriority_t) osPriorityBelowNormal,
|
||||
};
|
||||
/* Definitions for CmdQueue */
|
||||
|
||||
Reference in New Issue
Block a user