fixed opcua demo exception and added mac address with showip command

This commit is contained in:
wlyu
2022-01-10 16:21:32 +08:00
parent b6bec0c2b6
commit 6972a14f6d
4 changed files with 22 additions and 12 deletions
@@ -81,9 +81,6 @@
#include "enet_ethernetif.h"
#include <transform.h>
/* MAC address configuration. */
#define configMAC_ADDR { 0x02, 0x12, 0x13, 0x10, 0x15, 0x11}
char lwip_ipaddr[] = {192, 168, 250, 253};
char lwip_netmask[] = {255, 255, 255, 0};
char lwip_gwaddr[] = {192, 168, 250, 252};
@@ -90,6 +90,10 @@
#define GW_ADDR1 168
#define GW_ADDR2 250
#define GW_ADDR3 5
/* MAC address configuration. */
#define configMAC_ADDR { 0x02, 0x12, 0x13, 0x10, 0x15, 0x11}
/* USER CODE END 0 */
#define SYS_MBOX_NULL -1