Kconfig 622 B

123456789101112131415161718192021222324252627282930313233343536
  1. mainmenu "RT-Thread Configuration"
  2. config $BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config $RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../.."
  10. # you can change the RTT_ROOT default "../.." to your rtthread_root,
  11. # example: default "F:/git_repositories/rt-thread"
  12. config $PKGS_DIR
  13. string
  14. option env="PKGS_ROOT"
  15. default "packages"
  16. config $ENV_DIR
  17. string
  18. option env="ENV_ROOT"
  19. default "/"
  20. source "$RTT_DIR/Kconfig"
  21. source "$PKGS_DIR/Kconfig"
  22. config SOC_STM32F1
  23. bool
  24. select ARCH_ARM_CORTEX_M3
  25. default y
  26. source "$BSP_DIR/drivers/Kconfig"