Thanks Giovanni,
Changing
#define STM32_USB_USE_OTG1 TRUE
#define STM32_USB_USE_OTG2 FALSE
to
#define STM32_USB_USE_OTG1 FALSE
#define STM32_USB_USE_OTG2 TRUE
in mcuconfig.h and changing
static const SerialUSBConfig serusbcfg = {
&USBD1
};
to
static const SerialUSBConfig serusbcfg ...
Search found 2 matches
- Sun Jan 13, 2013 11:29 pm
- Forum: STM32 Support
- Topic: Olimex STM32-H407 USB
- Replies: 2
- Views: 5611
- Sun Jan 13, 2013 5:57 pm
- Forum: STM32 Support
- Topic: Olimex STM32-H407 USB
- Replies: 2
- Views: 5611
Olimex STM32-H407 USB
I am in the process of porting the ARMCM4-STM32F407-LWIP-FATFS-USB demo to the STM32-H407 board. I removed all the code relating to Ethernet and changed board.h to reflect changes in the I/O configuration.
/*
* GPIOA setup:
*
* PA0 - BUTTON_WKUP (input floating).
* PA1 - PIN1 (input ...
/*
* GPIOA setup:
*
* PA0 - BUTTON_WKUP (input floating).
* PA1 - PIN1 (input ...