1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef __PROJECT_CONFIG_H__
- #define __PROJECT_CONFIG_H__
- /**********标准库*********/
- #include <string.h>
- #include <stdio.h>
- /**********RTOS***********/
- #include "FreeRTOS.h"
- #include "FreeRTOSConfig.h"
- #include "task.h"
- #include "queue.h"
- #include "semphr.h"
- /********HC32库***********/
- #include "hc32_ll_clk.h"
- #include "hc32_ll.h"
- #include "hc32_ll_utility.h"
- #include "hc32_ll_gpio.h"
- #include "hc32_ll_dma.h"
- #include "hc32_ll_aos.h"
- #include "hc32_ll_interrupts.h"
- /*********user driver*****/
- #include "hal_uart.h"
- #include "hal_spi.h"
- #include "hal_uart.h"
- #include "hal_flash.h"
- #include "hal_can.h"
- #include "hal_pwm.h"
- #include "hal_adc.h"
- #include "hal_gpio.h"
- #include "hal_low_power.h"
- #include "hal_clk_func.h"
- #include "hal_nca9555.h"
- #include "hal_pca8565.h"
- #include "hal_sc7a20.h"
- #include "hal_sy6970.h"
- #include "hal_ec600g.h"
- /*********user app********/
- #include "app_fft.h"
- #include "app_protocol.h"
- #include "app_backup_pwr.h"
- #include "firmware_upgrade.h"
- #include "app_protocol.h"
- #include "glo_var.h"
- #include "hal_ec600g.h"
- //配置项
- /* 中断优先级 */
- enum NVIC_IRQN
- {
- MPU_SPI_DMA_RX_IRQ_NUM = INT001_IRQn,
- //MPU_SPI_DMA_TX_IRQ_NUM,
- MPU_IDLE_IRQ_NUM,
- };
- extern void spi_mpu_init_hc(void);
- #endif
|