Skip to content

Commit

Permalink
Merge pull request #99 from pkendall64/C3-LR1121-PWM
Browse files Browse the repository at this point in the history
Add generic target for C3 LR1121 PWM RX
  • Loading branch information
JyeSmith authored Sep 15, 2024
2 parents c779c43 + 5aa4dae commit 0096208
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
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

0 comments on commit 0096208

Please sign in to comment.