Here’s how I made it work. In platformio.ini this patches over the earlier SX1276 Wireless Stick Lite defs.
[env:WSL_SX1262]
platform = espressif32
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
board = heltec_wireless_stick_lite
lib_deps =
jgromes/RadioLib@^5.4.1
board_upload.maximum_size = 1310720
board_upload.maximum_data_size = 327680
board_build.target = esp32s3
board_build.mcu = esp32s3
board_build.variant = heltec_WIFI_LoRa_32_V3
board_build.flash_size = 8MB
board_upload.flash_size = 8MB
board_build.partitions=config_8MB.csv
board_build.f_flash = 80000000L
build_flags = -DARDUINO_WSL_SX1262
upload_port = COM16
(Note: I use RadioLib and also have custom partitions.)