Commit Graph

2928 Commits

Author SHA1 Message Date
dragonmux
cdd8f2adac stm32/h7: Implemented support for the Flash controller having untangled the previous pretending it was the F2/F4 controller mess 2025-07-11 20:26:35 -07:00
dragonmux
ee418f1780 usb: Fixed the USB string descriptor internal type appearing and being defined for C++ code, the unsized array member is UB in C++ 2025-07-11 20:26:35 -07:00
dragonmux
c31a239ae3 stm32/h7: Defined variant identification constants 2025-07-11 20:26:35 -07:00
dragonmux
7079ffdcac stm32/h7: Defined the device electronic signature addresses foro the memory map 2025-07-11 20:26:35 -07:00
dragonmux
cd906e97e4 usb/dwc: Fixed the definitions in the DWC common header not being wrapped in BEGIN_DECLS and END_DECLS 2025-07-11 20:26:35 -07:00
dragonmux
da0a6a9ce4 usb/dwc: Fixed some type conversions errors in the common header 2025-07-11 20:26:35 -07:00
dragonmux
24cdca8101 usb/dwc: Enable the STM32H7 in the DWC2 support 2025-07-11 20:26:35 -07:00
dragonmux
903720f6dc stm32/h7: Added a couple of missing U(S)ART defines to the USART header 2025-07-11 20:26:35 -07:00
dragonmux
83e571db67 stm32/h7: Fixed the QuadSPI headers not working with multiple peripehrals 2025-07-11 20:26:35 -07:00
dragonmux
c38a37c387 stm32/h7: Sorted a couple of missing peripheral register clock set cases 2025-07-11 20:26:35 -07:00
dragonmux
d294ebf746 stm32/h7: Added various missing peripherals to the RCC header 2025-07-11 20:26:35 -07:00
dragonmux
93423cbd9b stm32/h7: Enabled DWC2-based USB support for the platform 2025-07-11 20:26:35 -07:00
dragonmux
5baf6c9957 stm32/h7: Corrected the memory map, adding in base addresses for peripherals found on the value line parts 2025-07-11 20:26:35 -07:00
dragonmux
36326945c9 stm32/h7/rcc: Fixed a typo in one of the docs comments for the clocking configuration structure 2025-07-11 20:26:35 -07:00
blutack
bb152f3ab7 Enable fifos on G4 2025-07-11 19:28:40 -07:00
blutack
6778da3659 Add LPUART1 definition to usart.h for stm32g4x
Add LPUART1 definition for the STM32G4xx LPUART. It is possible to use LPUART1_BASE, but without the LPUART1 definition, usart_set_baudrate will calculate BRR incorrectly and the UART will not work due to an ifdef.
Tested and working @ 115200 on a NUCLEO-G474RE.
2025-07-11 19:28:40 -07:00
dragonmux
dc3f9cbcbd cm3/vector: Made the vector table and reset handler declarations LTO-safe by marking them used 2025-07-11 19:18:13 -07:00
dragonmux
133a1ddfaf cortexm-m-generic: Make the linker script LTO-safe by making sure the vector table is always retained 2025-07-11 19:18:13 -07:00
dragonmux
547b7c0e72 stm32/st_usbfs_v2: Fixed the use of pointer maths on void pointers in the packet I/O code 2025-07-11 19:18:13 -07:00
dragonmux
d7d6c3742c usb/usb_lm4f: Fixed the use of pointer maths on void pointers in the packet I/O code 2025-07-11 19:18:13 -07:00
dragonmux
6c6f926aee usb/usb_lm4f: Removed the unnecessary and standards-forbidden (void *) casts from the callback registrations 2025-07-11 19:18:13 -07:00
dragonmux
6ef29be9dd usb/usb_dwc_common: Removed the unnecessary and standards-forbidden (void *) casts from the callback registrations 2025-07-11 19:18:13 -07:00
dragonmux
a50a15e660 stm32/common: Removed the unnecessary and standards-forbidden (void *) casts from the callback registrations 2025-07-11 19:18:13 -07:00
dragonmux
5864756482 stm32/timer: Exposed the new OC mode functions in the header 2025-07-11 19:15:56 -07:00
dragonmux
345b20fb9f stm32/timer: Moved the OC4 mode logic into its own function 2025-07-11 19:15:56 -07:00
dragonmux
1254cb8cc8 stm32/timer: Moved the OC3 mode logic into its own function 2025-07-11 19:15:56 -07:00
dragonmux
a058f77434 stm32/timer: Moved the OC2 mode logic into its own function 2025-07-11 19:15:56 -07:00
dragonmux
f2a1f2b6ae stm32/timer: Moved the OC1 mode logic into its own function 2025-07-11 19:15:56 -07:00
dragonmux
130ea30f52 usb/bos: Fixed how the BOS registration function is provided so it works with C++ code 2025-07-11 19:14:29 -07:00
dragonmux
2fca2a11e9 usb_control: Cleaned up the usb_control_send_chunk() logic slightly to make for easier reading 2025-07-11 19:14:29 -07:00
dragonmux
4ea6f34450 efm32: Added the new USB implementation objects to the build systems for the lineup 2025-07-11 19:14:29 -07:00
dragonmux
901513166c lm4f: Added the new USB implementation objects to the build system 2025-07-11 19:14:29 -07:00
dragonmux
bf9094d46c stm32: Added the new USB implementation objects to the build systems for the lineup 2025-07-11 19:14:29 -07:00
dragonmux
de48ffd543 tests: gadget0: Added testing for Microsoft OS descriptor retrieval and invalid request handling 2025-07-11 19:14:29 -07:00
dragonmux
2f1d5e38ab tests: gadget0: Added testing for the BOS descriptor retrieval and invalid BOS request handling 2025-07-11 19:14:29 -07:00
dragonmux
274958572a tests: gadget0: Implemented a BOS and Microsoft OS descriptors to test the new parts of the stack 2025-07-11 19:14:29 -07:00
dragonmux
8a51b818d5 tests: gadget0: Created a platform/target for Black Magic Probe 2025-07-11 19:14:29 -07:00
dragonmux
f2db2a1c61 usb/microsoft: Implemented support for sending the feature descriptors 2025-07-11 19:14:29 -07:00
dragonmux
c5e47af5da usb/microsoft: Implemented the feature descriptor structures 2025-07-11 19:14:29 -07:00
dragonmux
901f920f6d usb/microsoft: Implemented support for sending more of the descriptor set tree 2025-07-11 19:14:29 -07:00
dragonmux
08293b8e0c usb/microsoft: Implemented more of the descriptor structures 2025-07-11 19:14:29 -07:00
dragonmux
5ba3293da2 usbd: Added an array length helper macro 2025-07-11 19:14:29 -07:00
dragonmux
7aa5270809 usb_control: Implemented support for dispatching to the microsoft OS descriptors handler 2025-07-11 19:14:29 -07:00
dragonmux
9efcb120f7 usb: Begun implementing support for sending the microsoft OS descriptor set structures 2025-07-11 19:14:29 -07:00
dragonmux
9e0dbfc137 usb/microsoft: Implemented the set header structure 2025-07-11 19:14:29 -07:00
dragonmux
8f69cc974d usb_standard: Added computation of the total BOS length to build_bos_descriptor 2025-07-11 19:14:29 -07:00
dragonmux
c0c642cb06 usb_control: Cleaned up in usb_control_request_dispatch() 2025-07-11 19:14:29 -07:00
dragonmux
b7ddb7c7c0 usb: Implemented support for sending the Microsoft OS-specific descriptor component of a platform capability descriptor 2025-07-11 19:14:29 -07:00
dragonmux
c1247110d8 usb: Begun implementing microsoft OS-specific descriptor support 2025-07-11 19:14:29 -07:00
dragonmux
1bc180c639 usb_standard: Implemented support for sending out what we have so far of a BOS descriptor 2025-07-11 19:14:29 -07:00