Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Kconfig file for package fal
  2. menuconfig RT_USING_FAL
  3. bool "FAL: flash abstraction layer"
  4. default n
  5. if RT_USING_FAL
  6. config FAL_USING_DEBUG
  7. bool "Enable debug log output"
  8. default y if RT_USING_DEBUG
  9. default n
  10. config FAL_PART_HAS_TABLE_CFG
  11. bool "FAL partition table config has defined on 'fal_cfg.h'"
  12. default y
  13. help
  14. If defined partition table on 'fal_cfg.h' please enable this option.
  15. When this option is disable, it will auto find and load the partition table
  16. on a specified location in flash partition.
  17. if !FAL_PART_HAS_TABLE_CFG
  18. config FAL_PART_TABLE_FLASH_DEV_NAME
  19. string "The flash device which saving partition table"
  20. default "onchip"
  21. help
  22. It will auto find the partition table on this flash device.
  23. config FAL_PART_TABLE_END_OFFSET
  24. int "The patition table end address relative to flash device offset."
  25. default 65536
  26. help
  27. The auto find and load the partition table process is forward from this
  28. offset address on flash.
  29. endif
  30. config FAL_USING_SFUD_PORT
  31. bool "FAL uses SFUD drivers"
  32. default n
  33. help
  34. The fal_flash_sfud_port.c in the samples\porting directory will be used.
  35. if FAL_USING_SFUD_PORT
  36. config FAL_USING_NOR_FLASH_DEV_NAME
  37. string "The name of the device used by FAL"
  38. default "norflash0"
  39. endif
  40. endif