-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
How can one build examples on VSCode (with PlatformIO and ESPIDF) for the LilyGo T-Beam v1.2 board (without using Arduino IDE and library)?
Build output:
Processing T_BEAM_SX1262 (board: ttgo-t-beam; platform: [email protected]; framework: espidf)
-------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ttgo-t-beam.html
PLATFORM: Espressif 32 (6.9.0) > TTGO T-Beam
HARDWARE: ESP32 240MHz, 1.25MB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-espidf @ 3.50301.0 (5.3.1)
- tool-cmake @ 3.16.4
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 12.1.0+20221002
- tool-xtensa-esp-elf-gdb @ 12.1.0+20221002
- toolchain-esp32ulp @ 1.23800.240113 (2.38.0)
- toolchain-xtensa-esp-elf @ 13.2.0+20240530
Reading CMake configuration...
Warning! Flash memory size mismatch detected. Expected 4MB, found 2MB!
Please select a proper value in your `sdkconfig.defaults` or via the `menuconfig` target!
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 2 compatible libraries
Scanning dependencies...
Dependency Graph
|-- XPowersLib @ 0.2.6
Building in release mode
Compiling .pio/build/T_BEAM_SX1262/examples/TBeamFactory/LoRaBoards.cpp.o
In file included from examples/TBeamFactory/LoRaBoards.cpp:11:
examples/TBeamFactory/LoRaBoards.h:24:10: fatal error: Arduino.h: No such file or directory
*****************************************************************
* Looking for Arduino.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:Arduino.h"
* Web > https://registry.platformio.org/search?q=header:Arduino.h
*
*****************************************************************
24 | #include <Arduino.h>
| ^~~~~~~~~~~
compilation terminated.
*** [.pio/build/T_BEAM_SX1262/examples/TBeamFactory/LoRaBoards.cpp.o] Error 1
Generating LD script .pio/build/T_BEAM_SX1262/esp-idf/esp_system/ld/memory.ld.in
================================== [FAILED] Took 2.38 seconds ==================================
Environment Status Duration
------------- -------- ------------
T_BEAM_SX1262 FAILED 00:00:02.384
============================= 1 failed, 0 succeeded in 00:00:02.384 =============================
"platform.ini" is attached as "platform.ini.txt".
Metadata
Metadata
Assignees
Labels
No labels