mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
t114 gps
This commit is contained in:
parent
886878c70a
commit
f3b20d5e70
3 changed files with 8 additions and 1 deletions
|
|
@ -29,6 +29,11 @@ build_flags = ${nrf52_base.build_flags}
|
||||||
-D SX126X_RX_BOOSTED_GAIN=1
|
-D SX126X_RX_BOOSTED_GAIN=1
|
||||||
-D DISPLAY_CLASS=NullDisplayDriver
|
-D DISPLAY_CLASS=NullDisplayDriver
|
||||||
-D ST7789
|
-D ST7789
|
||||||
|
-D PIN_GPS_RX=39
|
||||||
|
-D PIN_GPS_TX=37
|
||||||
|
-D PIN_GPS_EN=21
|
||||||
|
-D PIN_GPS_RESET=38
|
||||||
|
-D PIN_GPS_RESET_ACTIVE=LOW
|
||||||
build_src_filter = ${nrf52_base.build_src_filter}
|
build_src_filter = ${nrf52_base.build_src_filter}
|
||||||
+<helpers/*.cpp>
|
+<helpers/*.cpp>
|
||||||
+<../variants/heltec_t114>
|
+<../variants/heltec_t114>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ WRAPPER_CLASS radio_driver(radio, board);
|
||||||
|
|
||||||
VolatileRTCClock fallback_clock;
|
VolatileRTCClock fallback_clock;
|
||||||
AutoDiscoverRTCClock rtc_clock(fallback_clock);
|
AutoDiscoverRTCClock rtc_clock(fallback_clock);
|
||||||
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1);
|
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1, &rtc_clock);
|
||||||
T114SensorManager sensors = T114SensorManager(nmea);
|
T114SensorManager sensors = T114SensorManager(nmea);
|
||||||
|
|
||||||
#ifdef DISPLAY_CLASS
|
#ifdef DISPLAY_CLASS
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,8 @@
|
||||||
|
|
||||||
#define GPS_EN (21)
|
#define GPS_EN (21)
|
||||||
#define GPS_RESET (38)
|
#define GPS_RESET (38)
|
||||||
|
#define PIN_GPS_RX (39) // This is for bits going TOWARDS the GPS
|
||||||
|
#define PIN_GPS_TX (37) // This is for bits going TOWARDS the CPU
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// TFT
|
// TFT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue