allow to set default and hide for cfg values in hardware defs

This commit is contained in:
andreas committed 2023-10-05 16:57:05 +02:00
1 parent 27de94b1ae
commit 9572b1e95e
6 files changed
+58 -4

No files matched your search

+8
View File
@@ -144,6 +144,14 @@
#define GWSERIAL_TYPE GWSERIAL_TYPE_UNI
#endif
//M5 GPS (Atomic GPS Base)
#ifdef M5_GPS_KIT
#define GWSERIAL_RX BOARD_LEFT1
#define GWSERIAL_TYPE GWSERIAL_TYPE_RX
#define CFGGDEFAULT_serialBaud "9600"
#define CFGHIDE_serialBaud
#endif
//below we define the final device config based on the above
//boards and peripherals
//this allows us to easily also set them from outside