[stm32] fix stm32 bsp warnings and errors
This commit is contained in:
parent
2d1f46d31c
commit
8c5df321d8
|
@ -82,6 +82,7 @@ menu "Onboard Peripheral Drivers"
|
|||
|
||||
config BSP_USING_TOUCH
|
||||
bool "Enable touch screen"
|
||||
select RT_USING_TOUCH
|
||||
select BSP_USING_I2C1
|
||||
|
||||
choice
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <drv_gpio.h>
|
||||
|
||||
#ifdef BSP_USING_LCD_OTM8009A
|
||||
extern DSI_HandleTypeDef hdsi;
|
||||
extern DSI_VidCfgTypeDef hdsi_video;
|
||||
|
|
|
@ -8,9 +8,8 @@
|
|||
* 2019-10-25 zylx first version
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <board.h>
|
||||
#include <drv_gpio.h>
|
||||
|
||||
/* defined the LED1 pin: PC13 */
|
||||
#define LED1_PIN GET_PIN(C, 13)
|
||||
|
|
|
@ -8,7 +8,9 @@
|
|||
* 2023-03-24 spaceman the first version
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
#include "board.h"
|
||||
#include <drv_common.h>
|
||||
|
||||
#define AXI_SRAM_ADDR (0X24000000)
|
||||
#define AXI_SRAM_SIZE (512*1024)
|
||||
|
|
|
@ -12,10 +12,7 @@
|
|||
#ifndef __BOARD_H__
|
||||
#define __BOARD_H__
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <stm32h7xx.h>
|
||||
// #include "drv_common.h"
|
||||
#include "drv_gpio.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue