STM32F4 STM32_USB_PMA_SIZE missing

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
MobileWill
Posts: 27
Joined: Sat Jan 30, 2016 8:44 am

STM32F4 STM32_USB_PMA_SIZE missing

Post by MobileWill »

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.
User avatar
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

Post by Giovanni »

Hi,

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

Post by MobileWill »

Thanks, you are correct. I had both USB and OTG. I hadn't tried removing PMA when I removed the USB driver.
Post Reply