summaryrefslogtreecommitdiff
path: root/main/Kconfig
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-05-26 21:16:12 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-05-26 21:16:12 +0200
commitd4abcad280df631b09a8cfe4c9387a9d8c610c1f (patch)
tree0e7286ec20a90d5598f2b3a9c2535628a35766b4 /main/Kconfig
downloadmodern-esp-sandbox-d4abcad280df631b09a8cfe4c9387a9d8c610c1f.tar.gz
modern-esp-sandbox-d4abcad280df631b09a8cfe4c9387a9d8c610c1f.tar.bz2
modern-esp-sandbox-d4abcad280df631b09a8cfe4c9387a9d8c610c1f.tar.xz
modern-esp-sandbox-d4abcad280df631b09a8cfe4c9387a9d8c610c1f.zip
wip
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