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
This commit is contained in:
Frank Voorburg 2023-01-12 14:41:19 +00:00
parent 248ed03904
commit 64c4c86d3a
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;