I changed ENET_RXBD_NUM in the processor expert but I need to change TCPIP_MBOX_SIZE DEFAULT_UDP_RECVMBOX_SIZE, DEFAULT_TCP_RECVMBOX_SIZE, and DEFAULT_RAW_RECVMBOX_SIZE to handle the new value I set ENET_RXBD_NUM. How do I change these #defones using the processor expert?
I just tried that and I still get the warning. The problem is the define added in the "user settings" tab is put in lwipcfg.h and the define I am trying to change is still in lwipopts.h with the old value. I think the reason you are not seeing the warning is because you are setting DEFAULT_UDP_RECVMBOX_SIZE to the same value that is in lwipopts.h.
Hmm, that's strange, I used several values and the warning disappeared after rebuilding the project.
Regards,
Lukas
That gives a compiler warning. The other #define in lwipopts.h is set to old value.
C:/TestArea/BuoyOper/BuoyOper_Z4_0/Generated_Code/lwipcfg.h:113:0: warning: "DEFAULT_UDP_RECVMBOX_SIZE" redefined
#define DEFAULT_UDP_RECVMBOX_SIZE 20
You need to clean and rebuild the project. Then it should work.
Regards,
Lukas
Hi,
this can be added to User Settings like this:
Regards,
Lukas