You can consider using #ifdef with a macro that would identify the LWIP version. The macros which are not needed would be greyed out.
I hope you got my question that i am trying to compile both LwIPs in my project at same time.
I am thinking of renaming pre-processor directives in WICED LwIP 2.0.3 so that no clash happens with LwIP 2.1.2 macros.
My concern is about the 'Number' of macros present.
It seems not a good way to rename 3781 macros present in LwIP 2.0.3.
Any better idea can you suggest?
1 of 2 people found this helpful
We recommend that only the upgraded LwIP version should be kept because other than redefining the macros, there is no other solution to this issue. The 3781 macros can be used again by WICED without worrying about redefining them. Only the LwIP macros, functions, structures used by WICED but not defined by upgraded LwIP need to be changed.