mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +00:00
add support for rak12500 and rak12501 gps on rak3401
This commit is contained in:
@@ -6,6 +6,7 @@ build_flags = ${nrf52_base.build_flags}
|
|||||||
${sensor_base.build_flags}
|
${sensor_base.build_flags}
|
||||||
-I variants/rak3401
|
-I variants/rak3401
|
||||||
-D RAK_3401
|
-D RAK_3401
|
||||||
|
-D RAK_BOARD
|
||||||
-D NRF52_POWER_MANAGEMENT
|
-D NRF52_POWER_MANAGEMENT
|
||||||
-D RADIO_CLASS=CustomSX1262
|
-D RADIO_CLASS=CustomSX1262
|
||||||
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
||||||
|
|||||||
@@ -188,8 +188,8 @@ static const uint8_t AREF = PIN_AREF;
|
|||||||
// Power is on the controllable 3V3_S rail
|
// Power is on the controllable 3V3_S rail
|
||||||
#define PIN_GPS_PPS (17) // Pulse per second input from the GPS
|
#define PIN_GPS_PPS (17) // Pulse per second input from the GPS
|
||||||
|
|
||||||
#define PIN_GPS_RX PIN_SERIAL1_RX
|
#define PIN_GPS_TX PIN_SERIAL1_RX
|
||||||
#define PIN_GPS_TX PIN_SERIAL1_TX
|
#define PIN_GPS_RX PIN_SERIAL1_TX
|
||||||
|
|
||||||
#define PIN_GPS_1PPS PIN_GPS_PPS
|
#define PIN_GPS_1PPS PIN_GPS_PPS
|
||||||
#define GPS_BAUD_RATE 9600
|
#define GPS_BAUD_RATE 9600
|
||||||
|
|||||||
Reference in New Issue
Block a user