Kconfig 623 B

1234567891011121314151617181920212223242526272829303132
  1. menu "Hardware Drivers Config"
  2. config SOC_APM32F103ZE
  3. bool
  4. select SOC_SERIES_APM32F1
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "On-chip Peripheral Drivers"
  9. config BSP_USING_GPIO
  10. bool "Enable GPIO"
  11. select RT_USING_PIN
  12. default y
  13. menuconfig BSP_USING_UART
  14. bool "Enable UART"
  15. default y
  16. select RT_USING_SERIAL
  17. if BSP_USING_UART
  18. config BSP_USING_UART1
  19. bool "Enable UART1"
  20. default y
  21. endif
  22. source "../libraries/HAL_Drivers/Kconfig"
  23. endmenu
  24. endmenu