Correct Kconfigs according to the coding style
This commit is contained in:
@@ -1,61 +1,61 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice ADC2_EXAMPLE_CHANNEL
|
||||
bool "ADC2 Channel Num"
|
||||
default ADC2_EXAMPLE_CHANNEL_7
|
||||
help
|
||||
The channel of ADC2 used in this example.
|
||||
choice ADC2_EXAMPLE_CHANNEL
|
||||
bool "ADC2 Channel Num"
|
||||
default ADC2_EXAMPLE_CHANNEL_7
|
||||
help
|
||||
The channel of ADC2 used in this example.
|
||||
|
||||
config ADC2_EXAMPLE_CHANNEL_0
|
||||
bool "ADC2 Channel 0 (GPIO 4)"
|
||||
config ADC2_EXAMPLE_CHANNEL_1
|
||||
bool "ADC2 Channel 1 (GPIO 0)"
|
||||
config ADC2_EXAMPLE_CHANNEL_2
|
||||
bool "ADC2 Channel 2 (GPIO 2)"
|
||||
config ADC2_EXAMPLE_CHANNEL_3
|
||||
bool "ADC2 Channel 3 (GPIO 15)"
|
||||
config ADC2_EXAMPLE_CHANNEL_4
|
||||
bool "ADC2 Channel 4 (GPIO 13)"
|
||||
config ADC2_EXAMPLE_CHANNEL_5
|
||||
bool "ADC2 Channel 5 (GPIO 12)"
|
||||
config ADC2_EXAMPLE_CHANNEL_6
|
||||
bool "ADC2 Channel 6 (GPIO 14)"
|
||||
config ADC2_EXAMPLE_CHANNEL_7
|
||||
bool "ADC2 Channel 7 (GPIO 27)"
|
||||
config ADC2_EXAMPLE_CHANNEL_8
|
||||
bool "ADC2 Channel 8 (GPIO 25)"
|
||||
config ADC2_EXAMPLE_CHANNEL_9
|
||||
bool "ADC2 Channel 9 (GPIO 26)"
|
||||
endchoice
|
||||
config ADC2_EXAMPLE_CHANNEL_0
|
||||
bool "ADC2 Channel 0 (GPIO 4)"
|
||||
config ADC2_EXAMPLE_CHANNEL_1
|
||||
bool "ADC2 Channel 1 (GPIO 0)"
|
||||
config ADC2_EXAMPLE_CHANNEL_2
|
||||
bool "ADC2 Channel 2 (GPIO 2)"
|
||||
config ADC2_EXAMPLE_CHANNEL_3
|
||||
bool "ADC2 Channel 3 (GPIO 15)"
|
||||
config ADC2_EXAMPLE_CHANNEL_4
|
||||
bool "ADC2 Channel 4 (GPIO 13)"
|
||||
config ADC2_EXAMPLE_CHANNEL_5
|
||||
bool "ADC2 Channel 5 (GPIO 12)"
|
||||
config ADC2_EXAMPLE_CHANNEL_6
|
||||
bool "ADC2 Channel 6 (GPIO 14)"
|
||||
config ADC2_EXAMPLE_CHANNEL_7
|
||||
bool "ADC2 Channel 7 (GPIO 27)"
|
||||
config ADC2_EXAMPLE_CHANNEL_8
|
||||
bool "ADC2 Channel 8 (GPIO 25)"
|
||||
config ADC2_EXAMPLE_CHANNEL_9
|
||||
bool "ADC2 Channel 9 (GPIO 26)"
|
||||
endchoice
|
||||
|
||||
config ADC2_EXAMPLE_CHANNEL
|
||||
int
|
||||
default 0 if ADC2_EXAMPLE_CHANNEL_0
|
||||
default 1 if ADC2_EXAMPLE_CHANNEL_1
|
||||
default 2 if ADC2_EXAMPLE_CHANNEL_2
|
||||
default 3 if ADC2_EXAMPLE_CHANNEL_3
|
||||
default 4 if ADC2_EXAMPLE_CHANNEL_4
|
||||
default 5 if ADC2_EXAMPLE_CHANNEL_5
|
||||
default 6 if ADC2_EXAMPLE_CHANNEL_6
|
||||
default 7 if ADC2_EXAMPLE_CHANNEL_7
|
||||
default 8 if ADC2_EXAMPLE_CHANNEL_8
|
||||
default 9 if ADC2_EXAMPLE_CHANNEL_9
|
||||
config ADC2_EXAMPLE_CHANNEL
|
||||
int
|
||||
default 0 if ADC2_EXAMPLE_CHANNEL_0
|
||||
default 1 if ADC2_EXAMPLE_CHANNEL_1
|
||||
default 2 if ADC2_EXAMPLE_CHANNEL_2
|
||||
default 3 if ADC2_EXAMPLE_CHANNEL_3
|
||||
default 4 if ADC2_EXAMPLE_CHANNEL_4
|
||||
default 5 if ADC2_EXAMPLE_CHANNEL_5
|
||||
default 6 if ADC2_EXAMPLE_CHANNEL_6
|
||||
default 7 if ADC2_EXAMPLE_CHANNEL_7
|
||||
default 8 if ADC2_EXAMPLE_CHANNEL_8
|
||||
default 9 if ADC2_EXAMPLE_CHANNEL_9
|
||||
|
||||
choice DAC_EXAMPLE_CHANNEL
|
||||
bool "DAC Channel Num"
|
||||
default DAC_EXAMPLE_CHANNEL_1
|
||||
help
|
||||
The channel of DAC used in this example.
|
||||
choice DAC_EXAMPLE_CHANNEL
|
||||
bool "DAC Channel Num"
|
||||
default DAC_EXAMPLE_CHANNEL_1
|
||||
help
|
||||
The channel of DAC used in this example.
|
||||
|
||||
config DAC_EXAMPLE_CHANNEL_1
|
||||
bool "DAC Channel 1 (GPIO25)"
|
||||
config DAC_EXAMPLE_CHANNEL_2
|
||||
bool "DAC Channel 2 (GPIO26)"
|
||||
endchoice
|
||||
config DAC_EXAMPLE_CHANNEL_1
|
||||
bool "DAC Channel 1 (GPIO25)"
|
||||
config DAC_EXAMPLE_CHANNEL_2
|
||||
bool "DAC Channel 2 (GPIO26)"
|
||||
endchoice
|
||||
|
||||
config DAC_EXAMPLE_CHANNEL
|
||||
int
|
||||
default 1 if DAC_EXAMPLE_CHANNEL_1
|
||||
default 2 if DAC_EXAMPLE_CHANNEL_2
|
||||
config DAC_EXAMPLE_CHANNEL
|
||||
int
|
||||
default 1 if DAC_EXAMPLE_CHANNEL_1
|
||||
default 2 if DAC_EXAMPLE_CHANNEL_2
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,124 +1,124 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
menu "I2C Master"
|
||||
config I2C_MASTER_SCL
|
||||
int "SCL GPIO Num"
|
||||
default 19
|
||||
help
|
||||
GPIO number for I2C Master clock line.
|
||||
menu "I2C Master"
|
||||
config I2C_MASTER_SCL
|
||||
int "SCL GPIO Num"
|
||||
default 19
|
||||
help
|
||||
GPIO number for I2C Master clock line.
|
||||
|
||||
config I2C_MASTER_SDA
|
||||
int "SDA GPIO Num"
|
||||
default 18
|
||||
help
|
||||
GPIO number for I2C Master data line.
|
||||
config I2C_MASTER_SDA
|
||||
int "SDA GPIO Num"
|
||||
default 18
|
||||
help
|
||||
GPIO number for I2C Master data line.
|
||||
|
||||
config I2C_MASTER_PORT_NUM
|
||||
int "Port Number"
|
||||
default 1
|
||||
help
|
||||
Port number for I2C Master device.
|
||||
config I2C_MASTER_PORT_NUM
|
||||
int "Port Number"
|
||||
default 1
|
||||
help
|
||||
Port number for I2C Master device.
|
||||
|
||||
config I2C_MASTER_FREQUENCY
|
||||
int "Master Frequency"
|
||||
default 100000
|
||||
help
|
||||
I2C Speed of Master device.
|
||||
endmenu
|
||||
config I2C_MASTER_FREQUENCY
|
||||
int "Master Frequency"
|
||||
default 100000
|
||||
help
|
||||
I2C Speed of Master device.
|
||||
endmenu
|
||||
|
||||
menu "I2C Slave"
|
||||
config I2C_SLAVE_SCL
|
||||
int "SCL GPIO Num"
|
||||
default 26
|
||||
help
|
||||
GPIO number for I2C Slave clock line.
|
||||
menu "I2C Slave"
|
||||
config I2C_SLAVE_SCL
|
||||
int "SCL GPIO Num"
|
||||
default 26
|
||||
help
|
||||
GPIO number for I2C Slave clock line.
|
||||
|
||||
config I2C_SLAVE_SDA
|
||||
int "SDA GPIO Num"
|
||||
default 25
|
||||
help
|
||||
GPIO number for I2C Slave data line.
|
||||
config I2C_SLAVE_SDA
|
||||
int "SDA GPIO Num"
|
||||
default 25
|
||||
help
|
||||
GPIO number for I2C Slave data line.
|
||||
|
||||
config I2C_SLAVE_PORT_NUM
|
||||
int "Port Number"
|
||||
default 0
|
||||
help
|
||||
Port number for I2C Slave device.
|
||||
config I2C_SLAVE_PORT_NUM
|
||||
int "Port Number"
|
||||
default 0
|
||||
help
|
||||
Port number for I2C Slave device.
|
||||
|
||||
config I2C_SLAVE_ADDRESS
|
||||
hex "ESP Slave Address"
|
||||
default 0x28
|
||||
help
|
||||
Hardware Address of I2C Slave Port.
|
||||
endmenu
|
||||
config I2C_SLAVE_ADDRESS
|
||||
hex "ESP Slave Address"
|
||||
default 0x28
|
||||
help
|
||||
Hardware Address of I2C Slave Port.
|
||||
endmenu
|
||||
|
||||
menu "BH1750 Sensor"
|
||||
choice BH1750_ADDR
|
||||
prompt "BH1750 I2C Address"
|
||||
default BH1750_I2C_ADDRESS_LOW
|
||||
help
|
||||
Hardware address of BH1750, which is 2 types, and determined by ADDR terminal.
|
||||
menu "BH1750 Sensor"
|
||||
choice BH1750_ADDR
|
||||
prompt "BH1750 I2C Address"
|
||||
default BH1750_I2C_ADDRESS_LOW
|
||||
help
|
||||
Hardware address of BH1750, which is 2 types, and determined by ADDR terminal.
|
||||
|
||||
config BH1750_I2C_ADDRESS_LOW
|
||||
bool "BH1750 I2C Address(ADDR=0)"
|
||||
help
|
||||
I2C Address of BH1750 Sensor according to your schemetic configuration.
|
||||
config BH1750_I2C_ADDRESS_LOW
|
||||
bool "BH1750 I2C Address(ADDR=0)"
|
||||
help
|
||||
I2C Address of BH1750 Sensor according to your schemetic configuration.
|
||||
|
||||
config BH1750_I2C_ADDRESS_High
|
||||
bool "BH1750 I2C Address(ADDR=1)"
|
||||
help
|
||||
I2C Address of BH1750 Sensor according to your schemetic configuration.
|
||||
endchoice
|
||||
config BH1750_I2C_ADDRESS_High
|
||||
bool "BH1750 I2C Address(ADDR=1)"
|
||||
help
|
||||
I2C Address of BH1750 Sensor according to your schemetic configuration.
|
||||
endchoice
|
||||
|
||||
config BH1750_ADDR
|
||||
hex
|
||||
default 0x5C if BH1750_I2C_ADDRESS_High
|
||||
default 0x23 if BH1750_I2C_ADDRESS_LOW
|
||||
config BH1750_ADDR
|
||||
hex
|
||||
default 0x5C if BH1750_I2C_ADDRESS_High
|
||||
default 0x23 if BH1750_I2C_ADDRESS_LOW
|
||||
|
||||
choice BH1750_MODE
|
||||
prompt "BH1750 Operation Mode"
|
||||
default BH1750_ONETIME_L_RESOLUTION
|
||||
help
|
||||
Operation Mode of BH1750.
|
||||
Different mode means different resolution and measurement time.
|
||||
config BH1750_CONTINU_H_RESOLUTION
|
||||
bool "Continuously H-Resolution Mode"
|
||||
help
|
||||
Resolution is 1lx, measurement time is typically 120ms.
|
||||
config BH1750_CONTINU_H_RESOLUTION2
|
||||
bool "Continuously H-Resolution Mode2"
|
||||
help
|
||||
Resolution is 0.5lx, measurement time is typically 120ms.
|
||||
config BH1750_CONTINU_L_RESOLUTION
|
||||
bool "Continuously L-Resolution Mode"
|
||||
help
|
||||
Resolution is 4lx, measurement time is typically 16ms.
|
||||
config BH1750_ONETIME_H_RESOLUTION
|
||||
bool "One Time H-Resolution Mode"
|
||||
help
|
||||
Resolution is 1lx, measurement time is typically 120ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
config BH1750_ONETIME_H_RESOLUTION2
|
||||
bool "One Time H-Resolution Mode2"
|
||||
help
|
||||
Resolution is 0.5lx, measurement time is typically 120ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
config BH1750_ONETIME_L_RESOLUTION
|
||||
bool "One Time L-Resolution Mode"
|
||||
help
|
||||
Resolution is 4lx, measurement time is typically 16ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
endchoice
|
||||
choice BH1750_MODE
|
||||
prompt "BH1750 Operation Mode"
|
||||
default BH1750_ONETIME_L_RESOLUTION
|
||||
help
|
||||
Operation Mode of BH1750.
|
||||
Different mode means different resolution and measurement time.
|
||||
config BH1750_CONTINU_H_RESOLUTION
|
||||
bool "Continuously H-Resolution Mode"
|
||||
help
|
||||
Resolution is 1lx, measurement time is typically 120ms.
|
||||
config BH1750_CONTINU_H_RESOLUTION2
|
||||
bool "Continuously H-Resolution Mode2"
|
||||
help
|
||||
Resolution is 0.5lx, measurement time is typically 120ms.
|
||||
config BH1750_CONTINU_L_RESOLUTION
|
||||
bool "Continuously L-Resolution Mode"
|
||||
help
|
||||
Resolution is 4lx, measurement time is typically 16ms.
|
||||
config BH1750_ONETIME_H_RESOLUTION
|
||||
bool "One Time H-Resolution Mode"
|
||||
help
|
||||
Resolution is 1lx, measurement time is typically 120ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
config BH1750_ONETIME_H_RESOLUTION2
|
||||
bool "One Time H-Resolution Mode2"
|
||||
help
|
||||
Resolution is 0.5lx, measurement time is typically 120ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
config BH1750_ONETIME_L_RESOLUTION
|
||||
bool "One Time L-Resolution Mode"
|
||||
help
|
||||
Resolution is 4lx, measurement time is typically 16ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
endchoice
|
||||
|
||||
config BH1750_OPMODE
|
||||
hex
|
||||
default 0x10 if BH1750_CONTINU_H_RESOLUTION
|
||||
default 0x11 if BH1750_CONTINU_H_RESOLUTION2
|
||||
default 0x13 if BH1750_CONTINU_L_RESOLUTION
|
||||
default 0x20 if BH1750_ONETIME_H_RESOLUTION
|
||||
default 0x21 if BH1750_ONETIME_H_RESOLUTION2
|
||||
default 0x23 if BH1750_ONETIME_L_RESOLUTION
|
||||
|
||||
endmenu
|
||||
config BH1750_OPMODE
|
||||
hex
|
||||
default 0x10 if BH1750_CONTINU_H_RESOLUTION
|
||||
default 0x11 if BH1750_CONTINU_H_RESOLUTION2
|
||||
default 0x13 if BH1750_CONTINU_L_RESOLUTION
|
||||
default 0x20 if BH1750_ONETIME_H_RESOLUTION
|
||||
default 0x21 if BH1750_ONETIME_H_RESOLUTION2
|
||||
default 0x23 if BH1750_ONETIME_L_RESOLUTION
|
||||
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config STORE_HISTORY
|
||||
bool "Store command history in flash"
|
||||
default y
|
||||
help
|
||||
Linenoise line editing library provides functions to save and load
|
||||
command history. If this option is enabled, initalizes a FAT filesystem
|
||||
and uses it to store command history.
|
||||
config STORE_HISTORY
|
||||
bool "Store command history in flash"
|
||||
default y
|
||||
help
|
||||
Linenoise line editing library provides functions to save and load
|
||||
command history. If this option is enabled, initalizes a FAT filesystem
|
||||
and uses it to store command history.
|
||||
|
||||
config MAX_CMD_ARGUMENTS
|
||||
int "Maximum number of command line arguments"
|
||||
default 16
|
||||
range 8 256
|
||||
help
|
||||
maximum number of command line arguments to parse
|
||||
config MAX_CMD_ARGUMENTS
|
||||
int "Maximum number of command line arguments"
|
||||
default 16
|
||||
range 8 256
|
||||
help
|
||||
maximum number of command line arguments to parse
|
||||
|
||||
config MAX_CMD_LENGTH
|
||||
int "Command line buffer length"
|
||||
default 256
|
||||
range 256 512
|
||||
help
|
||||
length of command line buffer, in bytes
|
||||
config MAX_CMD_LENGTH
|
||||
int "Command line buffer length"
|
||||
default 256
|
||||
range 256 512
|
||||
help
|
||||
length of command line buffer, in bytes
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config SDIO_EXAMPLE_4BIT
|
||||
bool "Host tries using 4-bit mode to communicate with slave"
|
||||
default n
|
||||
help
|
||||
If this is set, the host tries using 4-bit mode to communicate with
|
||||
slave. If failed, the communication falls back to 1-bit mode.
|
||||
|
||||
If this is not set, the host uses 1-bit mode. However, CMD1 is still
|
||||
mandatory for interrupts.
|
||||
config SDIO_EXAMPLE_4BIT
|
||||
bool "Host tries using 4-bit mode to communicate with slave"
|
||||
default n
|
||||
help
|
||||
If this is set, the host tries using 4-bit mode to communicate with
|
||||
slave. If failed, the communication falls back to 1-bit mode.
|
||||
|
||||
Note that 4-bit mode is not compatible (by default) if the slave is
|
||||
using 3.3V flash which requires a pull-down on the MTDI pin.
|
||||
If this is not set, the host uses 1-bit mode. However, CMD1 is still
|
||||
mandatory for interrupts.
|
||||
|
||||
config SDIO_EXAMPLE_HIGHSPEED
|
||||
bool "Host tries using HS mode to communicate with slave"
|
||||
default y
|
||||
help
|
||||
If this is set, the host tries using high-speed mode to communicate
|
||||
with slave. If the slave doesn't support high-speed mode, the
|
||||
communication falls back to default-speed mode. If this is not set,
|
||||
the host uses DS mode.
|
||||
Note that 4-bit mode is not compatible (by default) if the slave is
|
||||
using 3.3V flash which requires a pull-down on the MTDI pin.
|
||||
|
||||
If the example does not work, please try disabling the HS mode.
|
||||
config SDIO_EXAMPLE_HIGHSPEED
|
||||
bool "Host tries using HS mode to communicate with slave"
|
||||
default y
|
||||
help
|
||||
If this is set, the host tries using high-speed mode to communicate
|
||||
with slave. If the slave doesn't support high-speed mode, the
|
||||
communication falls back to default-speed mode. If this is not set,
|
||||
the host uses DS mode.
|
||||
|
||||
choice EXAMPLE_SLAVE
|
||||
prompt "Id of Slave used in Espressif master-slave board."
|
||||
default EXAMPLE_SLAVE_NONE
|
||||
help
|
||||
If Espressif master-slave board is used, select which slave is used.
|
||||
If the example does not work, please try disabling the HS mode.
|
||||
|
||||
config EXAMPLE_SLAVE_NONE
|
||||
bool "Not using Espressif master-slave board."
|
||||
config EXAMPLE_SLAVE_B1
|
||||
bool "Using slave B1"
|
||||
config EXAMPLE_SLAVE_B2
|
||||
bool "Using slave B2"
|
||||
config EXAMPLE_SLAVE_B3
|
||||
bool "Using slave B3"
|
||||
endchoice
|
||||
choice EXAMPLE_SLAVE
|
||||
prompt "Id of Slave used in Espressif master-slave board."
|
||||
default EXAMPLE_SLAVE_NONE
|
||||
help
|
||||
If Espressif master-slave board is used, select which slave is used.
|
||||
|
||||
config EXAMPLE_SLAVE_NONE
|
||||
bool "Not using Espressif master-slave board."
|
||||
config EXAMPLE_SLAVE_B1
|
||||
bool "Using slave B1"
|
||||
config EXAMPLE_SLAVE_B2
|
||||
bool "Using slave B2"
|
||||
config EXAMPLE_SLAVE_B3
|
||||
bool "Using slave B3"
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config SDIO_DAT2_DISABLED
|
||||
bool "Disable the DAT2 in SDIO slave"
|
||||
default y
|
||||
help
|
||||
SDIO slave DAT pin is unfortunately the same pin as MTDI, which
|
||||
controls the flash power voltage. For 3.3v flash devkits / modules /
|
||||
kits, it conflicts with the DAT2 pullups required by the
|
||||
specification.
|
||||
|
||||
This disables the peripheral input from the DAT2 so that we can work
|
||||
in 1-bit mode when DAT2 is floating (pulled down). 4-bit mode is
|
||||
therefore unavailable.
|
||||
config SDIO_DAT2_DISABLED
|
||||
bool "Disable the DAT2 in SDIO slave"
|
||||
default y
|
||||
help
|
||||
SDIO slave DAT pin is unfortunately the same pin as MTDI, which
|
||||
controls the flash power voltage. For 3.3v flash devkits / modules /
|
||||
kits, it conflicts with the DAT2 pullups required by the
|
||||
specification.
|
||||
|
||||
This disables the peripheral input from the DAT2 so that we can work
|
||||
in 1-bit mode when DAT2 is floating (pulled down). 4-bit mode is
|
||||
therefore unavailable.
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice LCD_TYPE
|
||||
prompt "LCD module type"
|
||||
default LCD_TYPE_AUTO
|
||||
help
|
||||
The type of LCD on the evaluation board.
|
||||
choice LCD_TYPE
|
||||
prompt "LCD module type"
|
||||
default LCD_TYPE_AUTO
|
||||
help
|
||||
The type of LCD on the evaluation board.
|
||||
|
||||
config LCD_TYPE_AUTO
|
||||
bool "Auto detect"
|
||||
config LCD_TYPE_ST7789V
|
||||
bool "ST7789V (WROVER Kit v2 or v3)"
|
||||
config LCD_TYPE_ILI9341
|
||||
bool "ILI9341 (WROVER Kit v1 or DevKitJ v1)"
|
||||
endchoice
|
||||
config LCD_TYPE_AUTO
|
||||
bool "Auto detect"
|
||||
config LCD_TYPE_ST7789V
|
||||
bool "ST7789V (WROVER Kit v2 or v3)"
|
||||
config LCD_TYPE_ILI9341
|
||||
bool "ILI9341 (WROVER Kit v1 or DevKitJ v1)"
|
||||
endchoice
|
||||
|
||||
config LCD_OVERCLOCK
|
||||
bool
|
||||
prompt "Run LCD at higher clock speed than allowed"
|
||||
default "n"
|
||||
help
|
||||
The ILI9341 and ST7789 specify that the maximum clock speed for the SPI interface is 10MHz. However,
|
||||
in practice the driver chips work fine with a higher clock rate, and using that gives a better framerate.
|
||||
Select this to try using the out-of-spec clock rate.
|
||||
config LCD_OVERCLOCK
|
||||
bool
|
||||
prompt "Run LCD at higher clock speed than allowed"
|
||||
default "n"
|
||||
help
|
||||
The ILI9341 and ST7789 specify that the maximum clock speed for the SPI interface is 10MHz. However,
|
||||
in practice the driver chips work fine with a higher clock rate, and using that gives a better framerate.
|
||||
Select this to try using the out-of-spec clock rate.
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,85 +1,85 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config NMEA_PARSER_RING_BUFFER_SIZE
|
||||
int "NMEA Parser Ring Buffer Size"
|
||||
range 0 2048
|
||||
default 1024
|
||||
help
|
||||
Size of the ring buffer used for UART Rx channel.
|
||||
config NMEA_PARSER_RING_BUFFER_SIZE
|
||||
int "NMEA Parser Ring Buffer Size"
|
||||
range 0 2048
|
||||
default 1024
|
||||
help
|
||||
Size of the ring buffer used for UART Rx channel.
|
||||
|
||||
config NMEA_PARSER_TASK_STACK_SIZE
|
||||
int "NMEA Parser Task Stack Size"
|
||||
range 0 4096
|
||||
default 2048
|
||||
help
|
||||
Stack size of NMEA Parser task.
|
||||
config NMEA_PARSER_TASK_STACK_SIZE
|
||||
int "NMEA Parser Task Stack Size"
|
||||
range 0 4096
|
||||
default 2048
|
||||
help
|
||||
Stack size of NMEA Parser task.
|
||||
|
||||
config NMEA_PARSER_TASK_PRIORITY
|
||||
int "NMEA Parser Task Priority"
|
||||
range 0 24
|
||||
default 2
|
||||
help
|
||||
Priority of NMEA Parser task.
|
||||
config NMEA_PARSER_TASK_PRIORITY
|
||||
int "NMEA Parser Task Priority"
|
||||
range 0 24
|
||||
default 2
|
||||
help
|
||||
Priority of NMEA Parser task.
|
||||
|
||||
menu "NMEA Statement Support"
|
||||
comment "At least one statement must be selected"
|
||||
config NMEA_STATEMENT_GGA
|
||||
bool "GGA Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GGA statement:
|
||||
menu "NMEA Statement Support"
|
||||
comment "At least one statement must be selected"
|
||||
config NMEA_STATEMENT_GGA
|
||||
bool "GGA Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GGA statement:
|
||||
|
||||
- Latitude, Longitude, Altitude;
|
||||
- Number of satellites in use, fix status (no fix, GPS, DGPS), UTC time;
|
||||
- Latitude, Longitude, Altitude;
|
||||
- Number of satellites in use, fix status (no fix, GPS, DGPS), UTC time;
|
||||
|
||||
config NMEA_STATEMENT_GSA
|
||||
bool "GSA Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GSA statement:
|
||||
config NMEA_STATEMENT_GSA
|
||||
bool "GSA Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GSA statement:
|
||||
|
||||
- Position/Vertical/Horizontal dilution of precision;
|
||||
- Fix mode (no fix, 2D, 3D fix);
|
||||
- IDs of satellites in use;
|
||||
- Position/Vertical/Horizontal dilution of precision;
|
||||
- Fix mode (no fix, 2D, 3D fix);
|
||||
- IDs of satellites in use;
|
||||
|
||||
config NMEA_STATEMENT_GSV
|
||||
bool "GSV Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GSV statement:
|
||||
config NMEA_STATEMENT_GSV
|
||||
bool "GSV Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GSV statement:
|
||||
|
||||
- Number of satellites in view;
|
||||
- Optional details of each satellite in view;
|
||||
- Number of satellites in view;
|
||||
- Optional details of each satellite in view;
|
||||
|
||||
config NMEA_STATEMENT_RMC
|
||||
bool "RMC Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from RMC statement:
|
||||
config NMEA_STATEMENT_RMC
|
||||
bool "RMC Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from RMC statement:
|
||||
|
||||
- Validity of GPS signal;
|
||||
- Ground speed (knots) and course over ground (degrees);
|
||||
- Magnetic variation;
|
||||
- UTC date;
|
||||
- Validity of GPS signal;
|
||||
- Ground speed (knots) and course over ground (degrees);
|
||||
- Magnetic variation;
|
||||
- UTC date;
|
||||
|
||||
config NMEA_STATEMENT_GLL
|
||||
bool "GLL Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GLL statement:
|
||||
config NMEA_STATEMENT_GLL
|
||||
bool "GLL Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from GLL statement:
|
||||
|
||||
- Latitude, Longitude;
|
||||
- UTC time;
|
||||
- Latitude, Longitude;
|
||||
- UTC time;
|
||||
|
||||
config NMEA_STATEMENT_VTG
|
||||
bool "VTG Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from VTG statement:
|
||||
config NMEA_STATEMENT_VTG
|
||||
bool "VTG Statement"
|
||||
default y
|
||||
help
|
||||
Enabling this option will parse the following parameter from VTG statement:
|
||||
|
||||
- Ground speed (knots, km/h) and course over ground (degrees);
|
||||
- Magnetic variation;
|
||||
|
||||
endmenu
|
||||
- Ground speed (knots, km/h) and course over ground (degrees);
|
||||
- Magnetic variation;
|
||||
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user