esp-idf/examples/peripherals/uart/nmea0183_parser/main/Kconfig.projbuild

96 lines
3.0 KiB
Plaintext

menu "Example Configuration"
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
config NMEA_PARSER_UART_RXD
int "UART RXD pin number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_IN_RANGE_MAX
default 5
help
GPIO number for UART RX pin. See UART documentation for more information
about available pin numbers for UART.
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_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:
- 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:
- 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:
- 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:
- 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:
- 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:
- Ground speed (knots, km/h) and course over ground (degrees);
- Magnetic variation;
endmenu
endmenu