drv_config.h 795 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-10-30 SummerGift change to new framework
  9. */
  10. #ifndef __DRV_CONFIG_H__
  11. #define __DRV_CONFIG_H__
  12. #include <board.h>
  13. #include <rtthread.h>
  14. #if defined(SOC_SERIES_STM32F1)
  15. #include "f1/uart_config.h"
  16. #include "f1/spi_config.h"
  17. #include "f1/adc_config.h"
  18. #elif defined(SOC_SERIES_STM32F4)
  19. #include "f4/uart_config.h"
  20. #include "f4/spi_config.h"
  21. #include "f4/adc_config.h"
  22. #elif defined(SOC_SERIES_STM32F7)
  23. #include "f7/uart_config.h"
  24. #include "f7/spi_config.h"
  25. #include "f7/adc_config.h"
  26. #elif defined(SOC_SERIES_STM32L4)
  27. #include "l4/uart_config.h"
  28. #include "l4/spi_config.h"
  29. #include "l4/adc_config.h"
  30. #endif
  31. #endif