I am trying to run the FreeRTOS LwIP example for ARM on my Sharc Audio Module (ADZS-SC589-MINI) board. I have followed each of the steps indicated in the user guide, but when I build the project, the CCES console shows an error message related with the redifinition of 'struct timeval'. This is what the console displays:
Moving to FreeRTOS community
Thanks for your information, and now we create a page about how to run LwIP on FreeRTOS for SAM (ADSP-SC589-MINI) Board based your requirements here:
Hopes this page can solve the problems and if you have any questions or requirements, please let me know.
Thanks & Regards
How can I apply the changes contained in patch files?
Yeah, it's really a little complicated to apply the patch files on Windows. As for me, I use the GIT Bash (for windows) command line to apply these patches, but I think the changes of the two need patches "dp83867_INT_PWDN_pint_fix_for_sc589_mini.patch" and "0001_lwip_fix_for_multi_define_timeval_in_lwip_and_cces.patch" are not very much, you can just modify the corresponding files directly according to sections 2.1 and 2.2 of the PDF document. And a soft reminding that please make a backup of the source file in CCES for a convenient recovery if you need before modifying it.
Please let me know if you need any further assistance.
Thanks & Regards
I try to apply the patch files with GIT Bash, but without succeed. So, I want to manually apply the changes according to sections 2.1 and 2.2, but I am not really sure about the changes that I have to do...
Should I remove the code lines shown in red and add the ones shown in blue? Or, just add the code lines shown in blue?