Kconfig 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. mainmenu "Nuttx/$ARCH Configuration"
  6. config APPSDIR
  7. string
  8. option env="APPSDIR"
  9. menu "Build Setup"
  10. config EXPERIMENTAL
  11. bool "Prompt for development and/or incomplete code/drivers"
  12. config DEFAULT_SMALL
  13. bool "Default to smallest size"
  14. default n
  15. ---help---
  16. When options are present, the default value for certain options will
  17. be the one the results in the smallest size (at a loss of features).
  18. The default is a fuller feature set at a larger size.
  19. NOTE: This option does not prevent you from overriding the default
  20. to select another alternative. Nor does it affect the settings that
  21. have already been selected in your configuration file. This applies
  22. only to new settings that require a default value.
  23. choice
  24. prompt "Build Host Platform"
  25. default HOST_LINUX
  26. config HOST_LINUX
  27. bool "Linux"
  28. config HOST_MACOS
  29. bool "macOS"
  30. config HOST_WINDOWS
  31. bool "Windows"
  32. config HOST_OTHER
  33. bool "Other"
  34. endchoice
  35. config TOOLCHAIN_WINDOWS
  36. bool
  37. default n
  38. depends on HOST_WINDOWS
  39. ---help---
  40. Selected internally if the selected Windows environment is compatible
  41. with the use of Windows native toolchains.
  42. choice
  43. prompt "Windows Build Environment"
  44. default WINDOWS_CYGWIN
  45. depends on HOST_WINDOWS
  46. config WINDOWS_NATIVE
  47. bool "Windows Native"
  48. select TOOLCHAIN_WINDOWS
  49. ---help---
  50. Build natively in a CMD.exe environment with Windows style paths
  51. (like C:\cgywin\home)
  52. config WINDOWS_CYGWIN
  53. bool "Cygwin"
  54. select TOOLCHAIN_WINDOWS
  55. ---help---
  56. Build natively in a Cygwin environment with POSIX style paths (like
  57. /cygdrive/c/Program Files)
  58. config WINDOWS_UBUNTU
  59. bool "Ubuntu under Windows 10"
  60. ---help---
  61. Build natively in an Ubuntu shell under Windoes 10 environment with
  62. POSIX style paths (like /mnt/c/Program Files)
  63. config WINDOWS_MSYS
  64. bool "MSYS or MSYS2"
  65. select TOOLCHAIN_WINDOWS
  66. ---help---
  67. Build natively in a Cygwin environment with POSIX style paths (like
  68. /cygdrive/c/cgywin/home)
  69. config WINDOWS_OTHER
  70. bool "Windows POSIX-like environment"
  71. select TOOLCHAIN_WINDOWS
  72. ---help---
  73. Build natively in another POSIX-like environment. Additional
  74. support may be necessary
  75. endchoice
  76. config WINDOWS_MKLINK
  77. bool "Use mklink"
  78. default n
  79. depends on WINDOWS_NATIVE
  80. ---help---
  81. Use the mklink command to set up symbolic links when NuttX is
  82. configured. Otherwise, configuration directories will be copied to
  83. establish the configuration.
  84. If directories are copied, then some confusion can result ("Which
  85. version of the file did I modify?"). In that case, it is recommended
  86. that you re-build using 'make clean_context all'. That will cause the
  87. configured directories to be recopied on each build.
  88. NOTE: This option also (1) that you have administrator privileges, (2)
  89. that you are using Windows 2000 or better, and (3) that you are using
  90. the NTFS file system. Select 'n' is that is not the case.
  91. menu "Build Configuration"
  92. config APPS_DIR
  93. string "Application directory"
  94. default "../apps" if !WINDOWS_NATIVE
  95. default "..\apps" if WINDOWS_NATIVE
  96. ---help---
  97. Identifies the directory that builds the
  98. application to link with NuttX. Default: ../apps This symbol must
  99. be assigned to the path to the application build directory
  100. *relative* to the NuttX top build directory. If you had an
  101. application directory and the NuttX directory each in separate
  102. directory trees like this:
  103. build
  104. |-nuttx
  105. | |
  106. | `- Makefile
  107. `-application
  108. |
  109. `- Makefile
  110. Then you would set APPS_DIR=../application.
  111. The application direction must contain Makefile and this make
  112. file must support the following targets:
  113. 1)libapps$(LIBEXT) (usually libapps.a). libapps.a is a static
  114. library ( an archive) that contains all of application object
  115. files.
  116. 2)clean. Do whatever is appropriate to clean the application
  117. directories for a fresh build.
  118. 3)distclean. Clean everything -- auto-generated files, symbolic
  119. links etc. -- so that the directory contents are the same as
  120. the contents in your configuration management system.
  121. This is only done when you change the NuttX configuration.
  122. 4)depend. Make or update the application build dependencies.
  123. When this application is invoked it will receive the setting TOPDIR like:
  124. $(MAKE) -C $(CONFIG_APPS_DIR) TOPDIR="$(TOPDIR)" <target>
  125. TOPDIR is the full path to the NuttX directory. It can be used, for
  126. example, to include makefile fragments (e.g., .config or Make.defs)
  127. or to set up include file paths.
  128. config BUILD_LOADABLE
  129. bool
  130. option modules
  131. ---help---
  132. Automatically selected if KERNEL build is selected.
  133. This selection only effects the behavior of the 'make export'
  134. target and currently has no effect unless you wish to build
  135. loadable applications in a FLAT build.
  136. choice
  137. prompt "Memory organization"
  138. default BUILD_FLAT
  139. config BUILD_FLAT
  140. bool "Flat address space"
  141. ---help---
  142. Build NuttX as one large, executable "blob". All of the code
  143. within the blob can interrupt with all of the other code within
  144. the blob. There are no special privileges, protections, or
  145. restraints.
  146. config BUILD_PROTECTED
  147. bool "NuttX protected build"
  148. depends on ARCH_USE_MPU
  149. select LIB_SYSCALL
  150. select BUILD_2PASS
  151. ---help---
  152. Builds NuttX and selected applications as two "blobs": A protected,
  153. privileged kernel blob and a separate unprivileged, user blob. This
  154. requires use of the two pass build with each blob being build on
  155. each pass.
  156. NOTE: This build configuration requires that the platform support
  157. a memory protection unit (MPU). Support, however, may not be
  158. implemented on all platforms.
  159. config BUILD_KERNEL
  160. bool "NuttX kernel build"
  161. depends on ARCH_USE_MMU && ARCH_ADDRENV
  162. select BUILD_LOADABLE
  163. select LIB_SYSCALL
  164. ---help---
  165. Builds NuttX as a separately compiled kernel. No applications are
  166. built. All user applications must reside in a file system where
  167. they can be loaded into memory for execution.
  168. NOTE: This build configuration requires that the platform support
  169. a memory management unit (MPU) and address environments. Support,
  170. however, may not be implemented on all platforms.
  171. endchoice # Build configuration
  172. config BUILD_2PASS
  173. bool "Two pass build"
  174. default n
  175. depends on !BUILD_KERNEL
  176. ---help---
  177. Enables the two pass build options.
  178. Two-pass build options. If the 2 pass build option is selected, then these
  179. options configure the make system build a extra link object. This link object
  180. is assumed to be an incremental (relative) link object, but could be a static
  181. library (archive) (some modification to this Makefile would be required if
  182. PASS1_TARGET generates an archive). Pass 1 1ncremental (relative) link
  183. objects should be put into the processor-specific source directory (where other
  184. link objects will be created). If the pass1 object is an archive, it could
  185. go anywhere.
  186. if BUILD_2PASS
  187. config PASS1_TARGET
  188. string "Pass one target"
  189. default "all"
  190. ---help---
  191. The name of the first pass build target. This
  192. can be specific build target, a special build target (all, default, etc.)
  193. or may just be left undefined.
  194. config PASS1_BUILDIR
  195. string "Pass one build directory"
  196. default "build"
  197. ---help---
  198. The path, relative to the top NuttX build
  199. directory to directory that contains the Makefile to build the
  200. first pass object. The Makefile must support the following targets:
  201. The special target PASS1_TARGET (if defined)
  202. and the usual depend, clean, and distclean targets.
  203. config PASS1_OBJECT
  204. string "Pass one object"
  205. default ""
  206. ---help---
  207. May be used to include an extra, pass1 object
  208. into the final link. This would probably be the object generated
  209. from the PASS1_TARGET. It may be available at link time
  210. in the arch/<architecture>/src directory.
  211. config NUTTX_USERSPACE
  212. hex "Beginning of user-space blob"
  213. default 0x0
  214. depends on BUILD_PROTECTED
  215. ---help---
  216. In the kernel build, the NuttX kernel and the user-space blob are
  217. built separately linked objects. NUTTX_USERSPACE provides the
  218. address where the user-space blob is loaded into memory. NuttX will
  219. expect to find and instance of struct userspace_s at this location.
  220. endif # Build 2-pass
  221. endmenu # Build Setup
  222. menu "Binary Output Formats"
  223. config RRLOAD_BINARY
  224. bool "rrload binary format"
  225. default n
  226. ---help---
  227. Create nuttx.rr in the rrload binary format used with
  228. BSPs from www.ridgerun.com using the tools/mkimage.sh script.
  229. config CXD56_BINARY
  230. bool "spk binary format"
  231. default n
  232. ---help---
  233. Create nuttx.spk binary format used on spresense board and boards
  234. based on cxd56xx arch.
  235. config INTELHEX_BINARY
  236. bool "Intel HEX binary format"
  237. default n
  238. ---help---
  239. Create the nuttx.hex in the Intel HEX binary format that is
  240. used with many different loaders. This option will use the GNU objcopy
  241. program and should not be selected if you are not using the GNU
  242. toolchain.
  243. config MOTOROLA_SREC
  244. bool "Motorola S-Record binary format"
  245. default n
  246. ---help---
  247. Create the nuttx.srec in the Motorola S-Record binary format that is
  248. used with many different loaders. This option will use the GNU objcopy
  249. program and should not be selected if you are not using the GNU
  250. toolchain.
  251. config RAW_BINARY
  252. bool "Raw binary format"
  253. default n
  254. ---help---
  255. Create the nuttx.bin in the raw binary format that is used with many
  256. different loaders using the GNU objcopy program. This option
  257. should not be selected if you are not using the GNU toolchain.
  258. menuconfig UBOOT_UIMAGE
  259. bool "U-Boot uImage"
  260. select RAW_BINARY
  261. depends on !WINDOWS_NATIVE
  262. ---help---
  263. Create the uImage binary used with U-Boot.
  264. if UBOOT_UIMAGE
  265. config UIMAGE_LOAD_ADDRESS
  266. hex "uImage load address"
  267. default 0x0
  268. config UIMAGE_ENTRY_POINT
  269. hex "uImage entry point"
  270. default 0x0
  271. endif
  272. menuconfig DFU_BINARY
  273. bool "DFU binary format"
  274. select RAW_BINARY
  275. ---help---
  276. Create the dfu binary used with dfu-utils.
  277. if DFU_BINARY
  278. config DFU_BASE
  279. hex "Address DFU image is loaded to"
  280. config DFU_VID
  281. hex "VID to use for DFU image"
  282. config DFU_PID
  283. hex "PID to use for DFU image"
  284. endif
  285. endmenu # Binary Output Formats
  286. menu "Customize Header Files"
  287. config ARCH_HAVE_STDINT_H
  288. bool
  289. default n
  290. ---help---
  291. Selected by architecture specific logic if the architecture provides
  292. a stdint.h header file.
  293. config ARCH_STDINT_H
  294. bool "stdint.h"
  295. default n
  296. depends on ARCH_HAVE_STDINT_H
  297. ---help---
  298. The stdint.h header file can be found at nuttx/include/stdint.h.
  299. However, that header includes logic to redirect the inclusion of an
  300. architecture specific header file like:
  301. #ifdef CONFIG_ARCH_STDINT_H
  302. # include <arch/stdint.h>
  303. #else
  304. ...
  305. #endif
  306. Recall that that include path, include/arch, is a symbolic link and
  307. will refer to a version of stdint.h at nuttx/arch/<architecture>/include/stdint.h.
  308. config ARCH_HAVE_STDBOOL_H
  309. bool
  310. default n
  311. ---help---
  312. Selected by architecture specific logic if the architecture provides
  313. a stdbool.h header file.
  314. config ARCH_STDBOOL_H
  315. bool "stdbool.h"
  316. default n
  317. depends on ARCH_HAVE_STDBOOL_H
  318. ---help---
  319. The stdbool.h header file can be found at nuttx/include/stdbool.h.
  320. However, that header includes logic to redirect the inclusion of an
  321. architecture specific header file like:
  322. #ifdef CONFIG_ARCH_STDBOOL_H
  323. # include <arch/stdbool.h>
  324. #else
  325. ...
  326. #endif
  327. Recall that that include path, include/arch, is a symbolic link and
  328. will refer to a version of stdbool.h at nuttx/arch/<architecture>/include/stdbool.h.
  329. config ARCH_HAVE_MATH_H
  330. bool
  331. default n
  332. ---help---
  333. Selected by architecture specific logic if the architecture provides
  334. a math.h header file.
  335. config ARCH_MATH_H
  336. bool "math.h"
  337. depends on ARCH_HAVE_MATH_H
  338. default n
  339. ---help---
  340. There is also a re-directing version of math.h in the source tree.
  341. However, it resides out-of-the-way at include/nuttx/lib/math.h because it
  342. conflicts too often with the system math.h. If ARCH_MATH_H=y is
  343. defined, however, the top-level makefile will copy the redirecting
  344. math.h header file from include/nuttx/lib/math.h to include/math.h. math.h
  345. will then include the architecture-specific version of math.h that you
  346. must provide at nuttx/arch/>architecture</include/math.h.
  347. #ifdef CONFIG_ARCH_MATH_H
  348. # include <arch/math.h>
  349. #endif
  350. So for the architectures that define ARCH_MATH_H=y, include/math.h
  351. will be the redirecting math.h header file; for the architectures
  352. that don't select ARCH_MATH_H, the redirecting math.h header file
  353. will stay out-of-the-way in include/nuttx/.
  354. config ARCH_FLOAT_H
  355. bool "float.h"
  356. default n
  357. ---help---
  358. The float.h header file defines the properties of your floating
  359. point implementation. It would always be best to use your
  360. toolchain's float.h header file but if none is available, a default
  361. float.h header file will provided if this option is selected. However
  362. there is no assurance that the settings in this float.h are actually
  363. correct for your platform!
  364. config ARCH_HAVE_STDARG_H
  365. bool
  366. default n
  367. ---help---
  368. Selected by architecture specific logic if the architecture provides
  369. a math.h header file.
  370. config ARCH_STDARG_H
  371. bool "stdarg.h"
  372. depends on ARCH_HAVE_STDARG_H
  373. default n
  374. ---help---
  375. There is a redirecting version of stdarg.h in the source tree. It
  376. resides out-of-the-way at include/nuttx/lib/stdarg.h. This is
  377. because you should normally use your toolchain's stdarg.h file. But
  378. sometimes, your toolchain's stdarg.h file may have other header
  379. file dependencies and so may not be usable in the NuttX build
  380. environment. In those cases, you may have to create a architecture-
  381. specific stdarg.h header file at nuttx/arch/<architecture>/include/stdarg.h
  382. If ARCH_STDARG_H=y is defined, the top-level makefile will copy the
  383. re-directing stdarg.h header file from include/nuttx/lib/stdarg.h to
  384. include/stdarg.h. So for the architectures that cannot use their
  385. toolchain's stdarg.h file, they can use this alternative by defining
  386. ARCH_STDARG_H=y and providing. If ARCH_STDARG_H, is not defined, then
  387. the stdarg.h header file will stay out-of-the-way in include/nuttx/.
  388. config ARCH_HAVE_SETJMP
  389. bool
  390. default n
  391. config ARCH_SETJMP_H
  392. bool "setjmp.h"
  393. default n
  394. depends on ARCH_HAVE_SETJMP
  395. ---help---
  396. There is a redirecting version of setjmp.h in the source tree. It
  397. resides out-of-the-way at include/nuttx/lib/setjmp.h. This is
  398. because you should normally use your toolchain's setjmp.h file. But
  399. sometimes, your toolchain's setjmp.h file may have other header
  400. file dependencies and so may not be usable in the NuttX build
  401. environment. In those cases, you may have to create a architecture-
  402. specific setjmp.h header file at nuttx/arch/<architecture>/include/setjmp.h
  403. If ARCH_SETJMP_H=y is defined, the top-level makefile will copy the
  404. re-directing setjmp.h header file from include/nuttx/lib/setjmp.h to
  405. include/setjmp.h. So for the architectures that cannot use their
  406. toolchain's setjmp.h file, they can use this alternative by defining
  407. ARCH_SETJMP_H=y and providing. If ARCH_SETJMP_H, is not defined, then
  408. the setjmp.h header file will stay out-of-the-way in include/nuttx/.
  409. config ARCH_DEBUG_H
  410. bool "debug.h"
  411. default n
  412. ---help---
  413. The debug.h contains architecture dependent debugging primitives
  414. endmenu # Customize Header Files
  415. menu "Debug Options"
  416. config DEBUG_ALERT
  417. bool
  418. default n
  419. config DEBUG_FEATURES
  420. bool "Enable Debug Features"
  421. default n
  422. select DEBUG_ALERT
  423. ---help---
  424. Enables built-in debug features. Selecting this option will (1) Enable
  425. debug assertions in the code, (2) enable extended parameter testing in
  426. many functions, and (3) enable support for debug output to the SYSLOG.
  427. Note that enabling this option by itself does not produce debug output.
  428. Debug output must also be selected on a subsystem-by-subsystem basis.
  429. if DEBUG_FEATURES
  430. comment "Debug SYSLOG Output Controls"
  431. config DEBUG_ERROR
  432. bool "Enable Error Output"
  433. default n
  434. ---help---
  435. Enables output from [a-z]err() statements. Errors are significant system
  436. exceptions that require immediate attention.
  437. config DEBUG_WARN
  438. bool "Enable Warnings Output"
  439. default n
  440. depends on DEBUG_ERROR
  441. ---help---
  442. Enables output from [a-z]warn() statements. Warnings are considered to
  443. be various unexpected conditions, potential errors or errors that will
  444. not have serious consequences.
  445. config DEBUG_INFO
  446. bool "Enable Informational Debug Output"
  447. default n
  448. depends on DEBUG_WARN
  449. ---help---
  450. Enables verbose "informational" debug output. If you enable
  451. CONFIG_DEBUG_INFO, then very chatty (and often annoying) output
  452. will be generated.
  453. config DEBUG_ASSERTIONS
  454. bool "Enable Debug Assertions"
  455. default n
  456. ---help---
  457. Enables the DEBUGASSERT() macro. When CONFIG_DEBUG_ASSERTIONS is
  458. defined, DEBUGASSERT() will cause the system to halt if the
  459. assertion fails. If CONFIG_DEBUG_ASSERTIONS is not defined
  460. DEBUGASSERT() compiled out of the system. In general, you would
  461. set CONFIG_DEBUG_ASSERTIONS=y during debug, but disable the
  462. assertions on a final, buckled up system.
  463. comment "Subsystem Debug Options"
  464. config DEBUG_AUDIO
  465. bool "Audio Device Debug Features"
  466. default n
  467. depends on AUDIO
  468. ---help---
  469. Enable audio device debug features.
  470. Enable low level debug features for the audio subsystem and for audio
  471. device drivers. (disabled by default). Support for this debug option
  472. is architecture-specific and may not be available for some MCUs.
  473. if DEBUG_AUDIO
  474. config DEBUG_AUDIO_ERROR
  475. bool "Audio Device Error Output"
  476. default n
  477. depends on DEBUG_ERROR
  478. ---help---
  479. Enable audio device error output to SYSLOG.
  480. config DEBUG_AUDIO_WARN
  481. bool "Audio Device Warnings Output"
  482. default n
  483. depends on DEBUG_WARN
  484. ---help---
  485. Enable audio device warning output to SYSLOG.
  486. config DEBUG_AUDIO_INFO
  487. bool "Audio Device Informational Output"
  488. default n
  489. depends on DEBUG_INFO
  490. ---help---
  491. Enable audio device informational output to SYSLOG.
  492. endif # DEBUG_AUDIO
  493. config DEBUG_BINFMT
  494. bool "Binary Loader Debug Features"
  495. default n
  496. depends on !BINFMT_DISABLE
  497. ---help---
  498. Enable binary loader debug features.
  499. if DEBUG_BINFMT
  500. config DEBUG_BINFMT_ERROR
  501. bool "Binary Loader Error Output"
  502. default n
  503. depends on DEBUG_ERROR
  504. ---help---
  505. Enable binary loader error output to SYSLOG.
  506. config DEBUG_BINFMT_WARN
  507. bool "Binary Loader Warnings Output"
  508. default n
  509. depends on DEBUG_WARN
  510. ---help---
  511. Enable binary loader warning output to SYSLOG.
  512. config DEBUG_BINFMT_INFO
  513. bool "Binary Loader Informational Output"
  514. default n
  515. depends on DEBUG_INFO
  516. ---help---
  517. Enable binary loader informational output to SYSLOG.
  518. endif # DEBUG_BINFMT
  519. config DEBUG_CONTACTLESS
  520. bool "Contactless Debug Features"
  521. default n
  522. depends on DRIVERS_CONTACTLESS
  523. ---help---
  524. Enable debug features for contactless (aka RFID) subsystem.
  525. if DEBUG_CONTACTLESS
  526. config DEBUG_CONTACTLESS_ERROR
  527. bool "Contactless Error Output"
  528. default n
  529. depends on DEBUG_ERROR
  530. ---help---
  531. Enable contactless (aka RFID) subsystem error output to
  532. SYSLOG.
  533. config DEBUG_CONTACTLESS_WARN
  534. bool "Contactless Warnings Output"
  535. default n
  536. depends on DEBUG_ERROR
  537. ---help---
  538. Enable contactless (aka RFID) subsystem warning output to
  539. SYSLOG.
  540. config DEBUG_CONTACTLESS_INFO
  541. bool "Contactless Informational Output"
  542. default n
  543. depends on DEBUG_ERROR
  544. ---help---
  545. Enable contactless (aka RFID) subsystem informational output
  546. to SYSLOG.
  547. endif # DEBUG_CONTACTLESS
  548. config DEBUG_CRYPTO
  549. bool "Crypto Debug Features"
  550. default n
  551. depends on CRYPTO
  552. ---help---
  553. Enable cryptographic debug features.
  554. if DEBUG_CRYPTO
  555. config DEBUG_CRYPTO_ERROR
  556. bool "Crypto Error Output"
  557. default n
  558. depends on DEBUG_ERROR
  559. ---help---
  560. Enable cryptographic error output to SYSLOG.
  561. config DEBUG_CRYPTO_WARN
  562. bool "Crypto Warnings Output"
  563. default n
  564. depends on DEBUG_WARN
  565. ---help---
  566. Enable cryptographic warning output to SYSLOG.
  567. config DEBUG_CRYPTO_INFO
  568. bool "Crypto Informational Output"
  569. default n
  570. depends on DEBUG_INFO
  571. ---help---
  572. Enable cryptographic informational output to SYSLOG.
  573. endif # DEBUG_CRYPTO
  574. config DEBUG_FS
  575. bool "File System Debug Features"
  576. default n
  577. ---help---
  578. Enable file system debug features.
  579. if DEBUG_FS
  580. config DEBUG_FS_ERROR
  581. bool "File System Error Output"
  582. default n
  583. depends on DEBUG_ERROR
  584. ---help---
  585. Enable file system error output to SYSLOG.
  586. config DEBUG_FS_WARN
  587. bool "File System Warnings Output"
  588. default n
  589. depends on DEBUG_WARN
  590. ---help---
  591. Enable file system warning output to SYSLOG.
  592. config DEBUG_FS_INFO
  593. bool "File System Informational Output"
  594. default n
  595. depends on DEBUG_INFO
  596. ---help---
  597. Enable file system informational output to SYSLOG.
  598. endif # DEBUG_FS
  599. config DEBUG_GRAPHICS
  600. bool "Graphics Debug Features"
  601. default n
  602. ---help---
  603. Enable NX graphics subsystem debug features.
  604. if DEBUG_GRAPHICS
  605. config DEBUG_GRAPHICS_ERROR
  606. bool "Graphics Error Output"
  607. default n
  608. depends on DEBUG_ERROR
  609. ---help---
  610. Enable NX graphics subsystem error output to SYSLOG.
  611. config DEBUG_GRAPHICS_WARN
  612. bool "Graphics Warnings Output"
  613. default n
  614. depends on DEBUG_WARN
  615. ---help---
  616. Enable NX graphics subsystem warning output to SYSLOG.
  617. config DEBUG_GRAPHICS_INFO
  618. bool "Graphics Informational Output"
  619. default n
  620. depends on DEBUG_INFO
  621. ---help---
  622. Enable NX graphics subsystem informational output to SYSLOG.
  623. endif # DEBUG_GRAPHICS
  624. config DEBUG_LIB
  625. bool "C Library Debug Features"
  626. default n
  627. ---help---
  628. Enable C library debug features.
  629. if DEBUG_LIB
  630. config DEBUG_LIB_ERROR
  631. bool "C Library Error Output"
  632. default n
  633. depends on DEBUG_ERROR
  634. ---help---
  635. Enable C library error output to SYSLOG.
  636. config DEBUG_LIB_WARN
  637. bool "C Library Warnings Output"
  638. default n
  639. depends on DEBUG_WARN
  640. ---help---
  641. Enable C library warning output to SYSLOG.
  642. config DEBUG_LIB_INFO
  643. bool "C Library Informational Output"
  644. default n
  645. depends on DEBUG_INFO
  646. ---help---
  647. Enable C library informational output to SYSLOG.
  648. endif # DEBUG_LIB
  649. config DEBUG_MM
  650. bool "Memory Manager Debug Features"
  651. default n
  652. ---help---
  653. Enable memory management debug features.
  654. if DEBUG_MM
  655. config DEBUG_MM_ERROR
  656. bool "Memory Manager Error Output"
  657. default n
  658. depends on DEBUG_ERROR
  659. ---help---
  660. Enable memory management error output to SYSLOG.
  661. config DEBUG_MM_WARN
  662. bool "Memory Manager Warnings Output"
  663. default n
  664. depends on DEBUG_WARN
  665. ---help---
  666. Enable memory management warning output to SYSLOG.
  667. config DEBUG_MM_INFO
  668. bool "Memory Manager Informational Output"
  669. default n
  670. depends on DEBUG_INFO
  671. ---help---
  672. Enable memory management informational output to SYSLOG.
  673. endif # DEBUG_MM
  674. config DEBUG_SHM
  675. bool "Shared Memory Debug Output"
  676. default n
  677. depends on MM_SHM
  678. ---help---
  679. Enable shared memory management debug SYSLOG output (disabled by default)
  680. config DEBUG_NET
  681. bool "Network Debug Features"
  682. default n
  683. depends on ARCH_HAVE_NET
  684. ---help---
  685. Enable network debug features.
  686. if DEBUG_NET
  687. config DEBUG_NET_ERROR
  688. bool "Network Error Output"
  689. default n
  690. depends on DEBUG_ERROR
  691. ---help---
  692. Enable network error output to SYSLOG.
  693. config DEBUG_NET_WARN
  694. bool "Network Warnings Output"
  695. default n
  696. depends on DEBUG_WARN
  697. ---help---
  698. Enable network warning output to SYSLOG.
  699. config DEBUG_NET_INFO
  700. bool "Network Informational Output"
  701. default n
  702. depends on DEBUG_INFO
  703. ---help---
  704. Enable network informational output to SYSLOG.
  705. endif # DEBUG_NET
  706. config DEBUG_POWER
  707. bool "Power-related Debug Features"
  708. default n
  709. ---help---
  710. Enable power-related debug features.
  711. if DEBUG_POWER
  712. config DEBUG_POWER_ERROR
  713. bool "Power-related Error Output"
  714. default n
  715. depends on DEBUG_ERROR
  716. ---help---
  717. Enable power-related error output to SYSLOG.
  718. config DEBUG_POWER_WARN
  719. bool "Power-related Warnings Output"
  720. default n
  721. depends on DEBUG_WARN
  722. ---help---
  723. Enable power-related warning output to SYSLOG.
  724. config DEBUG_POWER_INFO
  725. bool "Power-related Informational Output"
  726. default n
  727. depends on DEBUG_INFO
  728. ---help---
  729. Enable power-related informational output to SYSLOG.
  730. endif # DEBUG_POWER
  731. config DEBUG_WIRELESS
  732. bool "Wireless Debug Features"
  733. default n
  734. depends on WIRELESS || DRIVERS_WIRELESS
  735. ---help---
  736. Enable wireless debug features.
  737. if DEBUG_WIRELESS
  738. config DEBUG_WIRELESS_ERROR
  739. bool "Wireless Error Output"
  740. default n
  741. depends on DEBUG_ERROR
  742. ---help---
  743. Enable wireless error output to SYSLOG.
  744. config DEBUG_WIRELESS_WARN
  745. bool "Wireless Warnings Output"
  746. default n
  747. depends on DEBUG_WARN
  748. ---help---
  749. Enable wireless warning output to SYSLOG.
  750. config DEBUG_WIRELESS_INFO
  751. bool "Wireless Informational Output"
  752. default n
  753. depends on DEBUG_INFO
  754. ---help---
  755. Enable wireless informational output to SYSLOG.
  756. endif # DEBUG_WIRELESS
  757. config DEBUG_SCHED
  758. bool "Scheduler Debug Features"
  759. default n
  760. ---help---
  761. Enable OS scheduler debug features.
  762. if DEBUG_SCHED
  763. config DEBUG_SCHED_ERROR
  764. bool "Scheduler Error Output"
  765. default n
  766. depends on DEBUG_ERROR
  767. ---help---
  768. Enable OS scheduler error output to SYSLOG.
  769. config DEBUG_SCHED_WARN
  770. bool "Scheduler Warnings Output"
  771. default n
  772. depends on DEBUG_WARN
  773. ---help---
  774. Enable OS scheduler warning output to SYSLOG.
  775. config DEBUG_SCHED_INFO
  776. bool "Scheduler Informational Output"
  777. default n
  778. depends on DEBUG_INFO
  779. ---help---
  780. Enable OS scheduler informational output to SYSLOG.
  781. endif # DEBUG_SCHED
  782. config DEBUG_SYSCALL
  783. bool "SYSCALL Debug Features"
  784. default n
  785. depends on LIB_SYSCALL
  786. ---help---
  787. Enable very low level features related to system calls. If SYSCAL
  788. output is enabled, this gives you basically a poor man's version of
  789. strace.
  790. if DEBUG_SYSCALL
  791. config DEBUG_SYSCALL_ERROR
  792. bool "SYSCALL Error Output"
  793. default n
  794. depends on DEBUG_ERROR
  795. ---help---
  796. Enable OS SYSCALL error output to SYSLOG.
  797. config DEBUG_SYSCALL_WARN
  798. bool "SYSCALL Warnings Output"
  799. default n
  800. depends on DEBUG_WARN
  801. ---help---
  802. Enable OS SYSCALL warning output to SYSLOG.
  803. config DEBUG_SYSCALL_INFO
  804. bool "SYSCALL Informational Output"
  805. default n
  806. depends on DEBUG_INFO
  807. ---help---
  808. Enable OS SYSCALL informational output to SYSLOG.
  809. endif # DEBUG_SYSCALL
  810. comment "OS Function Debug Options"
  811. config DEBUG_DMA
  812. bool "DMA Debug Features"
  813. default n
  814. depends on ARCH_DMA
  815. ---help---
  816. Enable DMA debug features.
  817. Support for this debug option is architecture-specific and may not
  818. be available for some MCUs.
  819. if DEBUG_DMA
  820. config DEBUG_DMA_ERROR
  821. bool "DMA Error Output"
  822. default n
  823. depends on DEBUG_ERROR
  824. ---help---
  825. Enable DMA error output to SYSLOG.
  826. config DEBUG_DMA_WARN
  827. bool "DMA Warnings Output"
  828. default n
  829. depends on DEBUG_WARN
  830. ---help---
  831. Enable DMA warning output to SYSLOG.
  832. config DEBUG_DMA_INFO
  833. bool "DMA Informational Output"
  834. default n
  835. depends on DEBUG_INFO
  836. ---help---
  837. Enable DMA informational output to SYSLOG.
  838. endif # DEBUG_DMA
  839. config DEBUG_IRQ
  840. bool "Interrupt Controller Debug Features"
  841. default n
  842. ---help---
  843. Enable interrupt controller debug features.
  844. Some (but not all) architectures support debug output to verify
  845. interrupt controller logic. If supported, then option will enable
  846. that output. This may interfere with normal operations! You
  847. should *not* enable interrupt controller debug unless you suspect
  848. that here is a problem with that logic. On some platforms, this
  849. option may even cause crashes! Use with care!
  850. if DEBUG_IRQ
  851. config DEBUG_IRQ_ERROR
  852. bool "Interrupt Controller Error Output"
  853. default n
  854. depends on DEBUG_ERROR
  855. ---help---
  856. Enable interrupt controller error output to SYSLOG.
  857. config DEBUG_IRQ_WARN
  858. bool "Interrupt Controller Warnings Output"
  859. default n
  860. depends on DEBUG_WARN
  861. ---help---
  862. Enable interrupt controller warning output to SYSLOG.
  863. config DEBUG_IRQ_INFO
  864. bool "Interrupt Controller Informational Output"
  865. default n
  866. depends on DEBUG_INFO
  867. ---help---
  868. Enable interrupt controller informational output to SYSLOG.
  869. endif # DEBUG_IRQ
  870. config DEBUG_PAGING
  871. bool "Paging Debug Features"
  872. default n
  873. depends on PAGING
  874. ---help---
  875. Enable OS demand paging debug features.
  876. if DEBUG_PAGING
  877. config DEBUG_PAGING_ERROR
  878. bool "Paging Error Output"
  879. default n
  880. depends on DEBUG_ERROR
  881. ---help---
  882. Enable OS demand paging error output to SYSLOG.
  883. config DEBUG_PAGING_WARN
  884. bool "Paging Warnings Output"
  885. default n
  886. depends on DEBUG_WARN
  887. ---help---
  888. Enable OS demand paging warning output to SYSLOG.
  889. config DEBUG_PAGING_INFO
  890. bool "Paging Informational Output"
  891. default n
  892. depends on DEBUG_INFO
  893. ---help---
  894. Enable OS demand paging informational output to SYSLOG.
  895. endif # DEBUG_PAGING
  896. comment "Driver Debug Options"
  897. config DEBUG_LCD
  898. bool "Low-level LCD Debug Features"
  899. default n
  900. depends on LCD
  901. ---help---
  902. Enable LCD driver debug features.
  903. Support for this debug option is board-specific and may not
  904. be available for some boards.
  905. if DEBUG_LCD
  906. config DEBUG_LCD_ERROR
  907. bool "LCD Driver Error Output"
  908. default n
  909. depends on DEBUG_ERROR
  910. ---help---
  911. Enable LCD driver error output to SYSLOG.
  912. config DEBUG_LCD_WARN
  913. bool "LCD Driver Warnings Output"
  914. default n
  915. depends on DEBUG_WARN
  916. ---help---
  917. Enable LCD driver warning output to SYSLOG.
  918. config DEBUG_LCD_INFO
  919. bool "LCD Driver Informational Output"
  920. default n
  921. depends on DEBUG_INFO
  922. ---help---
  923. Enable LCD driver informational output to SYSLOG.
  924. endif # DEBUG_LCD
  925. config DEBUG_LEDS
  926. bool "Low-level LED Debug Features"
  927. default n
  928. depends on ARCH_HAVE_LEDS
  929. ---help---
  930. Enable LED driver debug features.
  931. Support for this debug option is board-specific and may not
  932. be available for some boards.
  933. if DEBUG_LEDS
  934. config DEBUG_LEDS_ERROR
  935. bool "LED Driver Error Output"
  936. default n
  937. depends on DEBUG_ERROR
  938. ---help---
  939. Enable LED driver error output to SYSLOG.
  940. config DEBUG_LEDS_WARN
  941. bool "LED Driver Warnings Output"
  942. default n
  943. depends on DEBUG_WARN
  944. ---help---
  945. Enable LED driver warning output to SYSLOG.
  946. config DEBUG_LEDS_INFO
  947. bool "LED Driver Informational Output"
  948. default n
  949. depends on DEBUG_INFO
  950. ---help---
  951. Enable LED driver informational output to SYSLOG.
  952. endif # DEBUG_LEDS
  953. config DEBUG_INPUT
  954. bool "Input Device Debug Features"
  955. default n
  956. depends on INPUT
  957. ---help---
  958. Enable input d.
  959. Enable low level device debug features for the input device drivers
  960. such as mice and touchscreens (disabled by default). Support for
  961. this debug option is board-specific and may not be available for
  962. some boards.
  963. if DEBUG_INPUT
  964. config DEBUG_INPUT_ERROR
  965. bool "Input Device Error Output"
  966. default n
  967. depends on DEBUG_ERROR
  968. ---help---
  969. Enable input device error output to SYSLOG.
  970. config DEBUG_INPUT_WARN
  971. bool "Input Device Warnings Output"
  972. default n
  973. depends on DEBUG_WARN
  974. ---help---
  975. Enable input device warning output to SYSLOG.
  976. config DEBUG_INPUT_INFO
  977. bool "Input Device Informational Output"
  978. default n
  979. depends on DEBUG_INFO
  980. ---help---
  981. Enable input device informational output to SYSLOG.
  982. endif # DEBUG_INPUT
  983. config DEBUG_ANALOG
  984. bool "Analog Device Debug Features"
  985. default n
  986. depends on ANALOG
  987. ---help---
  988. Enable analog device debug features.
  989. Enable low level debug features the analog device drivers such as
  990. A/D and D/A converters (disabled by default). Support for this
  991. debug option is architecture-specific and may not be available for
  992. some MCUs.
  993. if DEBUG_ANALOG
  994. config DEBUG_ANALOG_ERROR
  995. bool "Analog Device Error Output"
  996. default n
  997. depends on DEBUG_ERROR
  998. ---help---
  999. Enable analog device error output to SYSLOG.
  1000. config DEBUG_ANALOG_WARN
  1001. bool "Analog Device Warnings Output"
  1002. default n
  1003. depends on DEBUG_WARN
  1004. ---help---
  1005. Enable analog device warning output to SYSLOG.
  1006. config DEBUG_ANALOG_INFO
  1007. bool "Analog Device Informational Output"
  1008. default n
  1009. depends on DEBUG_INFO
  1010. ---help---
  1011. Enable CAN driver informational output to SYSLOG.
  1012. endif # DEBUG_ANALOG
  1013. config DEBUG_CAN
  1014. bool "CAN Debug Features"
  1015. default n
  1016. depends on CAN
  1017. ---help---
  1018. Enable CAN driver debug features.
  1019. Support for this debug option is architecture-specific and may not
  1020. be available for some MCUs.
  1021. if DEBUG_CAN
  1022. config DEBUG_CAN_ERROR
  1023. bool "CAN Error Output"
  1024. default n
  1025. depends on DEBUG_ERROR
  1026. ---help---
  1027. Enable CAN driver error output to SYSLOG.
  1028. config DEBUG_CAN_WARN
  1029. bool "CAN Warnings Output"
  1030. default n
  1031. depends on DEBUG_WARN
  1032. ---help---
  1033. Enable CAN driver warning output to SYSLOG.
  1034. config DEBUG_CAN_INFO
  1035. bool "CAN Informational Output"
  1036. default n
  1037. depends on DEBUG_INFO
  1038. ---help---
  1039. Enable CAN driver informational output to SYSLOG.
  1040. endif # DEBUG_CAN
  1041. config DEBUG_GPIO
  1042. bool "GPIO Debug Features"
  1043. default n
  1044. ---help---
  1045. Enable GPIO debug features.
  1046. Support for this debug option is architecture-specific and may not
  1047. be available for some MCUs.
  1048. if DEBUG_GPIO
  1049. config DEBUG_GPIO_ERROR
  1050. bool "GPIO Error Output"
  1051. default n
  1052. depends on DEBUG_ERROR
  1053. ---help---
  1054. Enable GPIO error output to SYSLOG.
  1055. config DEBUG_GPIO_WARN
  1056. bool "GPIO Warnings Output"
  1057. default n
  1058. depends on DEBUG_WARN
  1059. ---help---
  1060. Enable GPIO warning output to SYSLOG.
  1061. config DEBUG_GPIO_INFO
  1062. bool "GPIO Informational Output"
  1063. default n
  1064. depends on DEBUG_INFO
  1065. ---help---
  1066. Enable GPIO informational output to SYSLOG.
  1067. endif # DEBUG_GPIO
  1068. config DEBUG_I2C
  1069. bool "I2C Debug Features"
  1070. default n
  1071. depends on I2C
  1072. ---help---
  1073. Enable I2C debug features.
  1074. Support for this debug option is architecture-specific and may not
  1075. be available for some MCUs.
  1076. if DEBUG_I2C
  1077. config DEBUG_I2C_ERROR
  1078. bool "I2C Error Output"
  1079. default n
  1080. depends on DEBUG_ERROR
  1081. ---help---
  1082. Enable I2C driver error output to SYSLOG.
  1083. config DEBUG_I2C_WARN
  1084. bool "I2C Warnings Output"
  1085. default n
  1086. depends on DEBUG_WARN
  1087. ---help---
  1088. Enable I2C driver warning output to SYSLOG.
  1089. config DEBUG_I2C_INFO
  1090. bool "I2C Informational Output"
  1091. default n
  1092. depends on DEBUG_INFO
  1093. ---help---
  1094. Enable I2C driver informational output to SYSLOG.
  1095. endif # DEBUG_I2C
  1096. config DEBUG_I2S
  1097. bool "I2S Debug Features"
  1098. default n
  1099. depends on I2S
  1100. ---help---
  1101. Enable I2S debug features.
  1102. Support for this debug option is architecture-specific and may not
  1103. be available for some MCUs.
  1104. if DEBUG_I2S
  1105. config DEBUG_I2S_ERROR
  1106. bool "I2S Error Output"
  1107. default n
  1108. depends on DEBUG_ERROR
  1109. ---help---
  1110. Enable I2S driver error output to SYSLOG.
  1111. Support for this debug option is architecture-specific and may not
  1112. be available for some MCUs.
  1113. config DEBUG_I2S_WARN
  1114. bool "I2S Warnings Output"
  1115. default n
  1116. depends on DEBUG_WARN
  1117. ---help---
  1118. Enable I2S driver warning output to SYSLOG.
  1119. config DEBUG_I2S_INFO
  1120. bool "I2S Informational Output"
  1121. default n
  1122. depends on DEBUG_INFO
  1123. ---help---
  1124. Enable I2S driver informational output to SYSLOG.
  1125. endif # DEBUG_I2S
  1126. config DEBUG_PWM
  1127. bool "PWM Debug Features"
  1128. default n
  1129. depends on PWM
  1130. ---help---
  1131. Enable PWM debug features.
  1132. Support for this debug option is architecture-specific and may not
  1133. be available for some MCUs.
  1134. if DEBUG_PWM
  1135. config DEBUG_PWM_ERROR
  1136. bool "PWM Error Output"
  1137. default n
  1138. depends on DEBUG_ERROR
  1139. ---help---
  1140. Enable PWM driver error output to SYSLOG.
  1141. Support for this debug option is architecture-specific and may not
  1142. be available for some MCUs.
  1143. config DEBUG_PWM_WARN
  1144. bool "PWM Warnings Output"
  1145. default n
  1146. depends on DEBUG_WARN
  1147. ---help---
  1148. Enable PWM driver warning output to SYSLOG.
  1149. config DEBUG_PWM_INFO
  1150. bool "PWM Informational Output"
  1151. default n
  1152. depends on DEBUG_INFO
  1153. ---help---
  1154. Enable PWM driver informational output to SYSLOG.
  1155. endif # DEBUG_PWM
  1156. config DEBUG_RTC
  1157. bool "RTC Debug Features"
  1158. default n
  1159. depends on RTC
  1160. ---help---
  1161. Enable RTC debug features.
  1162. Support for this debug option is architecture-specific and may not
  1163. be available for some MCUs.
  1164. if DEBUG_RTC
  1165. config DEBUG_RTC_ERROR
  1166. bool "RTC Error Output"
  1167. default n
  1168. depends on DEBUG_ERROR
  1169. ---help---
  1170. Enable RTC driver error output to SYSLOG.
  1171. Support for this debug option is architecture-specific and may not
  1172. be available for some MCUs.
  1173. config DEBUG_RTC_WARN
  1174. bool "RTC Warnings Output"
  1175. default n
  1176. depends on DEBUG_WARN
  1177. ---help---
  1178. Enable RTC driver warning output to SYSLOG.
  1179. config DEBUG_RTC_INFO
  1180. bool "RTC Informational Output"
  1181. default n
  1182. depends on DEBUG_INFO
  1183. ---help---
  1184. Enable RTC driver informational output to SYSLOG.
  1185. endif # DEBUG_RTC
  1186. config DEBUG_MEMCARD
  1187. bool "Memory Card Driver Debug Features"
  1188. default n
  1189. depends on MMCSD
  1190. ---help---
  1191. Enable MMC/SD memory card Driver debug features.
  1192. Support for this debug option is architecture-specific and may not
  1193. be available for some MCUs.
  1194. if DEBUG_MEMCARD
  1195. config DEBUG_MEMCARD_ERROR
  1196. bool "Memory Card Driver Error Output"
  1197. default n
  1198. depends on DEBUG_ERROR
  1199. ---help---
  1200. Enable MMC/SD memory card driver error output to SYSLOG.
  1201. Support for this debug option is architecture-specific and may not
  1202. be available for some MCUs.
  1203. config DEBUG_MEMCARD_WARN
  1204. bool "Memory Card Driver Warnings Output"
  1205. default n
  1206. depends on DEBUG_WARN
  1207. ---help---
  1208. Enable MMC/SD memory card driver warning output to SYSLOG.
  1209. config DEBUG_MEMCARD_INFO
  1210. bool "Memory Card Driver Informational Output"
  1211. default n
  1212. depends on DEBUG_INFO
  1213. ---help---
  1214. Enable MMC/SD memory card driver informational output to SYSLOG.
  1215. endif # DEBUG_MEMCARD
  1216. config DEBUG_SENSORS
  1217. bool "Sensor Debug Features"
  1218. default n
  1219. depends on SENSORS
  1220. ---help---
  1221. Enable sensor driver debug features.
  1222. Support for this debug option is architecture-specific and may not
  1223. be available for some MCUs.
  1224. if DEBUG_SENSORS
  1225. config DEBUG_SENSORS_ERROR
  1226. bool "Sensor Error Output"
  1227. default n
  1228. depends on DEBUG_ERROR
  1229. ---help---
  1230. Enable sensor driver error output to SYSLOG.
  1231. config DEBUG_SENSORS_WARN
  1232. bool "Sensor Warnings Output"
  1233. default n
  1234. depends on DEBUG_WARN
  1235. ---help---
  1236. Enable sensor driver warning output to SYSLOG.
  1237. config DEBUG_SENSORS_INFO
  1238. bool "Sensor Informational Output"
  1239. default n
  1240. depends on DEBUG_INFO
  1241. ---help---
  1242. Enable sensor driver informational output to SYSLOG.
  1243. endif # DEBUG_SENSORS
  1244. config DEBUG_SPI
  1245. bool "SPI Debug Features"
  1246. default n
  1247. depends on SPI
  1248. ---help---
  1249. Enable SPI debug features.
  1250. Support for this debug option is architecture-specific and may not
  1251. be available for some MCUs.
  1252. if DEBUG_SPI
  1253. config DEBUG_SPI_ERROR
  1254. bool "SPI Error Output"
  1255. default n
  1256. depends on DEBUG_ERROR
  1257. ---help---
  1258. Enable SPI error output to SYSLOG.
  1259. config DEBUG_SPI_WARN
  1260. bool "SPI Warnings Output"
  1261. default n
  1262. depends on DEBUG_WARN
  1263. ---help---
  1264. Enable SPI warning output to SYSLOG.
  1265. config DEBUG_SPI_INFO
  1266. bool "SPI Informational Output"
  1267. default n
  1268. depends on DEBUG_INFO
  1269. ---help---
  1270. Enable SPI informational output to SYSLOG.
  1271. endif # DEBUG_SPI
  1272. config DEBUG_TIMER
  1273. bool "Timer Debug Features"
  1274. default n
  1275. ---help---
  1276. Enable timer debug features.
  1277. Support for this debug option is architecture-specific and may not
  1278. be available for some MCUs.
  1279. if DEBUG_TIMER
  1280. config DEBUG_TIMER_ERROR
  1281. bool "Timer Error Output"
  1282. default n
  1283. depends on DEBUG_ERROR
  1284. ---help---
  1285. Enable timer error output to SYSLOG.
  1286. config DEBUG_TIMER_WARN
  1287. bool "Timer Warnings Output"
  1288. default n
  1289. depends on DEBUG_WARN
  1290. ---help---
  1291. Enable timer warning output to SYSLOG.
  1292. config DEBUG_TIMER_INFO
  1293. bool "Timer Informational Output"
  1294. default n
  1295. depends on DEBUG_INFO
  1296. ---help---
  1297. Enable timer informational output to SYSLOG.
  1298. endif # DEBUG_TIMER
  1299. config DEBUG_USB
  1300. bool "USB Debug Features"
  1301. default n
  1302. depends on USBDEV || USBHOST
  1303. ---help---
  1304. Enable USB debug features.
  1305. if DEBUG_USB
  1306. config DEBUG_USB_ERROR
  1307. bool "USB Error Output"
  1308. default n
  1309. depends on DEBUG_ERROR
  1310. ---help---
  1311. Enable USB error output to SYSLOG.
  1312. config DEBUG_USB_WARN
  1313. bool "USB Warnings Output"
  1314. default n
  1315. depends on DEBUG_WARN
  1316. ---help---
  1317. Enable USB warning output to SYSLOG.
  1318. config DEBUG_USB_INFO
  1319. bool "USB Informational Output"
  1320. default n
  1321. depends on DEBUG_INFO
  1322. ---help---
  1323. Enable USB informational output to SYSLOG.
  1324. endif # DEBUG_USB
  1325. config DEBUG_WATCHDOG
  1326. bool "Watchdog Timer Debug Features"
  1327. default n
  1328. depends on WATCHDOG
  1329. ---help---
  1330. Enable watchdog timer debug features.
  1331. Support for this debug option is architecture-specific and may not
  1332. be available for some MCUs.
  1333. if DEBUG_WATCHDOG
  1334. config DEBUG_WATCHDOG_ERROR
  1335. bool "Watchdog Timer Error Output"
  1336. default n
  1337. depends on DEBUG_ERROR
  1338. ---help---
  1339. Enable watchdog time error output to SYSLOG.
  1340. config DEBUG_WATCHDOG_WARN
  1341. bool "Watchdog Timer Warnings Output"
  1342. default n
  1343. depends on DEBUG_WARN
  1344. ---help---
  1345. Enable watchdog time warning output to SYSLOG.
  1346. config DEBUG_WATCHDOG_INFO
  1347. bool "Watchdog Timer Informational Output"
  1348. default n
  1349. depends on DEBUG_INFO
  1350. ---help---
  1351. Enable watchdog time informational output to SYSLOG.
  1352. endif # DEBUG_WATCHDOG
  1353. endif # DEBUG_FEATURES
  1354. config ARCH_HAVE_STACKCHECK
  1355. bool
  1356. default n
  1357. config STACK_COLORATION
  1358. bool "Stack coloration"
  1359. default n
  1360. depends on ARCH_HAVE_STACKCHECK
  1361. ---help---
  1362. Enable stack coloration to initialize the stack memory to the value
  1363. of STACK_COLOR and enable the stack checking APIs that can be used
  1364. to monitor the level of stack usage.
  1365. Only supported by a few architectures.
  1366. config ARCH_HAVE_HEAPCHECK
  1367. bool
  1368. default n
  1369. config HEAP_COLORATION
  1370. bool "Heap coloration"
  1371. default n
  1372. depends on ARCH_HAVE_HEAPCHECK
  1373. ---help---
  1374. Enable heap coloration to check heap usage. Only supported by a few
  1375. architectures.
  1376. config DEBUG_SYMBOLS
  1377. bool "Generate Debug Symbols"
  1378. default n
  1379. ---help---
  1380. Build with debug symbols (needed for use with a debugger).
  1381. endmenu # Debug Options
  1382. config ARCH_HAVE_CUSTOMOPT
  1383. bool
  1384. default n
  1385. choice
  1386. prompt "Optimization Level"
  1387. default DEBUG_NOOPT if DEBUG_SYMBOLS
  1388. default DEBUG_FULLOPT if !DEBUG_SYMBOLS
  1389. config DEBUG_NOOPT
  1390. bool "Suppress Optimization"
  1391. ---help---
  1392. Build without optimization. This is often helpful when debugging code.
  1393. config DEBUG_CUSTOMOPT
  1394. bool "Custom Optimization"
  1395. depends on ARCH_HAVE_CUSTOMOPT
  1396. ---help---
  1397. Select a custom debug level. This is often helpful if you suspect an
  1398. optimization level error and want to lower the level of optimization.
  1399. config DEBUG_FULLOPT
  1400. bool "Normal, Full optimization"
  1401. ---help---
  1402. Build full optimization. This is the normal case for production
  1403. firmware.
  1404. endchoice # Optimization Level
  1405. config DEBUG_OPTLEVEL
  1406. string "Custom Optimization Level"
  1407. default "-O2"
  1408. depends on DEBUG_CUSTOMOPT
  1409. ---help---
  1410. This string represents the custom optimization level that will be
  1411. used if DEBUG_CUSTOMOPT.
  1412. endmenu # Build Setup
  1413. menu "System Type"
  1414. source "arch/Kconfig"
  1415. endmenu
  1416. menu "Board Selection"
  1417. source "boards/Kconfig"
  1418. endmenu
  1419. menu "RTOS Features"
  1420. source sched/Kconfig
  1421. source syscall/Kconfig
  1422. endmenu
  1423. menu "Device Drivers"
  1424. source drivers/Kconfig
  1425. endmenu
  1426. menu "Networking Support"
  1427. source net/Kconfig
  1428. endmenu
  1429. menu "Crypto API"
  1430. source crypto/Kconfig
  1431. endmenu
  1432. menu "File Systems"
  1433. source fs/Kconfig
  1434. endmenu
  1435. menu "Graphics Support"
  1436. source graphics/Kconfig
  1437. source libs/libnx/Kconfig
  1438. endmenu
  1439. menu "Memory Management"
  1440. source mm/Kconfig
  1441. endmenu
  1442. menu "Audio Support"
  1443. source audio/Kconfig
  1444. endmenu
  1445. menu "Video Support"
  1446. source video/Kconfig
  1447. endmenu
  1448. menu "Wireless Support"
  1449. source wireless/Kconfig
  1450. endmenu
  1451. menu "Binary Loader"
  1452. source binfmt/Kconfig
  1453. endmenu
  1454. menu "Library Routines"
  1455. source libs/libc/Kconfig
  1456. source libs/libxx/Kconfig
  1457. source libs/libdsp/Kconfig
  1458. endmenu
  1459. menu "Open Asymmetric Multi Processing"
  1460. source openamp/Kconfig
  1461. endmenu
  1462. menu "Application Configuration"
  1463. source "$APPSDIR/Kconfig"
  1464. endmenu