From c74f948fd586e85d52956b89aac05e88b0d6700b Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Tue, 28 Nov 2023 16:55:42 +1300 Subject: [PATCH] Add bandit modules --- TX/Radiomaster Bandit Micro.json | 39 ++++++++++++++++++++++++++ TX/Radiomaster Bandit.json | 48 ++++++++++++++++++++++++++++++++ targets.json | 32 +++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 TX/Radiomaster Bandit Micro.json create mode 100644 TX/Radiomaster Bandit.json diff --git a/TX/Radiomaster Bandit Micro.json b/TX/Radiomaster Bandit Micro.json new file mode 100644 index 0000000..6c9e02f --- /dev/null +++ b/TX/Radiomaster Bandit Micro.json @@ -0,0 +1,39 @@ +{ + "serial_rx": 13, + "serial_tx": 13, + "radio_dio0": 22, + "radio_dio1": 21, + "radio_miso": 19, + "radio_mosi": 23, + "radio_nss": 4, + "radio_rst": 5, + "radio_sck": 18, + "radio_dcdc": true, + "radio_rfo_hf": true, + "power_txen": 33, + "power_rxen": 12, + "power_apc2": 26, + "power_min": 3, + "power_high": 6, + "power_max": 6, + "power_default": 5, + "power_control": 3, + "Power_values": [172,165,141,90], + "power_values2": [121,121,121,121], + "use_backpack": true, + "debug_backpack_baud": 460800, + "debug_backpack_rx": 16, + "debug_backpack_tx": 17, + "backpack_boot": 32, + "backpack_en": 25, + "passthrough_baud": 230400, + "led_red": 15, + "led_red_invert": true, + "misc_fan_en": 2, + "screen_type": 1, + "screen_sck": 12, + "screen_sda": 14, + "screen_reversed": true, + "joystick": 39, + "joystick_values": [3227,0,1961,2668,1290,4095] +} diff --git a/TX/Radiomaster Bandit.json b/TX/Radiomaster Bandit.json new file mode 100644 index 0000000..8d6d2a8 --- /dev/null +++ b/TX/Radiomaster Bandit.json @@ -0,0 +1,48 @@ +{ + "serial_rx": 13, + "serial_tx": 13, + "radio_dio0": 22, + "radio_dio1": 21, + "radio_miso": 19, + "radio_mosi": 23, + "radio_nss": 4, + "radio_rst": 5, + "radio_sck": 18, + "radio_dcdc": true, + "radio_rfo_hf": true, + "power_txen": 33, + "power_min": 3, + "power_high": 6, + "power_max": 6, + "power_default": 5, + "power_control": 3, + "power_values": [176,172,157,143], + "power_values2": [121,121,121,121], + "power_apc2": 26, + "use_backpack": true, + "debug_backpack_baud": 460800, + "debug_backpack_rx": 16, + "debug_backpack_tx": 17, + "backpack_boot": 32, + "backpack_en": 25, + "passthrough_baud": 460800, + "led_rgb": 15, + "led_rgb_isgrb": true, + "ledidx_rgb_status": [2,3,4,5], + "misc_fan_pwm": 2, + "misc_fan_tacho": 27, + "misc_fan_speeds": [47,63,95,127,191,255,255], + "gsensor_stk8xxx": true, + "i2c_scl": 12, + "i2c_sda": 14, + "misc_gsensor_int": 37, + "screen_type": 1, + "screen_sck": 12, + "screen_sda": 14, + "joystick": 39, + "joystick_values": [3227,0,1961,2668,1290,4095], + "button": 34, + "button_led_index": 0, + "button2": 35, + "button2_led_index": 1 +} diff --git a/targets.json b/targets.json index 8081781..04bba5c 100644 --- a/targets.json +++ b/targets.json @@ -1800,6 +1800,38 @@ }, "radiomaster": { "name": "RadioMaster", + "tx_900": { + "bandit": { + "product_name": "RadioMaster Bandit 900MHz TX", + "lua_name": "RM Bandit", + "layout_file": "Radiomaster Bandit.json", + "logo_file": "radiomaster.bin", + "upload_methods": ["uart", "wifi"], + "min_version": "3.4.0", + "platform": "esp32", + "firmware": "Unified_ESP32_900_TX" + }, + "bandit-micro": { + "product_name": "RadioMaster Bandit Micro 900MHz TX", + "lua_name": "RM Bandit Micro", + "layout_file": "Radiomaster Bandit Micro.json", + "logo_file": "radiomaster.bin", + "upload_methods": ["uart", "wifi"], + "min_version": "3.4.0", + "platform": "esp32", + "firmware": "Unified_ESP32_900_TX" + }, + "bandit-nano": { + "product_name": "RadioMaster Bandit Nano 900MHz TX", + "lua_name": "RM Bandit Nano", + "layout_file": "Radiomaster Bandit Micro.json", + "logo_file": "radiomaster.bin", + "upload_methods": ["uart", "wifi"], + "min_version": "3.4.0", + "platform": "esp32", + "firmware": "Unified_ESP32_900_TX" + } + }, "tx_2400": { "zorro": { "product_name": "RadioMaster Zorro Internal 2.4GHz TX",