ESP32Lora to Wireless Stick/shell migration

Hi we are migrating existing sw from ESP32 Lora (V2) to Wireless Stick and Wireless Shell.
i was trying to complile the same code under arduino ide selecting the correct board type, but i get a lot of errors…
is there someting i miss or there are some changes required on code?

Thanks

Hi,

Maybe you can compare these files to Determine whether there is still need to modify.
%E5%9B%BE%E7%89%87

are these local folders? because it seems we dont have, at least with your path

Just confused, in the directory there are only the pins_arduino.h files. there is some differences for LCD, other pin seeem same.
however these files shouldnt be included at board selection level?

From Log it seems there are problems with Hw pakages or sw dependencies

se some log below just to mention some

-I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10810 -DARDUINO_WIRELESS_STICK -DARDUINO_ARCH_ESP32 “-DARDUINO_BOARD=“WIRELESS_STICK”” “-DARDUINO_VARIANT=“wireless_stick”” -DESP32 -DCORE_DEBUG_LEVEL=0 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/cores/esp32 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/variants/wireless_stick /tmp/arduino_build_660375/sketch/WAEEV-WIM-ION-BMR-L8.ino.cpp -o /dev/null
Alternatives for WiFiClient.h: [WiFi@1.2.7 WiFi@1.0]
ResolveLibrary(WiFiClient.h)
-> candidates: [WiFi@1.2.7 WiFi@1.0]

-Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10810 -DARDUINO_WIRELESS_STICK -DARDUINO_ARCH_ESP32 “-DARDUINO_BOARD=“WIRELESS_STICK”” “-DARDUINO_VARIANT=“wireless_stick”” -DESP32 -DCORE_DEBUG_LEVEL=0 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/cores/esp32 -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/variants/wireless_stick -I/home/hs/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5/libraries/WiFi/src /tmp/arduino_build_660375/sketch/WAEEV-WIM-ION-BMR-L8.ino.cpp -o /dev/null
Alternatives for PubSubClient.h: [PubSubClient@2.7]
ResolveLibrary(PubSubClient.h)
-> candidates: [PubSubClient@2.7]
/home/hs/.arduino15/packages/Heltec-esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM “-DMBEDTLS_CONFIG_FILE=“mbedtls/esp_config.h”” -DREGION_EU868 -DLoRaWAN_DEBUG_LEVEL=0 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX