stm32f7: enable existing dsi support
This commit is contained in:
committed by
Karl Palsson
parent
5a03cfe54e
commit
92a2340551
@@ -0,0 +1,31 @@
|
||||
/** @defgroup dsi_defines DSI Defines
|
||||
* @brief <b>Defines Constants and Macros for the STM32F7xx Display Serial
|
||||
* Interface Host and Wrapper</b>
|
||||
* @ingroup STM32F7xx_defines
|
||||
*/
|
||||
/*
|
||||
* This file is part of the libopencm3 project.
|
||||
*
|
||||
* This library is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This library 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 Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#ifndef LIBOPENCM3_STM32_F7_DSI_H_
|
||||
#define LIBOPENCM3_STM32_F7_DSI_H_
|
||||
|
||||
#include <libopencm3/stm32/common/dsi_common_f47.h>
|
||||
|
||||
#endif
|
||||
|
||||
/**@}*/
|
||||
@@ -95,7 +95,10 @@
|
||||
#define SAI2_BASE (PERIPH_BASE_APB2 + 0x5C00)
|
||||
#define LCD_TFT_BASE (PERIPH_BASE_APB2 + 0x6800)
|
||||
#define LTDC_BASE (PERIPH_BASE_APB2 + 0x6800) /* compat. with f4 */
|
||||
/* PERIPH_BASE_APB2 + 0x6C00 (0x4001 6C00 - 0x4001 FFFF): Reserved */
|
||||
#define DSI_BASE (PERIPH_BASE_APB2 + 0x6C00)
|
||||
#define DFSDM1_BASE (PERIPH_BASE_APB2 + 0x7400)
|
||||
#define MDIOS_BASE (PERIPH_BASE_APB2 + 0x7800)
|
||||
/* PERIPH_BASE_APB2 + 0x6C00 (0x4001 7C00 - 0x4001 FFFF): Reserved */
|
||||
|
||||
/* AHB1 */
|
||||
#define GPIO_PORT_A_BASE (PERIPH_BASE_AHB1 + 0x0000)
|
||||
|
||||
Reference in New Issue
Block a user