mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Remove F1 and F3 support
This commit is contained in:
parent
229ac66755
commit
701b0ae55c
847 changed files with 77 additions and 498437 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#if defined(STM32F3) || defined(STM32F4) || defined(STM32F7) || defined(STM32H7)
|
||||
#if defined(STM32F4) || defined(STM32F7) || defined(STM32H7)
|
||||
// See "RM CoreSight Architecture Specification"
|
||||
// B2.3.10 "LSR and LAR, Software Lock Status Register and Software Lock Access Register"
|
||||
// "E1.2.11 LAR, Lock Access Register"
|
||||
|
@ -71,7 +71,7 @@ void cycleCounterInit(void)
|
|||
ITM->LAR = DWT_LAR_UNLOCK_VALUE;
|
||||
#elif defined(STM32F7)
|
||||
DWT->LAR = DWT_LAR_UNLOCK_VALUE;
|
||||
#elif defined(STM32F3) || defined(STM32F4)
|
||||
#elif defined(STM32F4)
|
||||
// Note: DWT_Type does not contain LAR member.
|
||||
#define DWT_LAR
|
||||
__O uint32_t *DWTLAR = (uint32_t *)(DWT_BASE + 0x0FB0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue