mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Add VCP driver (work in progress)
This commit is contained in:
parent
294f09bc91
commit
3f8a6c0e20
39 changed files with 6912 additions and 7 deletions
|
@ -286,8 +286,13 @@ void systemReset(bool toBootloader)
|
|||
// 1FFFF000 -> 20000200 -> SP
|
||||
// 1FFFF004 -> 1FFFF021 -> PC
|
||||
|
||||
// FIXME update for STM32F30x
|
||||
#ifdef STM32F10X_MD
|
||||
*((uint32_t *)0x20004FF0) = 0xDEADBEEF; // 20KB STM32F103
|
||||
#endif
|
||||
#ifdef STM32F303xC
|
||||
|
||||
*((uint32_t *)0x20009FFC) = 0xDEADBEEF; // 40KB SRAM STM32F30X
|
||||
#endif
|
||||
}
|
||||
|
||||
// Generate system reset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue