STM32F4 STM32_USB_PMA_SIZE missing
Moderator: RoccoMarco
-
MobileWill
- Posts: 27
- Joined: Sat Jan 30, 2016 8:44 am
STM32F4 STM32_USB_PMA_SIZE missing
Just a FYI that the #define STM32_USB_PMA_SIZE is missing from the stm32_registry for the STM32F4. I added it and got serial USB working. I assumed a size of 768 not sure if that is correct.
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: STM32F4 STM32_USB_PMA_SIZE missing
Hi,
That key is only required by the USBv1 driver, F4 uses OTGv1. You should not get an error because that.
Giovanni
That key is only required by the USBv1 driver, F4 uses OTGv1. You should not get an error because that.
Giovanni
-
MobileWill
- Posts: 27
- Joined: Sat Jan 30, 2016 8:44 am
Re: STM32F4 STM32_USB_PMA_SIZE missing
Thanks, you are correct. I had both USB and OTG. I hadn't tried removing PMA when I removed the USB driver.