This repository is a fork of the PD Buddy Sink Firmware. It has been modified to be able to run as a submodule to add to a main project using ChibiOS.
Only the library files and some functions of the Sink firmware have been kept. The PDBLIB library has been a little modified too in order to be more flexible with hot connections and disconnections of USB PD sources.
More details in the dedicated readme to know how to add it to your project.