mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
CLEANUP: MCU file locations (#13692)
This commit is contained in:
parent
ffdf918b07
commit
c2c3d6740c
172 changed files with 519 additions and 465 deletions
30
src/main/drivers/mcu/stm32/dma_reqmap_mcu.h
Normal file
30
src/main/drivers/mcu/stm32/dma_reqmap_mcu.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* This file is part of Betaflight.
|
||||
*
|
||||
* Betaflight is free software. You can redistribute this software
|
||||
* and/or modify this software under the terms of the GNU General
|
||||
* Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* Betaflight is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this software.
|
||||
*
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined(STM32H7) || defined(STM32G4)
|
||||
#define MAX_PERIPHERAL_DMA_OPTIONS 16
|
||||
#define MAX_TIMER_DMA_OPTIONS 16
|
||||
#else
|
||||
#define MAX_PERIPHERAL_DMA_OPTIONS 2
|
||||
#define MAX_TIMER_DMA_OPTIONS 3
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue