nuttx-apps/system/ofloader/Kconfig
anjiahao d0ad047f81 support openflashloader for nuttx
wiki:https://wiki.segger.com/SEGGER_Flash_Loader

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-01 23:22:52 -07:00

45 lines
993 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config SYSTEM_OFLOADER
tristate "Open flash loader"
default n
select DISABLE_IDLE_LOOP
---help---
Enable support for flashloader.
if SYSTEM_OFLOADER
config SYSTEM_OFLOADER_PROGNAME
string "Program name"
default "ofloader"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config SYSTEM_OFLOADER_PRIORITY
int "ofloader task priority"
default 100
config SYSTEM_OFLOADER_STACKSIZE
int "ofloader stack size"
default DEFAULT_TASK_STACKSIZE
config SYSTEM_OFLOADER_BUFFERSIZE
int "ofloader transfer buffer size"
default 32768
config SYSTEM_OFLOADER_DEBUG
bool "Open flashloader debug option"
default n
config SYSTEM_OFLOADER_TABLE
string "open flashloder table"
---help---
devname[,addr[,size]][;devname2[,addr[,size]]]
can enter multiple device nodes separated by semicolon
endif