ExpressLRS / Backpack

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

Flash error because of WiFi password characters #53

Closed fiechr closed 2 years ago

fiechr commented 2 years ago

I'm trying to flash the Backpack of the Happymodel ES24TX, using Configurator 1.3.4 and Backpack version 0.2 (TX version 2.1.0) under Linux.

While the TX worked fine with the same wifi password, with the Backpack I get this error:

I won't post my wifi password ;-), but it starts with 'wf###', which seems to be the problem.


<command-line>: error: pasting "wf" and "#" does not give a valid preprocessing token
lib/WIFI/devWIFI.cpp:53:5: note: in expansion of macro 'HOME_WIFI_PASSWORD'
   53 | STR(HOME_WIFI_PASSWORD)
      |     ^~~~~~~~~~~~~~~~~~
*** [.pio/build/HappyModel_TX_Backpack_via_UART/libf5b/WIFI/devWIFI.cpp.o] Error 1
========================== [FAILED] Took 2.32 seconds ==========================
Environment                      Status    Duration
-------------------------------  --------  ------------
HappyModel_TX_Backpack_via_UART  FAILED    00:00:02.319
==================== 1 failed, 0 succeeded in 00:00:02.319 ====================```
fiechr commented 2 years ago

Using the pull request to build the image solved the problem.

Thank you!