📄 kconfig
字号:
config ETRAX_ETHERNET bool "Ethernet support" depends on ETRAX_ARCH_V32 select NET_ETHERNET help This option enables the ETRAX FS built-in 10/100Mbit Ethernet controller.config ETRAX_ETHERNET_HW_CSUM bool "Hardware accelerated ethernet checksum and scatter/gather" depends on ETRAX_ETHERNET depends on ETRAX_STREAMCOPROC default y help Hardware acceleration of checksumming and scatter/gatherconfig ETRAX_ETHERNET_IFACE0 depends on ETRAX_ETHERNET bool "Enable network interface 0"config ETRAX_ETHERNET_IFACE1 depends on ETRAX_ETHERNET bool "Enable network interface 1 (uses DMA6 and DMA7)"choice prompt "Network LED behavior" depends on ETRAX_ETHERNET default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITYconfig ETRAX_NETWORK_LED_ON_WHEN_LINK bool "LED_on_when_link" help Selecting LED_on_when_link will light the LED when there is a connection and will flash off when there is activity. Selecting LED_on_when_activity will light the LED only when there is activity. This setting will also affect the behaviour of other activity LEDs e.g. Bluetooth.config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY bool "LED_on_when_activity" help Selecting LED_on_when_link will light the LED when there is a connection and will flash off when there is activity. Selecting LED_on_when_activity will light the LED only when there is activity. This setting will also affect the behaviour of other activity LEDs e.g. Bluetooth.endchoiceconfig ETRAXFS_SERIAL bool "Serial-port support" depends on ETRAX_ARCH_V32 help Enables the ETRAX FS serial driver for ser0 (ttyS0) You probably want this enabled.config ETRAX_SERIAL_PORT0 bool "Serial port 0 enabled" depends on ETRAXFS_SERIAL help Enables the ETRAX FS serial driver for ser0 (ttyS0) Normally you want this on. You can control what DMA channels to use if you do not need DMA to something else. ser0 can use dma4 or dma6 for output and dma5 or dma7 for input.choice prompt "Ser0 DMA in channel " depends on ETRAX_SERIAL_PORT0 default ETRAX_SERIAL_PORT0_NO_DMA_IN help What DMA channel to use for ser0.config ETRAX_SERIAL_PORT0_NO_DMA_IN bool "Ser0 uses no DMA for input" help Do not use DMA for ser0 input.config ETRAX_SERIAL_PORT0_DMA7_IN bool "Ser0 uses DMA7 for input" depends on ETRAX_SERIAL_PORT0 help Enables the DMA7 input channel for ser0 (ttyS0). If you do not enable DMA, an interrupt for each character will be used when receiveing data. Normally you want to use DMA, unless you use the DMA channel for something else.endchoicechoice prompt "Ser0 DMA out channel" depends on ETRAX_SERIAL_PORT0 default ETRAX_SERIAL_PORT0_NO_DMA_OUTconfig ETRAX_SERIAL_PORT0_NO_DMA_OUT bool "Ser0 uses no DMA for output" help Do not use DMA for ser0 output.config ETRAX_SERIAL_PORT0_DMA6_OUT bool "Ser0 uses DMA6 for output" depends on ETRAX_SERIAL_PORT0 help Enables the DMA6 output channel for ser0 (ttyS0). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want to use DMA, unless you use the DMA channel for something else.endchoiceconfig ETRAX_SER0_DTR_BIT string "Ser 0 DTR bit (empty = not used)" depends on ETRAX_SERIAL_PORT0config ETRAX_SER0_RI_BIT string "Ser 0 RI bit (empty = not used)" depends on ETRAX_SERIAL_PORT0config ETRAX_SER0_DSR_BIT string "Ser 0 DSR bit (empty = not used)" depends on ETRAX_SERIAL_PORT0config ETRAX_SER0_CD_BIT string "Ser 0 CD bit (empty = not used)" depends on ETRAX_SERIAL_PORT0config ETRAX_SERIAL_PORT1 bool "Serial port 1 enabled" depends on ETRAXFS_SERIAL help Enables the ETRAX FS serial driver for ser1 (ttyS1).choice prompt "Ser1 DMA in channel " depends on ETRAX_SERIAL_PORT1 default ETRAX_SERIAL_PORT1_NO_DMA_IN help What DMA channel to use for ser1.config ETRAX_SERIAL_PORT1_NO_DMA_IN bool "Ser1 uses no DMA for input" help Do not use DMA for ser1 input.config ETRAX_SERIAL_PORT1_DMA5_IN bool "Ser1 uses DMA5 for input" depends on ETRAX_SERIAL_PORT1 help Enables the DMA5 input channel for ser1 (ttyS1). If you do not enable DMA, an interrupt for each character will be used when receiveing data. Normally you want this on, unless you use the DMA channel for something else.endchoicechoice prompt "Ser1 DMA out channel " depends on ETRAX_SERIAL_PORT1 default ETRAX_SERIAL_PORT1_NO_DMA_OUT help What DMA channel to use for ser1.config ETRAX_SERIAL_PORT1_NO_DMA_OUT bool "Ser1 uses no DMA for output" help Do not use DMA for ser1 output.config ETRAX_SERIAL_PORT1_DMA4_OUT bool "Ser1 uses DMA4 for output" depends on ETRAX_SERIAL_PORT1 help Enables the DMA4 output channel for ser1 (ttyS1). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want this on, unless you use the DMA channel for something else.endchoiceconfig ETRAX_SER1_DTR_BIT string "Ser 1 DTR bit (empty = not used)" depends on ETRAX_SERIAL_PORT1config ETRAX_SER1_RI_BIT string "Ser 1 RI bit (empty = not used)" depends on ETRAX_SERIAL_PORT1config ETRAX_SER1_DSR_BIT string "Ser 1 DSR bit (empty = not used)" depends on ETRAX_SERIAL_PORT1config ETRAX_SER1_CD_BIT string "Ser 1 CD bit (empty = not used)" depends on ETRAX_SERIAL_PORT1config ETRAX_SERIAL_PORT2 bool "Serial port 2 enabled" depends on ETRAXFS_SERIAL help Enables the ETRAX FS serial driver for ser2 (ttyS2).choice prompt "Ser2 DMA in channel " depends on ETRAX_SERIAL_PORT2 default ETRAX_SERIAL_PORT2_NO_DMA_IN help What DMA channel to use for ser2.config ETRAX_SERIAL_PORT2_NO_DMA_IN bool "Ser2 uses no DMA for input" help Do not use DMA for ser2 input.config ETRAX_SERIAL_PORT2_DMA3_IN bool "Ser2 uses DMA3 for input" depends on ETRAX_SERIAL_PORT2 help Enables the DMA3 input channel for ser2 (ttyS2). If you do not enable DMA, an interrupt for each character will be used when receiveing data. Normally you want to use DMA, unless you use the DMA channel for something else.endchoicechoice prompt "Ser2 DMA out channel" depends on ETRAX_SERIAL_PORT2 default ETRAX_SERIAL_PORT2_NO_DMA_OUTconfig ETRAX_SERIAL_PORT2_NO_DMA_OUT bool "Ser2 uses no DMA for output" help Do not use DMA for ser2 output.config ETRAX_SERIAL_PORT2_DMA2_OUT bool "Ser2 uses DMA2 for output" depends on ETRAX_SERIAL_PORT2 help Enables the DMA2 output channel for ser2 (ttyS2). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want to use DMA, unless you use the DMA channel for something else.endchoiceconfig ETRAX_SER2_DTR_BIT string "Ser 2 DTR bit (empty = not used)" depends on ETRAX_SERIAL_PORT2config ETRAX_SER2_RI_BIT string "Ser 2 RI bit (empty = not used)" depends on ETRAX_SERIAL_PORT2config ETRAX_SER2_DSR_BIT string "Ser 2 DSR bit (empty = not used)" depends on ETRAX_SERIAL_PORT2config ETRAX_SER2_CD_BIT string "Ser 2 CD bit (empty = not used)" depends on ETRAX_SERIAL_PORT2config ETRAX_SERIAL_PORT3 bool "Serial port 3 enabled" depends on ETRAXFS_SERIAL help Enables the ETRAX FS serial driver for ser3 (ttyS3).choice prompt "Ser3 DMA in channel " depends on ETRAX_SERIAL_PORT3 default ETRAX_SERIAL_PORT3_NO_DMA_IN help What DMA channel to use for ser3.config ETRAX_SERIAL_PORT3_NO_DMA_IN bool "Ser3 uses no DMA for input" help Do not use DMA for ser3 input.config ETRAX_SERIAL_PORT3_DMA9_IN bool "Ser3 uses DMA9 for input" depends on ETRAX_SERIAL_PORT3 help Enables the DMA9 input channel for ser3 (ttyS3). If you do not enable DMA, an interrupt for each character will be used when receiveing data. Normally you want to use DMA, unless you use the DMA channel for something else.endchoicechoice prompt "Ser3 DMA out channel" depends on ETRAX_SERIAL_PORT3 default ETRAX_SERIAL_PORT3_NO_DMA_OUTconfig ETRAX_SERIAL_PORT3_NO_DMA_OUT bool "Ser3 uses no DMA for output" help
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -