Merge commit 'e067fcbe30' as 'stm32f103c8t6-bootloader'

This commit is contained in:
fruchti 2021-04-04 19:50:04 +02:00
commit 3ca6ea3e9e
34 changed files with 15445 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#pragma once
#include <stdbool.h>
#include <string.h>
#include "stm32f103x6.h"
#include "usb.h"
void USB_HandleEP2Out(void);
// Parses a setup packet with a vendor request type and handle the command it
// contains. Returns false if the bootloader should exit and start the
// application, true if the bootloader should continue execution.
bool USB_HandleCommand(const USB_SetupPacket_t *sp);