summaryrefslogtreecommitdiff
path: root/apps/system/hex2bin/Kconfig
blob: 46c8cdf9170aab857569e3036671055635ceb42d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config SYSTEM_HEX2BIN
	bool "Intel HEX Conversion"
	default n
	---help---
		Enable support for a logic to convert Intel HEX format to binary.

if SYSTEM_HEX2BIN

config SYSTEM_HEX2BIN_BUILTIN
	bool "NSH hex2bin Built-In"
	default n
	depends on NSH_BUILTIN_APPS
	---help---
		By default, a flexible hex2bin library function built.  An NSH
		builtin function can also be generated to convert Intel HEX file
		to binary files.

if SYSTEM_HEX2BIN_BUILTIN

config SYSTEM_HEX2BIN_STACKSIZE
	int "hex2bin stack size"
	default 1536
	---help---
		The size of stack allocated for the hex2bin task.

config SYSTEM_HEX2BIN_PRIORITY
	int "hex2bin priority"
	default 100
	---help---
		The priority of the hex2bin task.

config SYSTEM_HEX2BIN_BASEADDR
	hex "Binary base address"
	default 0x00000000
	---help---
		The default value of the base address argument.  Saves typing.

config SYSTEM_HEX2BIN_ENDPADDR
	hex "Binary base address"
	default 0x00000000
	---help---
		The default value of the end (plus 1) address argument.  Saves typing.

config SYSTEM_HEX2BIN_SWAP
	int "Swap bytes"
	default 0
	range 0 2
	---help---
		The default value of the swap argument.  (0) No swap, (1) swap bytes
		in 16-bit values, or (2) swap bytes in 32-bit values.

config SYSTEM_HEX2BIN_USAGE
	bool "hex2bin usage"
	default y
	---help---
		You can save a little FLASH memory by suppressing usage
		instructions.

endif # SYSTEM_HEX2BIN_BUILTIN

config SYSTEM_HEX2MEM_BUILTIN
	bool "NSH hex2mem Built-In"
	default n
	depends on NSH_BUILTIN_APPS
	---help---
		By default, a flexible hex2bin library function built.  An NSH
		builtin function can also be generated to copy Intel HEX files
		to memory.

if SYSTEM_HEX2MEM_BUILTIN

config SYSTEM_HEX2MEM_STACKSIZE
	int "hex2mem stack size"
	default 1536
	---help---
		The size of stack allocated for the hex2bin task.

config SYSTEM_HEX2MEM_PRIORITY
	int "hex2mem priority"
	default 100
	---help---
		The priority of the hex2bin task.

config SYSTEM_HEX2MEM_BASEADDR
	hex "Binary base address"
	default 0x00000000
	---help---
		The default value of the base address argument.  Saves typing.

config SYSTEM_HEX2MEM_ENDPADDR
	hex "Binary base address"
	default 0x00000000
	---help---
		The default value of the end (plus 1) address argument.  Saves typing.

config SYSTEM_HEX2MEM_SWAP
	int "Binary base address"
	default 0
	range 0 2
	---help---
		The default value of the swap argument.  (0) No swap, (1) swap bytes
		in 16-bit values, or (2) swap tbytes in 32-bit values.

config SYSTEM_HEX2MEM_USAGE
	bool "hex2mem usage"
	default y
	---help---
		You can save a little FLASH memory by suppressing usage
		instructions.

endif # SYSTEM_HEX2MEM_BUILTIN

config SYSTEM_HEX2BIN_DEBUG
	bool "Hex2bin detailed error output"
	default n
	---help---
		Enable extended error output.

endif # SYSTEM_HEX2BIN