fix: 统一R8工程目标并修复MDK编译前置问题

This commit is contained in:
2026-03-30 13:14:37 +08:00
parent 4996b451d9
commit 7ee96bc08d
17 changed files with 555 additions and 26 deletions
+2 -1
View File
@@ -65,7 +65,7 @@
#define configTICK_RATE_HZ ((TickType_t)1000)
#define configMAX_PRIORITIES ( 56 )
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
#define configTOTAL_HEAP_SIZE ((size_t)16384) /* 16KB for LwIP + application */
#define configTOTAL_HEAP_SIZE ((size_t)8192) /* Fit R8 RAM budget with dynamic tasks */
#define configMAX_TASK_NAME_LEN ( 16 )
#define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0
@@ -75,6 +75,7 @@
#define configUSE_COUNTING_SEMAPHORES 1
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
#define configUSE_STREAM_BUFFERS 1 /* Enable StreamBuffer for UART data transfer */
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 1
/* Co-routine definitions. */
#define configUSE_CO_ROUTINES 0
+5 -5
View File
@@ -50,11 +50,11 @@
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* Task stack sizes (words, not bytes) */
#define LWIP_TASK_STACK_SIZE 512
#define TCP_SERVER_TASK_STACK_SIZE 384
#define TCP_CLIENT_TASK_STACK_SIZE 384
#define UART_TRANS_TASK_STACK_SIZE 256
#define CONFIG_TASK_STACK_SIZE 384
#define LWIP_TASK_STACK_SIZE 384
#define TCP_SERVER_TASK_STACK_SIZE 320
#define TCP_CLIENT_TASK_STACK_SIZE 320
#define UART_TRANS_TASK_STACK_SIZE 192
#define CONFIG_TASK_STACK_SIZE 256
#define DEFAULT_TASK_STACK_SIZE 128
/* Task priorities */