Skip to content

Commit b8c1e57

Browse files
committed
GPS Stub
1 parent 11f6e9d commit b8c1e57

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

config/rockets/testrocket.json

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
},
4444
"telemetry_power_control": {
4545
"id": 1
46+
},
47+
"gps_stub": {
48+
"id": 2
4649
}
4750
},
4851
"communications": [
@@ -53,6 +56,8 @@
5356
["SIL_INPUT", "telemetry_power_control:5"],
5457
["telemetry_power_control:6", "SIL_OUTPUT"],
5558
["telemetry_power_control:26", "RADIO_OUTPUT"],
59+
["gps_stub:33", "telemetry_power_control:32"],
60+
["telemetry_power_control:33", "gps_stub:32"],
5661
["RADIO_INPUT", "telemetry_power_control:25"]
5762
]
5863
},

src/includes/pins.h

+3
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@
2929
#define SPI1_SCLK 29
3030
#define SPI1_SSEL 30
3131
#define RADIO_RST 31
32+
#define GPS_RX 32
33+
#define GPS_TX 33
34+
#define BATT_VOLTAGE 34

0 commit comments

Comments
 (0)