You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
911 B
47 lines
911 B
//
|
|
// Created by iflyt on 2025/2/27.
|
|
//
|
|
|
|
#ifndef BSP_H
|
|
#define BSP_H
|
|
#include <stm32f4xx_hal.h>
|
|
|
|
/* 通过取消注释或者添加注释的方式控制是否包含底层驱动模块 */
|
|
#include "LED/led.h"
|
|
#include "uart_dbg/uart_dbg.h"
|
|
#include "LED/tim_pwm.h"
|
|
#include "can/can_dbg.h"
|
|
#include "tim_pwm/pwm_control.h"
|
|
#include "tim_pwm/tim.h"
|
|
// #include "pump_controller/pump_controller.h"
|
|
#include "app_core.h"
|
|
#include "LED/t_rh_iic.h"
|
|
#include "LED/bsp_adc.h"
|
|
#include "uart_cmd/uart_cmd.h"
|
|
#include "uart_cmd/stm32_exhal_uart.h"
|
|
|
|
#if 0
|
|
#define ERROR_HANDLER() Error_Handler(__FILE__, __LINE__);
|
|
#endif
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
|
|
|
|
#define STM32F429_BSP_VERSION "1.0.0"
|
|
|
|
void bsp_Init(void);
|
|
void bsp_Idle(void);
|
|
#if 0
|
|
void Error_Handler(char *file, uint32_t line);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif //BSP_H
|