Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   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 get more information from the ac6-tools website and download (registration required) various documents highlighting:

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)