|
@@ -8,6 +8,12 @@
|
|
#ifndef MAIN_BOARD_H_
|
|
#ifndef MAIN_BOARD_H_
|
|
#define MAIN_BOARD_H_
|
|
#define MAIN_BOARD_H_
|
|
|
|
|
|
|
|
+// Radio Selection
|
|
|
|
+#define CC1200 1
|
|
|
|
+#define CC1120 1
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+#if CC1120
|
|
// CC1120 - ESP32 I/O
|
|
// CC1120 - ESP32 I/O
|
|
// NOTE: Logic Probe is connecting to RESET - Pin1
|
|
// NOTE: Logic Probe is connecting to RESET - Pin1
|
|
#define CC1120_RESET 22
|
|
#define CC1120_RESET 22
|
|
@@ -21,6 +27,24 @@
|
|
#define CC1120_GPIO2_RTC 3
|
|
#define CC1120_GPIO2_RTC 3
|
|
#define CC1120_GPIO3 34
|
|
#define CC1120_GPIO3 34
|
|
#define CC1120_GPIO3_RTC 4
|
|
#define CC1120_GPIO3_RTC 4
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if CC1200
|
|
|
|
+// CC1120 - ESP32 I/O
|
|
|
|
+// NOTE: Logic Probe is connecting to RESET - Pin1
|
|
|
|
+#define CC1120_RESET 22
|
|
|
|
+#define CC1120_CS 5
|
|
|
|
+#define CC1120_SCLK 18
|
|
|
|
+#define CC1120_MOSI 23
|
|
|
|
+#define CC1120_MISO 19
|
|
|
|
+#define CC1120_GPIO0 36
|
|
|
|
+#define CC1120_GPIO0_RTC 0
|
|
|
|
+#define CC1120_GPIO2 39
|
|
|
|
+#define CC1120_GPIO2_RTC 3
|
|
|
|
+#define CC1120_GPIO3 34
|
|
|
|
+#define CC1120_GPIO3_RTC 4
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
|
|
#define DEBUG_0 2
|
|
#define DEBUG_0 2
|
|
#define DEBUG_1 4
|
|
#define DEBUG_1 4
|