Open peterharperuk opened 1 year ago
Hello, The examples on Internet for HTTPD has problems or errors when you try to compile them. Please, add an example made from Raspberry.org Thanks.
This is an example of error without solution when you compile the demos software from internet. To solve this problem, you need to know too much the lwIP to solve this problem.
assignment to 'struct fsdata_file ' from incompatible pointer type 'struct fs_file ' [-Werror=incompatible-pointer-types]
struct fsdata_file { const struct fsdata_file next; const unsigned char name; const unsigned char *data; int len; u8_t flags;
u16_t chksum_count; const struct fsdata_chksum *chksum;
};
struct fs_file { const char data; int len; int index; / pextension is free for implementations to hold private (extensional) arbitrary data, e.g. holding some file state or file system handle / fs_file_extension pextension;
const struct fsdata_chksum *chksum; u16_t chksum_count;
u8_t flags;
u8_t is_custom_file;
void *state;
};
Please, add an example made from Raspberry.org
I don't understand this - sorry. It compiled fine last time I tried it. Maybe you can include the steps that led up to your problem?
I added this for some reason - may as well have another free rtos example?