FATFS and HTTPD both define http_server_buff, wont link

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18137
Level 1
Level 1
First like received First solution authored
I'm trying to use FATFS with the HTTP_SERVER_RTOS_XMC47 DAVE 4.4.2 example project but when add FATFS it wont link because http_server_buff is declared in both httpd.c (line 412) and fs.c (line 60). Any clues as to how I'm supposed to resolve this problem?
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

I assume you are using a FAT_FS APP version previous to 4.0.14
In the release notes of FAT_FS:
4.0.14 10-Nov-2017 Fix compilation problems when FATFS is enabled
Fix C++ compilation issues

Please update your APPS, under Help>Check for DAVE APP Updates

Regards,
Jesus
0 Likes
User18137
Level 1
Level 1
First like received First solution authored
Thanks for that. Yes it's a version problem caused by the examples shipping with an old version of the APPS. Deleting the blocks from the example and dropping in fresh ones fixes the compilation problems, but the example now hangs. It's all very frustrating due to the lack of reliable documentation.
0 Likes