drv_config.h 551 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-03-02 FMD-AE first version
  9. */
  10. #ifndef __DRV_CONFIG_H__
  11. #define __DRV_CONFIG_H__
  12. #include <board.h>
  13. #include <rtthread.h>
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #if defined(SOC_SERIES_FT32F0)
  18. #include "dma_config.h"
  19. #include "uart_config.h"
  20. #endif
  21. #if defined(SOC_SERIES_FT32F4)
  22. #include "dma_config.h"
  23. #include "uart_config.h"
  24. #endif
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif