project_config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #ifndef __PROJECT_CONFIG_H__
  2. #define __PROJECT_CONFIG_H__
  3. /**********标准库*********/
  4. #include <string.h>
  5. #include <stdio.h>
  6. /**********RTOS***********/
  7. #include "FreeRTOS.h"
  8. #include "FreeRTOSConfig.h"
  9. #include "task.h"
  10. #include "queue.h"
  11. #include "semphr.h"
  12. /********HC32库***********/
  13. #include "hc32_ll_clk.h"
  14. #include "hc32_ll.h"
  15. #include "hc32_ll_utility.h"
  16. #include "hc32_ll_gpio.h"
  17. #include "hc32_ll_dma.h"
  18. #include "hc32_ll_aos.h"
  19. #include "hc32_ll_interrupts.h"
  20. /*********user driver*****/
  21. #include "hal_uart.h"
  22. #include "hal_spi.h"
  23. #include "hal_uart.h"
  24. #include "hal_flash.h"
  25. #include "hal_can.h"
  26. #include "hal_pwm.h"
  27. #include "hal_adc.h"
  28. #include "hal_gpio.h"
  29. #include "hal_low_power.h"
  30. #include "hal_clk_func.h"
  31. #include "hal_nca9555.h"
  32. #include "hal_pca8565.h"
  33. #include "hal_sc7a20.h"
  34. #include "hal_sy6970.h"
  35. #include "hal_ec600g.h"
  36. /*********user app********/
  37. #include "app_fft.h"
  38. #include "app_protocol.h"
  39. #include "app_backup_pwr.h"
  40. #include "firmware_upgrade.h"
  41. #include "app_protocol.h"
  42. #include "glo_var.h"
  43. #include "hal_ec600g.h"
  44. //配置项
  45. /* 中断优先级 */
  46. enum NVIC_IRQN
  47. {
  48. MPU_SPI_DMA_RX_IRQ_NUM = INT001_IRQn,
  49. //MPU_SPI_DMA_TX_IRQ_NUM,
  50. MPU_IDLE_IRQ_NUM,
  51. };
  52. extern void spi_mpu_init_hc(void);
  53. #endif