ExpressLRS / Backpack

Firmware for ExpressLRS compatible backpacks
GNU General Public License v3.0
101 stars 73 forks source link

Build error "Invalid environment name ' for file hdzero.ini #87

Closed RobertoD91 closed 1 year ago

RobertoD91 commented 1 year ago

I have to empty the file hdzero.ini to compile BETAFPV_TX_Backpack_via_UART or DEBUG_ESP_RX_Backpack_via_UART, otherwise i get this error

Error: Invalid environment name 'HDZero_RX5.1_ESP32_Backpack_via_UART'. The name can contain alphanumeric, underscore, and hyphen characters (a-z, 0-9, -, _)

nested on:

$ pio system info
--------------------------  ---------------------------------------------------------
PlatformIO Core             6.1.7
Python                      3.11.3-final.0
System Type                 darwin_x86_64
Platform                    macOS-13.3.1
File System Encoding        utf-8
Locale Encoding             UTF-8
PlatformIO Core Directory   /Users/.../.platformio
PlatformIO Core Executable  /usr/local/bin/platformio
Python Executable           /usr/local/Cellar/platformio/6.1.6/libexec/bin/python3.11
Global Libraries            0
Development Platforms       12
Tools & Toolchains          56
--------------------------  ---------------------------------------------------------
jurgelenas commented 1 year ago

Fixed in https://github.com/ExpressLRS/Backpack/pull/88