Changeset 77 for ctrl/firmware/Main/SES/Core
- Timestamp:
- Feb 3, 2025, 3:27:37 PM (3 months ago)
- Location:
- ctrl/firmware/Main/SES/Core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/SES/Core/Inc/fan_thread.h
r66 r77 1 1 #ifndef __FAN_THREAD_H 2 2 #define __FAN_THREAD_H 3 4 #include "tx_api.h"5 3 6 4 #ifdef __cplusplus -
ctrl/firmware/Main/SES/Core/Src/main_task.cpp
r76 r77 5 5 #include "task.h" 6 6 7 #include "lwip.h"8 9 7 #include "ff.h" 10 8 #include "fatfs.h" 11 9 #include "main_task.h" 12 10 #include "utils.h" 11 12 #include "dhcp.h" 13 13 14 14 … … 22 22 23 23 static FATFS fs;// __attribute__((section(".DTCM_RAM"))); // Filesystem object 24 static uint8_t dhcp_buffer[256]; 24 25 25 26 FRESULT scan_files (TCHAR* path); … … 32 33 (void)argument; 33 34 34 MX_LWIP_Init(); 35 HAL_GPIO_WritePin(ETH_SPI_PWR_GPIO_Port, ETH_SPI_PWR_Pin, GPIO_PIN_RESET); 36 vTaskDelay(pdMS_TO_TICKS(100U)); 37 HAL_GPIO_WritePin(ETH_SPI_RST_GPIO_Port, ETH_SPI_RST_Pin, GPIO_PIN_SET); 38 vTaskDelay(pdMS_TO_TICKS(65U)); // Min 60.3ms 39 40 DHCP_init(0, dhcp_buffer); 41 42 //MX_LWIP_Init(); 35 43 36 44 FRESULT r = f_mount(&fs, (const TCHAR*)"", 1); // Mount the default drive
Note: See TracChangeset
for help on using the changeset viewer.