Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic target for C3 LR1121 PWM RX #99

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions RX/Generic C3 LR1121 PWM.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"radio_busy": 3,
"radio_dio1": 1,
"radio_miso": 5,
"radio_mosi": 4,
"radio_nss": 7,
"radio_rst": 2,
"radio_sck": 6,
"power_min": 0,
"power_high": 3,
"power_max": 3,
"power_default": 3,
"power_control": 0,
"power_values": [12,16,19,22],
"power_values_dual": [-12,-9,-6,-2],
"pwm_outputs": [9,10,18,19,20,21],
"led_rgb": 8,
"led_rgb_isgrb": true,
"vbat": 0,
"vbat_offset": 3,
"vbat_scale": 937,
"vbat_atten": 7
}
9 changes: 9 additions & 0 deletions targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,15 @@
"min_version": "3.4.0",
"platform": "esp32-c3",
"firmware": "Unified_ESP32C3_LR1121_RX"
},
"c3-pwm": {
"product_name": "Generic C3 LR1121 2.4/900 PWM RX",
"lua_name": "C3 LR1121 PWM RX",
"layout_file": "Generic C3 LR1121 PWM.json",
"upload_methods": ["uart", "wifi", "betaflight"],
"min_version": "3.4.0",
"platform": "esp32-c3",
"firmware": "Unified_ESP32C3_LR1121_RX"
}
}
},
Expand Down