mirror of https://github.com/rusefi/openblt.git
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:
parent
248ed03904
commit
64c4c86d3a
|
@ -131,7 +131,7 @@ XMC_ETH_MAC_t eth_mac =
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void netdev_init(void)
|
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;
|
XMC_GPIO_CONFIG_t gpio_config;
|
||||||
gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW;
|
gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW;
|
||||||
gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE;
|
gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE;
|
||||||
|
|
|
@ -131,8 +131,8 @@ XMC_ETH_MAC_t eth_mac =
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void netdev_init(void)
|
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_confi;
|
XMC_GPIO_CONFIG_t gpio_config;
|
||||||
gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW;
|
gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW;
|
||||||
gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE;
|
gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue