添加Ble,以及修改了H5的一些基础配置

This commit is contained in:
2025-06-08 22:31:55 +08:00
parent 6727ac58d0
commit a502e81566
420 changed files with 34802 additions and 2117 deletions

View File

@@ -80,11 +80,11 @@
/*#define HAL_SRAM_MODULE_ENABLED */
#define HAL_TIM_MODULE_ENABLED
/*#define HAL_RAMCFG_MODULE_ENABLED */
/*#define HAL_UART_MODULE_ENABLED */
#define HAL_UART_MODULE_ENABLED
/*#define HAL_USART_MODULE_ENABLED */
/*#define HAL_WWDG_MODULE_ENABLED */
/*#define HAL_PSSI_MODULE_ENABLED */
#define HAL_ICACHE_MODULE_ENABLED
/*#define HAL_ICACHE_MODULE_ENABLED */
/*#define HAL_PCD_MODULE_ENABLED */
#define HAL_GPIO_MODULE_ENABLED
#define HAL_EXTI_MODULE_ENABLED

View File

@@ -53,6 +53,7 @@ void BusFault_Handler(void);
void UsageFault_Handler(void);
void DebugMon_Handler(void);
void TIM1_UP_IRQHandler(void);
void USART1_IRQHandler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */

View File

@@ -1,9 +1,9 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file icache.h
* @file usart.h
* @brief This file contains all the function prototypes for
* the icache.c file
* the usart.c file
******************************************************************************
* @attention
*
@@ -18,8 +18,8 @@
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __ICACHE_H__
#define __ICACHE_H__
#ifndef __USART_H__
#define __USART_H__
#ifdef __cplusplus
extern "C" {
@@ -32,11 +32,13 @@ extern "C" {
/* USER CODE END Includes */
extern UART_HandleTypeDef huart1;
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
void MX_ICACHE_Init(void);
void MX_USART1_UART_Init(void);
/* USER CODE BEGIN Prototypes */
@@ -46,5 +48,5 @@ void MX_ICACHE_Init(void);
}
#endif
#endif /* __ICACHE_H__ */
#endif /* __USART_H__ */