基质喷涂
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

  1. //
  2. // Created by iflyt on 2025/2/27.
  3. //
  4. #ifndef BSP_H
  5. #define BSP_H
  6. #include <stm32f4xx_hal.h>
  7. /* 通过取消注释或者添加注释的方式控制是否包含底层驱动模块 */
  8. #include "LED/led.h"
  9. #include "uart_dbg/uart_dbg.h"
  10. #include "LED/tim_pwm.h"
  11. #include "can/can_dbg.h"
  12. #include "tim_pwm/pwm_control.h"
  13. #include "tim_pwm/tim.h"
  14. // #include "pump_controller/pump_controller.h"
  15. #include "app_core.h"
  16. #include "LED/t_rh_iic.h"
  17. #include "LED/bsp_adc.h"
  18. #include "uart_cmd/uart_cmd.h"
  19. #include "uart_cmd/stm32_exhal_uart.h"
  20. #if 0
  21. #define ERROR_HANDLER() Error_Handler(__FILE__, __LINE__);
  22. #endif
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. #include <stdio.h>
  27. #include <string.h>
  28. #include <stdlib.h>
  29. #define STM32F429_BSP_VERSION "1.0.0"
  30. void bsp_Init(void);
  31. void bsp_Idle(void);
  32. #if 0
  33. void Error_Handler(char *file, uint32_t line);
  34. #endif
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif //BSP_H