After modifying all pio settings to allow for Ublox GPS alternative, defaults to L76k; TODO code to implement Ublox
This commit is contained in:
parent
76c4b010bf
commit
b5ff96d6a9
11 changed files with 700 additions and 14 deletions
11
exercises/12_FiveTalk/READEME.md
Normal file
11
exercises/12_FiveTalk/READEME.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
main.cpp needs to be modified to reflect the number of units. It is a zero-based array, so for 7 possible unite, the value of 6 is used in both lines below:
|
||||
|
||||
#if (NODE_SLOT_INDEX < 0) || (NODE_SLOT_INDEX > 6)
|
||||
#error "NODE_SLOT_INDEX must be 0..6"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
INSERT SCREENSHOT HERE.
|
||||
|
|
@ -27,6 +27,7 @@ build_flags =
|
|||
-D GPS_TX_PIN=8
|
||||
-D GPS_WAKEUP_PIN=7
|
||||
-D GPS_1PPS_PIN=6
|
||||
-D GPS_L76K
|
||||
-D LORA_CS=10
|
||||
-D LORA_MOSI=11
|
||||
-D LORA_SCK=12
|
||||
|
|
@ -77,3 +78,20 @@ build_flags =
|
|||
-D NODE_LABEL=\"Ed\"
|
||||
-D NODE_SHORT=\"E\"
|
||||
-D NODE_SLOT_INDEX=4
|
||||
|
||||
[env:flo]
|
||||
extends = env
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-D NODE_LABEL=\"Flo\"
|
||||
-D NODE_SHORT=\"F\"
|
||||
-D NODE_SLOT_INDEX=5
|
||||
|
||||
[env:guy]
|
||||
extends = env
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-D NODE_LABEL=\"Guy\"
|
||||
-D NODE_SHORT=\"G\"
|
||||
-D NODE_SLOT_INDEX=6
|
||||
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@
|
|||
#define FW_BUILD_UTC "unknown"
|
||||
#endif
|
||||
|
||||
#if (NODE_SLOT_INDEX < 0) || (NODE_SLOT_INDEX > 4)
|
||||
#error "NODE_SLOT_INDEX must be 0..4"
|
||||
#if (NODE_SLOT_INDEX < 0) || (NODE_SLOT_INDEX > 6)
|
||||
#error "NODE_SLOT_INDEX must be 0..6"
|
||||
#endif
|
||||
|
||||
static const uint32_t kSerialDelayMs = 1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue