Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ExpressLRS/ExpressLRS into more-b…
Browse files Browse the repository at this point in the history
…aros
  • Loading branch information
CapnBry committed Dec 4, 2023
2 parents 166da48 + 55edd2e commit 892505c
Show file tree
Hide file tree
Showing 28 changed files with 11 additions and 781 deletions.
9 changes: 5 additions & 4 deletions src/lib/Backpack/devBackpack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ void startPassthrough()
uint32_t baud = PASSTHROUGH_BAUD == -1 ? BACKPACK_LOGGING_BAUD : PASSTHROUGH_BAUD;
// get ready for passthrough
if (GPIO_PIN_RCSIGNAL_RX == GPIO_PIN_RCSIGNAL_TX)
{
// if we have a single S.PORT pin for RX then we assume the standard UART pins for passthrough
CRSF::Port.begin(baud, SERIAL_8N1, 3, 1);
}
#if defined(PLATFORM_ESP32_S3)
CRSF::Port.begin(baud, SERIAL_8N1, 44, 43); // 如果PLATFORM_ESP32_S3宏定义,则将引脚配置为44和43,If PLATFORM_ESP32_S3 macro is defined, pins are configured as 44 and 43
#else
CRSF::Port.begin(baud, SERIAL_8N1, 3, 1); // 否则继续使用默认引脚配置3和1,Otherwise continue to use default pin configuration 3 and 1
#endif
else
{
CRSF::Port.begin(baud, SERIAL_8N1, GPIO_PIN_RCSIGNAL_RX, GPIO_PIN_RCSIGNAL_TX);
Expand Down
24 changes: 3 additions & 21 deletions src/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,16 @@ extra_configs =
# keep common first
targets/common.ini
# defined one by one to maintain the order
targets/ELRS_2400.ini
targets/axis_2400.ini
targets/unified.ini
targets/diy_900.ini
targets/diy_2400.ini
targets/frsky.ini
targets/emax_900.ini
targets/emax_2400.ini
targets/happymodel_900.ini
targets/happymodel_2400.ini
targets/betafpv_900.ini
targets/betafpv_2400.ini
targets/imrc.ini
targets/namimnorc_900.ini
targets/namimnorc_2400.ini
targets/neutronrc_900.ini
targets/siyi.ini
targets/HGLRC_900.ini
targets/HGLRC_2400.ini
targets/quadkopters_2400.ini
targets/diy_900.ini
targets/diy_2400.ini
targets/diy_ble_joystick.ini
targets/MATEK_2400.ini
targets/iFlight_900.ini
targets/iFlight_2400.ini
targets/vantac_2400.ini
targets/Jumper_2400.ini
targets/radiomaster_2400.ini
targets/foxeer_2400.ini
targets/unified.ini

# ------------------------- TARGET ENV DEFINITIONS -----------------

Expand Down
3 changes: 2 additions & 1 deletion src/python/binary_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def upload_stm32_stlink(args, options: FirmwareOptions):
app_start = flash_start + offset

if options.bootloader is not None:
stlink.program_flash('bootloader/' + options.bootloader, flash_start, erase=True, verify=True, initialize_comms=True)
bootloader_dir = '' if args.fdir is None else args.fdir + '/'
stlink.program_flash(bootloader_dir + 'bootloader/' + options.bootloader, flash_start, erase=True, verify=True, initialize_comms=True)

stlink.program_flash(args.file.name, app_start, erase=True, verify=True, initialize_comms=True)

Expand Down
21 changes: 0 additions & 21 deletions src/python/pyproject.toml

This file was deleted.

2 changes: 1 addition & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import setuptools
setuptools.setup(
name="binary_configurator",
version="3.3.0",
version="3.4.0",
author="ExpressLRS Team",
author_email="",
description="ExpressLRS Binary Installer",
Expand Down
25 changes: 0 additions & 25 deletions src/targets/HGLRC_2400.ini

This file was deleted.

18 changes: 0 additions & 18 deletions src/targets/HGLRC_900.ini

This file was deleted.

47 changes: 0 additions & 47 deletions src/targets/Jumper_2400.ini

This file was deleted.

34 changes: 0 additions & 34 deletions src/targets/MATEK_2400.ini

This file was deleted.

24 changes: 0 additions & 24 deletions src/targets/axis_2400.ini

This file was deleted.

59 changes: 0 additions & 59 deletions src/targets/betafpv_2400.ini

This file was deleted.

31 changes: 0 additions & 31 deletions src/targets/betafpv_900.ini

This file was deleted.

Loading

0 comments on commit 892505c

Please sign in to comment.