Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  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. config NX
  6. bool "NX Graphics"
  7. default n
  8. ---help---
  9. Enables overall support for graphics library and NX
  10. if NX
  11. config NX_LCDDRIVER
  12. bool "LCD driver"
  13. default y
  14. depends on LCD
  15. ---help---
  16. By default, the NX graphics system uses the frame buffer driver interface
  17. defined in include/nuttx/video/fb.h. However, if LCD is support is enabled,
  18. this this option is provide to select, instead, the LCD driver interface
  19. defined in include/nuttx/lcd/lcd.h.
  20. config NX_NPLANES
  21. int "Number of Color Planes"
  22. default 1
  23. ---help---
  24. Some YUV color formats requires support for multiple planes, one for
  25. each color component. Unless you have such special hardware (and
  26. are willing to debug a lot of untested logic), this value should be
  27. set to 1.
  28. config NX_BGCOLOR
  29. hex "Initial background color"
  30. default 0x0
  31. ---help---
  32. NX will clear the background plane initially. This is the default
  33. color that will be used when the background is cleared. Note: This
  34. logic would have to be extended if you want to support multiple
  35. color planes.
  36. config NX_ANTIALIASING
  37. bool "Anti-aliasing support"
  38. default n
  39. depends on (!NX_DISABLE_16BPP || !NX_DISABLE_24BPP || !NX_DISABLE_32BPP) && !NX_LCDDRIVER
  40. ---help---
  41. Enable support for ant-aliasing when rendering lines as various
  42. orientations.
  43. config NX_WRITEONLY
  44. bool "Write-only Graphics Device"
  45. default y if NX_LCDDRIVER && LCD_NOGETRUN
  46. default n if !NX_LCDDRIVER || !LCD_NOGETRUN
  47. ---help---
  48. Define if the underlying graphics device does not support read operations.
  49. Automatically defined if NX_LCDDRIVER and LCD_NOGETRUN are
  50. defined.
  51. config NX_UPDATE
  52. bool "Display update hooks"
  53. default n
  54. ---help---
  55. Enable a callout to inform some external module that the display has
  56. been updated. This would be useful in a couple for cases.
  57. - When a serial LCD is used, but a framebuffer is used to access the
  58. LCD. In this case, the update callout can be used to refresh the
  59. affected region of the display.
  60. - When VNC is enabled. This is case, this callout is necessary to
  61. update the remote frame buffer to match the local framebuffer.
  62. When this feature is enabled, some external logic must provide this
  63. interface:
  64. void nx_notify_rectangle(FAR NX_PLANEINFOTYPE *pinfo,
  65. FAR const struct nxgl_rect_s *rect);
  66. That is the function that will handle the notification. It
  67. receives the rectangular region that was updated in the provided
  68. plane.
  69. menu "Supported Pixel Depths"
  70. config NX_DISABLE_1BPP
  71. bool "Disable 1 BPP"
  72. default y
  73. ---help---
  74. NX supports a variety of pixel depths. You can save some memory by disabling
  75. support for unused color depths. The selection disables support for 1BPP
  76. pixel depth.
  77. config NX_DISABLE_2BPP
  78. bool "Disable 2 BPP"
  79. default y
  80. ---help---
  81. NX supports a variety of pixel depths. You can save some memory by disabling
  82. support for unused color depths. The selection disables support for 2BPP
  83. pixel depth.
  84. config NX_DISABLE_4BPP
  85. bool "Disable 4 BPP"
  86. default y
  87. ---help---
  88. NX supports a variety of pixel depths. You can save some memory by disabling
  89. support for unused color depths. The selection disables support for 4BPP
  90. pixel depth.
  91. config NX_DISABLE_8BPP
  92. bool "Disable 8 BPP"
  93. default y
  94. ---help---
  95. NX supports a variety of pixel depths. You can save some memory by disabling
  96. support for unused color depths. The selection disables support for 8BPP
  97. pixel depth.
  98. config NX_DISABLE_16BPP
  99. bool "Disable 16 BPP"
  100. default y
  101. ---help---
  102. NX supports a variety of pixel depths. You can save some memory by disabling
  103. support for unused color depths. The selection disables support for 16BPP
  104. pixel depth.
  105. config NX_DISABLE_24BPP
  106. bool "Disable 24 BPP"
  107. default y
  108. ---help---
  109. NX supports a variety of pixel depths. You can save some memory by disabling
  110. support for unused color depths. The selection disables support for 24BPP
  111. pixel depth.
  112. config NX_DISABLE_32BPP
  113. bool "Disable 32 BPP"
  114. default y
  115. ---help---
  116. NX supports a variety of pixel depths. You can save some memory by disabling
  117. support for unused color depths. The selection disables support for 32BPP
  118. pixel depth.
  119. endmenu
  120. config NX_PACKEDMSFIRST
  121. bool "Packed MS First"
  122. default y
  123. depends on NX_DISABLE_1BPP || NX_DISABLE_2BPP || NX_DISABLE_4BPP
  124. ---help---
  125. If a pixel depth of less than 8-bits is used, then NX needs to know if the
  126. pixels pack from the MS to LS or from LS to MS
  127. menu "Input Devices"
  128. config NX_XYINPUT
  129. bool
  130. default n
  131. choice
  132. prompt "Mouse/Touchscreen Support"
  133. default NX_XYINPUT_NONE
  134. config NX_XYINPUT_NONE
  135. bool "No X/Y input device"
  136. ---help---
  137. There is no X/Y positional input device connected
  138. config NX_XYINPUT_MOUSE
  139. bool "Mouse device support"
  140. select NX_XYINPUT
  141. ---help---
  142. X/Y positional input is provided by a mouse. The only difference
  143. between the mouse and touchscreen selection is in the presence or
  144. absence of the mouse buttons. This difference is not used within
  145. NuttX itself, however, graphics applications may need this
  146. information, for example, to handle the different ways that graphic
  147. elements are selected and dragged.
  148. config NX_XYINPUT_TOUCHSCREEN
  149. bool "Touchscreen device support"
  150. select NX_XYINPUT
  151. ---help---
  152. X/Y positional input is provided by a touchscreen. The only difference
  153. between the mouse and touchscreen selection is in the presence or
  154. absence of the mouse buttons. This difference is not used within
  155. NuttX itself, however, graphics applications may need this
  156. information, for example, to handle the different ways that graphic
  157. elements are selected and dragged.
  158. endchoice # Mouse/Touchscreen Support
  159. config NX_KBD
  160. bool "Keyboard Support"
  161. default n
  162. ---help---
  163. Build in support of keypad/keyboard input.
  164. endmenu
  165. menu "Framed Window Borders"
  166. config NXTK_BORDERWIDTH
  167. int "Border Width"
  168. default 4
  169. ---help---
  170. Specifies with with of the border (in pixels) used with framed windows.
  171. The default is 4.
  172. config NXTK_DEFAULT_BORDERCOLORS
  173. bool "Use Default Border Colors"
  174. default y
  175. ---help---
  176. If this option is defined, the default system border colors will be
  177. used on framed windows. Otherwise, additional options will be
  178. present so that you can define custom board colors.
  179. if !NXTK_DEFAULT_BORDERCOLORS
  180. config NXTK_BORDERCOLOR1
  181. hex "Border Color"
  182. default 0x0
  183. ---help---
  184. Specify the colors of the border used with framed windows.
  185. NXTL_BORDERCOLOR1 is the "normal" color of the border.
  186. NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker.
  187. NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter.
  188. config NXTK_BORDERCOLOR2
  189. hex "Darker Border Color"
  190. default 0x0
  191. ---help---
  192. Specify the colors of the border used with framed windows.
  193. NXTL_BORDERCOLOR1 is the "normal" color of the border.
  194. NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker.
  195. NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter.
  196. config NXTK_BORDERCOLOR3
  197. hex "Brighter Border Color"
  198. default 0x0
  199. ---help---
  200. Specify the colors of the border used with framed windows.
  201. NXTL_BORDERCOLOR1 is the "normal" color of the border.
  202. NXTK_BORDERCOLOR2 is the shadow side color and so is normally darker.
  203. NXTK_BORDERCOLOR3 is the shiny side color and so is normally brighter.
  204. endif # !NXTK_DEFAULT_BORDERCOLORS
  205. endmenu
  206. config NXTK_AUTORAISE
  207. bool "Autoraise"
  208. default n
  209. ---help---
  210. If set, a window will be raised to the top if the mouse position is over a
  211. visible portion of the window. Default: A mouse button must be clicked over
  212. a visible portion of the window.
  213. menu "Font Selections"
  214. config NXFONTS_CHARBITS
  215. int "Bits in Character Set"
  216. default 7
  217. range 7 8
  218. ---help---
  219. The number of bits in the character set. Current options are only 7 and 8.
  220. The default is 7.
  221. config NXFONT_MONO5X8
  222. bool "Mono 5x8"
  223. default n
  224. ---help---
  225. Tiny mono-spaced 5x8 font (font ID FONTID_MONO5X8 = 18)
  226. config NXFONT_SANS17X22
  227. bool "Sans 17x22"
  228. default n
  229. ---help---
  230. This option enables support for a tiny, 17x22 san serif font
  231. (font ID FONTID_SANS17X22 == 14).
  232. config NXFONT_SANS20X26
  233. bool "Sans 20x26"
  234. default n
  235. ---help---
  236. This option enables support for a tiny, 20x26 san serif font
  237. (font ID FONTID_SANS20X26 == 15).
  238. config NXFONT_SANS23X27
  239. bool "Sans 23x27"
  240. default n
  241. ---help---
  242. This option enables support for a tiny, 23x27 san serif font
  243. (font ID FONTID_SANS23X27 == 1).
  244. config NXFONT_SANS22X29
  245. bool "Sans 22x29"
  246. default n
  247. ---help---
  248. This option enables support for a small, 22x29 san serif font
  249. (font ID FONTID_SANS22X29 == 2).
  250. config NXFONT_SANS28X37
  251. bool "Sans 28x37"
  252. default n
  253. ---help---
  254. This option enables support for a medium, 28x37 san serif font
  255. (font ID FONTID_SANS28X37 == 3).
  256. config NXFONT_SANS39X48
  257. bool "Sans 39x48"
  258. default n
  259. ---help---
  260. This option enables support for a large, 39x48 san serif font
  261. (font ID FONTID_SANS39X48 == 4).
  262. config NXFONT_SANS17X23B
  263. bool "Sans 17x23 Bold"
  264. default n
  265. ---help---
  266. This option enables support for a tiny, 17x23 san serif bold font
  267. (font ID FONTID_SANS17X23B == 16).
  268. config NXFONT_SANS20X27B
  269. bool "Sans 20x27 Bold"
  270. default n
  271. ---help---
  272. This option enables support for a tiny, 20x27 san serif bold font
  273. (font ID FONTID_SANS20X27B == 17).
  274. config NXFONT_SANS22X29B
  275. bool "Sans 22x29 Bold"
  276. default n
  277. ---help---
  278. This option enables support for a small, 22x29 san serif bold font
  279. (font ID FONTID_SANS22X29B == 5).
  280. config NXFONT_SANS28X37B
  281. bool "Sans 28x37 Bold"
  282. default n
  283. ---help---
  284. This option enables support for a medium, 28x37 san serif bold font
  285. (font ID FONTID_SANS28X37B == 6).
  286. config NXFONT_SANS40X49B
  287. bool "Sans 40x49 Bold"
  288. default n
  289. ---help---
  290. This option enables support for a large, 40x49 san serif bold font
  291. (font ID FONTID_SANS40X49B == 7).
  292. config NXFONT_SERIF22X29
  293. bool "Serif 22x29"
  294. default n
  295. ---help---
  296. This option enables support for a small, 22x29 font (with serifs)
  297. (font ID FONTID_SERIF22X29 == 8).
  298. config NXFONT_SERIF29X37
  299. bool "Serif 29x37"
  300. default n
  301. ---help---
  302. This option enables support for a medium, 29x37 font (with serifs)
  303. (font ID FONTID_SERIF29X37 == 9).
  304. config NXFONT_SERIF38X48
  305. bool "Serif 38x48"
  306. default n
  307. ---help---
  308. This option enables support for a large, 38x48 font (with serifs)
  309. (font ID FONTID_SERIF38X48 == 10).
  310. config NXFONT_SERIF22X28B
  311. bool "Serif 22x28 Bold"
  312. default n
  313. ---help---
  314. This option enables support for a small, 27x38 bold font (with serifs)
  315. (font ID FONTID_SERIF22X28B == 11).
  316. config NXFONT_SERIF27X38B
  317. bool "Serif 27x38 Bold"
  318. default n
  319. ---help---
  320. This option enables support for a medium, 27x38 bold font (with serifs)
  321. (font ID FONTID_SERIF27X38B == 12).
  322. config NXFONT_SERIF38X49B
  323. bool "Serif 38x49 Bold"
  324. default n
  325. ---help---
  326. This option enables support for a large, 38x49 bold font (with serifs)
  327. (font ID FONTID_SERIF38X49B == 13).
  328. config NXFONT_PIXEL_UNICODE
  329. bool "Pixel UniCode"
  330. default n
  331. ---help---
  332. This option enables support for a small LCD, The "Pixel UniCode"
  333. (font ID FONTID_PIXEL_UNICODE == 19).
  334. config NXFONT_PIXEL_LCD_MACHINE
  335. bool "Pixel lcd machine"
  336. default n
  337. ---help---
  338. This option enables support for a small LCD, The "Pixel lcd machine"
  339. (font ID FONTID_PIXEL_LCD_MACHINE == 20).
  340. config NXFONT_X11_MISC_FIXED_4X6
  341. bool "x11 misc fixed 4x6"
  342. default n
  343. ---help---
  344. This option enables support for a "x11-misc-fixed-4x6".
  345. (font ID FONTID_X11_MISC_FIXED_4X6 == 21).
  346. config NXFONT_X11_MISC_FIXED_5X7
  347. bool "x11 misc fixed 5x7"
  348. default n
  349. ---help---
  350. This option enables support for a "x11-misc-fixed-5x7".
  351. (font ID FONTID_X11_MISC_FIXED_5X7 == 22).
  352. config NXFONT_X11_MISC_FIXED_5X8
  353. bool "x11 misc fixed 5x8"
  354. default n
  355. ---help---
  356. This option enables support for a "x11-misc-fixed-5x8".
  357. (font ID FONTID_X11_MISC_FIXED_5X8 == 23).
  358. config NXFONT_X11_MISC_FIXED_6X9
  359. bool "x11 misc fixed 6x9"
  360. default n
  361. ---help---
  362. This option enables support for a "x11-misc-fixed-6x9".
  363. (font ID FONTID_X11_MISC_FIXED_6X9 == 24).
  364. config NXFONT_X11_MISC_FIXED_6X10
  365. bool "x11 misc fixed 6x10"
  366. default n
  367. ---help---
  368. This option enables support for a "x11-misc-fixed-6x10".
  369. (font ID FONTID_X11_MISC_FIXED_6X10 == 25).
  370. config NXFONT_X11_MISC_FIXED_6X12
  371. bool "x11 misc fixed 6x12"
  372. default n
  373. ---help---
  374. This option enables support for a "x11-misc-fixed-6x12".
  375. (font ID FONTID_X11_MISC_FIXED_6X12 == 26).
  376. config NXFONT_X11_MISC_FIXED_6X13
  377. bool "x11 misc fixed 6x13"
  378. default n
  379. ---help---
  380. This option enables support for a "x11-misc-fixed-6x13".
  381. (font ID FONTID_X11_MISC_FIXED_6X13 == 27).
  382. config NXFONT_X11_MISC_FIXED_6X13B
  383. bool "x11 misc fixed 6x13B"
  384. default n
  385. ---help---
  386. This option enables support for a "x11-misc-fixed-6x13B".
  387. (font ID FONTID_X11_MISC_FIXED_6X13B == 28).
  388. config NXFONT_X11_MISC_FIXED_6X13O
  389. bool "x11 misc fixed 6x13O"
  390. default n
  391. ---help---
  392. This option enables support for a "x11-misc-fixed-6x13O".
  393. (font ID FONTID_X11_MISC_FIXED_6X13O == 29).
  394. config NXFONT_X11_MISC_FIXED_7X13
  395. bool "x11 misc fixed 7x13"
  396. default n
  397. ---help---
  398. This option enables support for a "x11-misc-fixed-7x13".
  399. (font ID FONTID_X11_MISC_FIXED_7X13 == 30).
  400. config NXFONT_X11_MISC_FIXED_7X13B
  401. bool "x11 misc fixed 7x13B"
  402. default n
  403. ---help---
  404. This option enables support for a "x11-misc-fixed-7x13B".
  405. (font ID FONTID_X11_MISC_FIXED_7X13B == 31).
  406. config NXFONT_X11_MISC_FIXED_7X13O
  407. bool "x11 misc fixed 7x13O"
  408. default n
  409. ---help---
  410. This option enables support for a "x11-misc-fixed-7x13O".
  411. (font ID FONTID_X11_MISC_FIXED_7X13O == 32).
  412. config NXFONT_X11_MISC_FIXED_7X14
  413. bool "x11 misc fixed 7x14"
  414. default n
  415. ---help---
  416. This option enables support for a "x11-misc-fixed-7x14".
  417. (font ID FONTID_X11_MISC_FIXED_7X14 == 33).
  418. config NXFONT_X11_MISC_FIXED_7X14B
  419. bool "x11 misc fixed 7x14B"
  420. default n
  421. ---help---
  422. This option enables support for a "x11-misc-fixed-7x14B".
  423. (font ID FONTID_X11_MISC_FIXED_7X14B == 34).
  424. config NXFONT_X11_MISC_FIXED_8X13
  425. bool "x11 misc fixed 8x13"
  426. default n
  427. ---help---
  428. This option enables support for a "x11-misc-fixed-8x13".
  429. (font ID FONTID_X11_MISC_FIXED_8X13 == 35).
  430. config NXFONT_X11_MISC_FIXED_8X13B
  431. bool "x11 misc fixed 8x13B"
  432. default n
  433. ---help---
  434. This option enables support for a "x11-misc-fixed-8x13B".
  435. (font ID FONTID_X11_MISC_FIXED_8X13B == 36).
  436. config NXFONT_X11_MISC_FIXED_8X13O
  437. bool "x11 misc fixed 8x13O"
  438. default n
  439. ---help---
  440. This option enables support for a "x11-misc-fixed-8x13O".
  441. (font ID FONTID_X11_MISC_FIXED_8X13O == 37).
  442. config NXFONT_X11_MISC_FIXED_9X15
  443. bool "x11 misc fixed 9x15"
  444. default n
  445. ---help---
  446. This option enables support for a "x11-misc-fixed-9x15".
  447. (font ID FONTID_X11_MISC_FIXED_9X15 == 38).
  448. config NXFONT_X11_MISC_FIXED_9X15B
  449. bool "x11 misc fixed 9x15B"
  450. default n
  451. ---help---
  452. This option enables support for a "x11-misc-fixed-9x15B".
  453. (font ID FONTID_X11_MISC_FIXED_9X15B == 39).
  454. config NXFONT_X11_MISC_FIXED_9X18
  455. bool "x11 misc fixed 9x18"
  456. default n
  457. ---help---
  458. This option enables support for a "x11-misc-fixed-9x18".
  459. (font ID FONTID_X11_MISC_FIXED_9X18 == 40).
  460. config NXFONT_X11_MISC_FIXED_9X18B
  461. bool "x11 misc fixed 9x18B"
  462. default n
  463. ---help---
  464. This option enables support for a "x11-misc-fixed-9x18B".
  465. (font ID FONTID_X11_MISC_FIXED_9X18B == 41).
  466. config NXFONT_X11_MISC_FIXED_10X20
  467. bool "x11 misc fixed 10x20"
  468. default n
  469. ---help---
  470. This option enables support for a "x11-misc-fixed-10x20".
  471. (font ID FONTID_X11_MISC_FIXED_10X20 == 42).
  472. config NXFONT_TOM_THUMB_4X6
  473. bool "Tom Thumb Monospace 4x6"
  474. default n
  475. ---help---
  476. This option enables support for a small, 3x5 font (with blank space
  477. padding to 4x6) (font ID FONTID_TOM_THUMB_4X6 == 43).
  478. endmenu
  479. menuconfig NXTERM
  480. bool "NxTerm"
  481. default n
  482. ---help---
  483. Enables building of the NxTerm driver.
  484. if NXTERM
  485. comment "NxTerm Output Text/Graphics Options"
  486. config NXTERM_BPP
  487. int "NxTerm BPP"
  488. default 1 if !NX_DISABLE_1BPP
  489. default 2 if !NX_DISABLE_2BPP
  490. default 4 if !NX_DISABLE_4BPP
  491. default 8 if !NX_DISABLE_8BPP
  492. default 16 if !NX_DISABLE_16BPP
  493. default 24 if !NX_DISABLE_24BPP
  494. default 32 if !NX_DISABLE_32BPP
  495. ---help---
  496. Currently, NxTerm supports only a single pixel depth. This
  497. configuration setting must be provided to support that single pixel depth.
  498. Default: The smallest enabled pixel depth. (see NX_DISABLE_*BPP)
  499. config NXTERM_CURSORCHAR
  500. int "Character code to use as the cursor"
  501. default 137
  502. ---help---
  503. The bitmap code to use as the cursor. Default '_' (137)
  504. config NXTERM_MXCHARS
  505. int "Max Characters on Display"
  506. default 128
  507. ---help---
  508. NxTerm needs to remember every character written to the console so
  509. that it can redraw the window. This setting determines the size of some
  510. internal memory allocations used to hold the character data. Default: 128.
  511. config NXTERM_CACHESIZE
  512. int "Font Cache Size"
  513. default 16
  514. ---help---
  515. NxTerm supports caching of rendered fonts. This font caching is required
  516. for two reasons: (1) First, it improves text performance, but more
  517. importantly (2) it preserves the font memory. Since the NX server runs on
  518. a separate server thread, it requires that the rendered font memory persist
  519. until the server has a chance to render the font. Unfortunately, the font
  520. cache would be quite large if all fonts were saved. The NXTERM_CACHESIZE
  521. setting will control the size of the font cache (in number of glyphs). Only that
  522. number of the most recently used glyphs will be retained. Default: 16.
  523. NOTE: There can still be a race condition between the NxTerm driver and the
  524. NX task. If you every see character corruption (especially when printing
  525. a lot of data or scrolling), then increasing the value of NXTERM_CACHESIZE
  526. is something that you should try. Alternatively, you can reduce the size of
  527. MQ_MAXMSGSIZE which will force NxTerm task to pace the server task.
  528. NXTERM_CACHESIZE should be larger than MQ_MAXMSGSIZE in any event.
  529. config NXTERM_LINESEPARATION
  530. int "Line Separation"
  531. default 0
  532. ---help---
  533. This the space (in rows) between each row of test. Default: 0
  534. config NXTERM_NOWRAP
  535. bool "No wrap"
  536. default n
  537. ---help---
  538. By default, lines will wrap when the test reaches the right hand side
  539. of the window. This setting can be defining to change this behavior so
  540. that the text is simply truncated until a new line is encountered.
  541. comment "NxTerm Input options"
  542. config NXTERM_NXKBDIN
  543. bool "NX KBD input"
  544. default n
  545. ---help---
  546. Take input from the NX keyboard input callback. By default, keyboard
  547. input is taken from stdin (/dev/console). If this option is set, then
  548. the interface nxterm_kdbin() is enabled. That interface may be driven
  549. by window callback functions so that keyboard input *only* goes to the
  550. top window.
  551. config NXTERM_KBDBUFSIZE
  552. int "Keyboard Input Buffer Size"
  553. default 16
  554. ---help---
  555. If NXTERM_NXKBDIN is enabled, then this value may be used to
  556. define the size of the per-window keyboard input buffer. Default: 16
  557. config NXTERM_NPOLLWAITERS
  558. int "Number of Poll Waiters"
  559. default 4
  560. ---help---
  561. The number of threads that can be waiting for read data available.
  562. Default: 4
  563. endif # NXTERM
  564. comment "NX Multi-user only options"
  565. menuconfig NX_MULTIUSER
  566. bool "Multi-user NX Server"
  567. default n
  568. ---help---
  569. Configures NX in multi-user mode
  570. if NX_MULTIUSER
  571. config NX_BLOCKING
  572. bool "Blocking"
  573. default n
  574. ---help---
  575. Open the client message queues in blocking mode. In this case,
  576. nx_eventhandler() will not return until a message is received and processed.
  577. config NX_MXSERVERMSGS
  578. int "Max Server Messages"
  579. default 32
  580. ---help---
  581. Specifies the maximum number of messages that can fit in the message queues.
  582. No additional resources are allocated, but this can be set to prevent
  583. flooding of the client or server with too many messages (PREALLOC_MQ_MSGS
  584. controls how many messages are pre-allocated).
  585. config NX_MXCLIENTMSGS
  586. int "Max Client Messages"
  587. default 16
  588. ---help---
  589. Specifies the maximum number of messages that can fit in the message queues.
  590. No additional resources are allocated, but this can be set to prevent
  591. flooding of the client or server with too many messages (PREALLOC_MQ_MSGS
  592. controls how many messages are pre-allocated).
  593. config NXSTART_EXTERNINIT
  594. bool "External display Initialization"
  595. default n
  596. ---help---
  597. Define to support external display initialization by platform-
  598. specific code. This this option is defined, then nx_start() will
  599. call board_graphics_setup(CONFIG_NXSTART_DEVNO) to initialize the
  600. graphics device. This option is necessary if display is used that
  601. cannot be initialized using the standard LCD or framebuffer
  602. interfaces.
  603. config NXSTART_SERVERPRIO
  604. int "NX Server priority"
  605. default 110
  606. ---help---
  607. Priority of the NX server. This applies only if NX is configured in
  608. multi-user mode (NX_MULTIUSER=y). Default: 110.
  609. NOTE: NXSTART_SERVERPRIO should have a relatively high priority to
  610. avoid data overrun race conditions.
  611. config NXSTART_SERVERSTACK
  612. int "NX Server Stack Size"
  613. default 2048
  614. ---help---
  615. NX server thread stack size (in multi-user mode). Default 2048
  616. config NXSTART_DEVNO
  617. int "LCD Device Number"
  618. default 0
  619. depends on NX_LCDDRIVER || NXSTART_EXTERNINIT
  620. ---help---
  621. LCD device number (in case there are more than one LCDs connected).
  622. Default: 0
  623. config NXSTART_DISPLAYNO
  624. int "Display Number"
  625. default 0
  626. depends on !NX_LCDDRIVER && !NXSTART_EXTERNINIT
  627. ---help---
  628. Framebuffer display number (in case there are more than one framebuffers).
  629. Default: 0
  630. config NXSTART_VPLANE
  631. int "Plane Number"
  632. default 0
  633. depends on !NX_LCDDRIVER && !NXSTART_EXTERNINIT
  634. ---help---
  635. Only a single video plane is supported. Default: 0
  636. endif # NX_MULTIUSER
  637. source "graphics/vnc/Kconfig"
  638. endif # NX