|
|
|
@ -26,7 +26,10 @@ |
|
|
|
|
|
|
|
/* Private includes ----------------------------------------------------------*/ |
|
|
|
/* USER CODE BEGIN Includes */ |
|
|
|
|
|
|
|
#include "common_cfg.h" |
|
|
|
#ifdef MEM_POOL_TOTAL_SIZE |
|
|
|
#include "common.h" |
|
|
|
#endif |
|
|
|
/* USER CODE END Includes */ |
|
|
|
|
|
|
|
/* Private typedef -----------------------------------------------------------*/ |
|
|
|
@ -58,7 +61,7 @@ const osThreadAttr_t defaultTask_attributes = { |
|
|
|
|
|
|
|
/* Private function prototypes -----------------------------------------------*/ |
|
|
|
/* USER CODE BEGIN FunctionPrototypes */ |
|
|
|
|
|
|
|
void Myprint_Init(void); |
|
|
|
/* USER CODE END FunctionPrototypes */ |
|
|
|
|
|
|
|
void StartDefaultTask(void *argument); |
|
|
|
@ -133,6 +136,14 @@ void MX_FREERTOS_Init(void) { |
|
|
|
|
|
|
|
/* USER CODE BEGIN RTOS_THREADS */ |
|
|
|
/* add threads, ... */ |
|
|
|
#ifdef MEM_POOL_TOTAL_SIZE |
|
|
|
void W25QXX_Init(void); |
|
|
|
W25QXX_Init(); |
|
|
|
RD_INIT(); |
|
|
|
#ifdef USE_PRINT |
|
|
|
Myprint_Init(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
MyTask_Init(); |
|
|
|
Drv_InterfaceInit(); |
|
|
|
/* USER CODE END RTOS_THREADS */ |
|
|
|
|