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,

For posting code you could place them between {CODE()} and {CODE} that will present it like this:
for (f = FS_ROOT; f != NULL; f = f->next) {
    if (!strcmp(name, (const char *)f->name)) { data = (const char *)f->data;
        file->len = f->len;

The violet color is an attempt (usually failed) of the Wysiwig editor to highlight syntax...

Regarding your problem, it looks like fsdata.c is #included by fs.c and also compiled separately by System Workbench for Linux. You can try right-click on fsdata.c then select “Properties” and in “C/C++ Build” and tick the “Exclude resource from build” checkbox.

I’ve already seen other cases where include files were incorrectly given the “.c” extension, leading to such an errors.

Hope this helps,

Bernard (Ac6)