Changeset 105 for ctrl/firmware/Main/CubeMX/Core
- Timestamp:
- Feb 25, 2025, 11:43:07 AM (3 months ago)
- Location:
- ctrl/firmware/Main/CubeMX/Core/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/CubeMX/Core/Src/freertos.c
r88 r105 37 37 #include "onewire_task.h" 38 38 #include "bme_task.h" 39 #include "gui_task.h" 39 40 40 41 /* USER CODE END Includes */ … … 55 56 #define ONEWIRE_TASK_STACK_DEPTH_WORDS (128U) 56 57 #define BME_TASK_STACK_DEPTH_WORDS (256U) 58 #define GUI_TASK_STACK_DEPTH_WORDS (2048U) 57 59 58 60 /* USER CODE END PD */ … … 72 74 static StackType_t onewireTaskStackBuffer[ONEWIRE_TASK_STACK_DEPTH_WORDS] __attribute__((section(".DTCM_RAM"))); 73 75 static StackType_t bmeTaskStackBuffer[BME_TASK_STACK_DEPTH_WORDS] __attribute__((section(".DTCM_RAM"))); 76 static StackType_t guiTaskStackBuffer[GUI_TASK_STACK_DEPTH_WORDS] __attribute__((section(".DTCM_RAM"))); 74 77 75 78 static uint8_t beeperQueueStorageArea[BEEPER_QUEUE_SIZE * BEEPER_QUEUE_ITEM_SIZE] __attribute__((section(".DTCM_RAM"))); … … 82 85 static StaticTask_t onewireTaskBuffer __attribute__((section(".DTCM_RAM"))); 83 86 static StaticTask_t bmeTaskBuffer __attribute__((section(".DTCM_RAM"))); 87 static StaticTask_t guiTaskBuffer __attribute__((section(".DTCM_RAM"))); 84 88 85 89 static StaticQueue_t beeperQueueBuffer __attribute__((section(".DTCM_RAM"))); … … 92 96 static const char* const onewireTaskName = "1WireTask"; 93 97 static const char* const bmeTaskName = "BMETask"; 98 static const char* const guiTaskName = "GUITask"; 94 99 95 100 /* USER CODE END Variables */ … … 197 202 if (r == NULL) printf("Cannot create %s!\n", bmeTaskName); 198 203 204 r = xTaskCreateStatic(guiTaskStart, guiTaskName, GUI_TASK_STACK_DEPTH_WORDS, NULL, 24, guiTaskStackBuffer, &guiTaskBuffer); 205 if (r == NULL) printf("Cannot create %s!\n", guiTaskName); 206 199 207 /* USER CODE END RTOS_THREADS */ 200 208 -
ctrl/firmware/Main/CubeMX/Core/Src/spi.c
r79 r105 79 79 /* USER CODE BEGIN SPI4_Init 0 */ 80 80 81 // This SPI module is used to control the Display 82 81 83 /* USER CODE END SPI4_Init 0 */ 82 84
Note: See TracChangeset
for help on using the changeset viewer.