From 64c4c86d3a669bd02dc1c834db993713d8eeea25 Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Thu, 12 Jan 2023 14:41:19 +0000 Subject: [PATCH] Refs #1289. Added USB support to the Infineon XMC4 port and configured the XMC4700 Relax Kit demo programs for additional firmware updates via USB. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@1013 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- .../Boot/Libraries/uip/netdev.c | 2 +- .../Prog/Libraries/uip/netdev.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c index 2383861a..a34fef21 100644 --- a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c +++ b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c @@ -131,7 +131,7 @@ XMC_ETH_MAC_t eth_mac = /*---------------------------------------------------------------------------*/ void netdev_init(void) { - XMC_ETH_MAC_PORT_CTRL_t port_control = { 0 }; + XMC_ETH_MAC_PORT_CTRL_t port_control; XMC_GPIO_CONFIG_t gpio_config; gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW; gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE; diff --git a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c index 78ad4eed..d11cde76 100644 --- a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c +++ b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c @@ -131,8 +131,8 @@ XMC_ETH_MAC_t eth_mac = /*---------------------------------------------------------------------------*/ void netdev_init(void) { - XMC_ETH_MAC_PORT_CTRL_t port_control = { 0 }; - XMC_GPIO_CONFIG_t gpio_confi; + XMC_ETH_MAC_PORT_CTRL_t port_control; + XMC_GPIO_CONFIG_t gpio_config; gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW; gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE;