From 6f2ae6fce83c15fcfe828975dc09d21ff3038e78 Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Thu, 5 Sep 2024 20:37:34 +1200 Subject: [PATCH 1/3] Add second serial out for RXs that support it --- targets.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/targets.json b/targets.json index f73efa6..7440e8d 100644 --- a/targets.json +++ b/targets.json @@ -74,6 +74,9 @@ "product_name": "BAYCKRC 900MHz Nano RX", "lua_name": "BK 900 Nano RX", "layout_file": "Generic 900.json", + "overlay": { + "serial1_tx": 5 + }, "upload_methods": ["uart", "wifi", "betaflight"], "min_version": "3.3.1", "platform": "esp8285", @@ -104,6 +107,7 @@ "lua_name": "BK 2G4 Dual RX", "layout_file": "Generic 2400 True Diversity PA.json", "overlay": { + "serial1_tx": 5, "radio_dcdc": true }, "upload_methods": ["uart", "wifi", "betaflight"], @@ -1522,6 +1526,7 @@ "lua_name": "HGL Gemini2.4RX", "layout_file": "Generic 2400 True Diversity PA.json", "overlay": { + "serial1_tx": 5, "radio_dcdc": true }, "upload_methods": ["uart", "wifi", "betaflight"], From a6316e830b6f1ab7d103ac69a7b23159450ded1a Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Wed, 18 Sep 2024 20:49:22 +1200 Subject: [PATCH 2/3] Fix validation for receivers with a second uart with only output --- .github/hardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/hardware.py b/.github/hardware.py index d1239e8..1003f3d 100644 --- a/.github/hardware.py +++ b/.github/hardware.py @@ -136,7 +136,7 @@ class FieldType(Enum): # if one of the first group then all the first and second groups and # at-least one of the third group must also be defined [["serial_rx", "serial_tx"], [], []], - [["serial1_rx", "serial1_tx"], [], []], + [["serial1_rx"], ["serial1_tx"], []], [["power_min", "power_high", "power_max", "power_default", "power_control", "power_values"], [], []], [["debug_backpack_baud", "debug_backpack_rx", "debug_backpack_tx"], [], []], [["use_backpack"], ["debug_backpack_baud", "debug_backpack_rx", "debug_backpack_tx"], []], From f0275145da1921b4ec2d214f7ceff1d01ce4fde8 Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Wed, 18 Sep 2024 20:50:29 +1200 Subject: [PATCH 3/3] Remove wrong pin definition --- targets.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/targets.json b/targets.json index 7440e8d..9efb62e 100644 --- a/targets.json +++ b/targets.json @@ -74,9 +74,6 @@ "product_name": "BAYCKRC 900MHz Nano RX", "lua_name": "BK 900 Nano RX", "layout_file": "Generic 900.json", - "overlay": { - "serial1_tx": 5 - }, "upload_methods": ["uart", "wifi", "betaflight"], "min_version": "3.3.1", "platform": "esp8285",