Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


You are viewing a reply to HTTPD Server - fsdata.c issue  

HTTPD Server - fsdata.c issue

France

Hi ray,

I don’t think Dreamweaver has anything to do with the problem, but the fact that you do not call MX_LWIP_Process fast enough; The problem is probably rather created as the Dreamweaver-generated file is a lot bigger.

You should rather code you main loop as follows:
while (1)
{
    MX_LWIP_Process();
    if (ticks == 0xFFFF)
    {
        ticks = 500;
        HAL_GPIO_TogglePin(GPIOD, LED1);
        HAL_GPIO_TogglePin(GPIOD, LED2);
    }
}

Bernard (Ac6)