Merge commit 'e067fcbe30' as 'stm32f103c8t6-bootloader'
This commit is contained in:
commit
3ca6ea3e9e
34 changed files with 15445 additions and 0 deletions
14
stm32f103c8t6-bootloader/src/usb_com.h
Normal file
14
stm32f103c8t6-bootloader/src/usb_com.h
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue