Loading...
 
Skip to main content

System Workbench for STM32


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:
Copy to clipboard
while (1) { MX_LWIP_Process(); if (ticks == 0xFFFF) { ticks = 500; HAL_GPIO_TogglePin(GPIOD, LED1); HAL_GPIO_TogglePin(GPIOD, LED2); } }

Bernard (Ac6)