AnsweredAssumed Answered

CubeMX LWIP Middleware Generated Code

Question asked by la_greca.emilio on Feb 12, 2015
Latest reply on Feb 13, 2015 by E. A.
I am having a problem with LWIP code.  From MX tool I enable DNS so that LWIP_DNS is defined as 1 in lwipopts.h file yet this is not detected in any of the files. For example in netdb.c:


LWIP_DNS comes up as being 0 (incorrect) whereas LWIP_SOCKET comes up as being 1 (correct).

A search of LWIP_SOCKET locates this in lwipopts.h whereas a search of LWIP_DNS results in it not being found in lwipopts.h - Very strange.

The relevant paths are included in the project.  I am using TrueSTUDIO 4.3.1.

Has anyone else seen this problem?