Other Parts Discussed in Thread: DP83869
Problem Statement:
Can you please share steps to configure Static IP with MCU+ SDK enet_lwip_cpsw or enet_lwip_icssg example ?
Regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Problem Statement:
Can you please share steps to configure Static IP with MCU+ SDK enet_lwip_cpsw or enet_lwip_icssg example ?
Regards
Solution:
Static IP configuration steps for lwip icssg/cpsw example: ( Note: Below is for ICSSG example same can be done for cpsw example also)
1. Uncomment following macro in file mcu_plus_sdk\examples\networking\lwip\enet_lwip_icssg\lwipcfg.h
mcu_plus_sdk\examples\networking\lwip\enet_lwip_icssg\lwipcfg.h
2. For setting the IP address, Default gateway and Subnet mask use following lines in file mcu_plus_sdk\examples\networking\lwip\enet_lwip_icssg\lwipcfg.h
Test to ensure configuration was successful:
1. CCS log in uart terminal will print the local dhcp address as:
ping 192.168.1.200