Ignore:
Timestamp:
Feb 3, 2025, 3:27:37 PM (3 months ago)
Author:
Zed
Message:

LwIP was removed from the project.

Location:
ctrl/firmware/Main/SES/Core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/SES/Core/Inc/fan_thread.h

    r66 r77  
    11#ifndef __FAN_THREAD_H
    22#define __FAN_THREAD_H
    3 
    4 #include "tx_api.h"
    53
    64#ifdef __cplusplus
  • ctrl/firmware/Main/SES/Core/Src/main_task.cpp

    r76 r77  
    55#include "task.h"
    66
    7 #include "lwip.h"
    8 
    97#include "ff.h"
    108#include "fatfs.h"
    119#include "main_task.h"
    1210#include "utils.h"
     11
     12#include "dhcp.h"
    1313
    1414
     
    2222
    2323static FATFS fs;// __attribute__((section(".DTCM_RAM")));     // Filesystem object
     24static uint8_t dhcp_buffer[256];
    2425
    2526FRESULT scan_files (TCHAR* path);
     
    3233        (void)argument;
    3334
    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();
    3543
    3644    FRESULT  r = f_mount(&fs, (const TCHAR*)"", 1);            // Mount the default drive
Note: See TracChangeset for help on using the changeset viewer.