Skip to content

Commit

Permalink
remove gps, and pressure sensor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom10086 committed Sep 23, 2022
1 parent 831e1c5 commit 14d2f44
Show file tree
Hide file tree
Showing 19 changed files with 216 additions and 1,902 deletions.
7 changes: 3 additions & 4 deletions main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ set(srcs "lcd/font8.c" "lcd/font12.c" "lcd/font16.c" "lcd/font20.c" "lcd/font24.
"tools/kalman_filter.c" "tools/encode.c"
"battery.c" "key.c"
"wifi/wifi_ap.c" "wifi/my_http_server.c" "wifi/my_http_file_server.c" "wifi/my_mount.c" "wifi/my_wifi_ota.c"
"sd_card.c" "ble/ble_csc.c" "ble/ble_hrm.c" "ble/ble_device.c"
"pressure_common.c" "ms5611.c" "spl06.c"
"ble/ble_csc.c" "ble/ble_hrm.c" "ble/ble_device.c"
"pressure_common.c" "spl06.c"
"sht31.c"
"nmea_parser.c"
"lcd/epd_lcd_ssd1680.c" "page/menu_page.c" "page/test_page.c" "page/info_page.c" "lcd/display.c" "page/image_page.c" "page/temperature_page.c" "page/upgrade_page.c"
"page/manual_page.c" "page/setting_page.c"
"page/manual_page.c" "page/image_manage_page.c"
"page/setting_list_page.c"
"page_manager.c"
"view/list_view.c" "view/digi_view.c" "view/battery_view.c"
Expand Down
144 changes: 0 additions & 144 deletions main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -78,150 +78,6 @@ menu "My Project Config"

endmenu

menu "GPS STUFF CONFIG"
config NMEA_PARSER_UART_RXD
int "UART RXD pin number"
range 0 34 if IDF_TARGET_ESP32
range 0 46 if IDF_TARGET_ESP32S2
range 0 48 if IDF_TARGET_ESP32S3
range 0 19 if IDF_TARGET_ESP32C3
default 5
help
GPIO number for UART RX pin. See UART documentation for more information
about available pin numbers for UART.

config NMEA_PARSER_UART_TXD
int "UART TXD pin number"
range 0 34 if IDF_TARGET_ESP32
range 0 46 if IDF_TARGET_ESP32S2
range 0 48 if IDF_TARGET_ESP32S3
range 0 19 if IDF_TARGET_ESP32C3
default 4
help
GPIO number for UART TX pin. See UART documentation for more information
about available pin numbers for UART.

config NMEA_PARSER_UART_BAUD_RATE
int "NMEA Parser uart baud rate"
range 4800 1152000
default 115200
help
NMEA Parser uart baud rate. eg: 9600, 115200

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

menu "SD CARD CONFIG"
comment "config sd card"

config FORMAT_IF_MOUNT_FAILED
bool "Format the card if mount failed"
default n
help
If this config item is set, format_if_mount_failed will be set to true and the card will be formatted if
the mount has failed.

config SD_CARD_MISO
int "SD_CARD_MISO PIN"
range -1 60
default 14

config SD_CARD_MOSI
int "SD_CARD_MOSI PIN NUM"
range -1 60
default 4

config SD_CARD_CLK
int "SD_CARD_CLK PIN NUM"
range -1 60
default 3

config SD_CARD_CS
int "SD_CARD_CS PIN NUM"
range -1 60
default 8
endmenu

menu "BLE Device Config"
comment "config ble device"

Expand Down
111 changes: 0 additions & 111 deletions main/gps_device_cmd.h

This file was deleted.

Loading

0 comments on commit 14d2f44

Please sign in to comment.