Add support for analog USBPD on STM32G4xx. (#11824)

* Add support for analog USBPD on STM32G4xx.

* Split up to a list of driver types, allow for custom.
This commit is contained in:
Nick Brassel 2021-02-15 08:56:13 +11:00 committed by GitHub
parent c27a778281
commit f53e41ac81
Failed to generate hash of commit
4 changed files with 133 additions and 0 deletions

View file

@ -193,6 +193,10 @@ extern layer_state_t layer_state;
# include "wpm.h"
#endif
#ifdef USBPD_ENABLE
# include "usbpd.h"
#endif
// Function substitutions to ease GPIO manipulation
#if defined(__AVR__)
typedef uint8_t pin_t;