Firmware for USB C switch
Rev-C
Firmware for USB switch can be found under firmware folder.
Building and flashing instruction are available in the README
Testing instruction are also available in the README
There is code that is auto generated using STM32CubeMX and can be found under the generated folder. Instructions to work with the generate code can be found here
Operational logic for the USB switch can be found under usb_switch_code