summaryrefslogtreecommitdiff
path: root/main/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'main/Kconfig')
-rw-r--r--main/Kconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/Kconfig b/main/Kconfig
new file mode 100644
index 0000000..6259a3f
--- /dev/null
+++ b/main/Kconfig
@@ -0,0 +1,30 @@
+menu "Main"
+
+config MAIN_FLASH_SIZE_KB
+ int "Size of flash file system. In kilobytes."
+ range 1 1024
+ default 128
+
+config MAIN_FLASH_FLASH_ADDR_KB
+ int "Start address for flash file system. In kilobytes."
+ default 1024
+
+config MAIN_FLASH_SECTOR_SIZE_KB
+ int "Sector size. In kilobytes"
+ default 4
+ range 1 16
+
+config MAIN_FLASH_LOG_BLOCK_SIZE_KB
+ int "Log block size. In kilobytes"
+ default 4
+ range 1 16
+
+config MAIN_FLASH_LOG_PAGE_SIZE
+ int "Log page"
+ default 128
+
+config MAIN_FLASH_FD_BUF_SIZE
+ int "FD buf size. Default: 32*4"
+ default 128
+
+endmenu