Add shared emulator services, waveform generation and STM32 USB boot ports
This commit is contained in:
13
c/set-protocol/ports/stm32f407-usb-boot/boot_port.h
Normal file
13
c/set-protocol/ports/stm32f407-usb-boot/boot_port.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef F407_BOOT_PORT_H
|
||||
#define F407_BOOT_PORT_H
|
||||
#include "set_boot.h"
|
||||
#define F407_APP_BASE 0x08010000UL
|
||||
#define F407_APP_SIZE 0x00070000UL
|
||||
#define F407_BOOT_REQUEST 0x1003U
|
||||
extern const setp_boot_ops f407_boot_ops;
|
||||
bool f407_app_valid(void);
|
||||
bool f407_boot_requested(void);
|
||||
void f407_request_boot(uint32_t now);
|
||||
void f407_reset_poll(uint32_t now);
|
||||
void f407_jump_app(void);
|
||||
#endif
|
||||
Reference in New Issue
Block a user