Hi,
This board has gps and SIM card capability that I’d like to use. The only documentation I can find on this is there github page. From what I gather on the readme, is it only describes testing.
So does this mean I copy and paste their examples into a clean project’s main.cpp and adjust as necessary?
I’m a bit of a newb to esp and very much a newb to programing/VS code/platformIO, but like to learn. I have managed to build some esphome devices for home automation. Looking to learn scratch build devices now.
Thanks,
They have their project setup a bit fancier, so to make sure that the example code still compiles when you pull it out into your own src/main.cpp
, you should at least
- copy all those libraries from the source project (
lib/
→ lib/
)
- copy parts of the
platformio.ini
depending on your device, e.g.
[env] ; base settings for all
platform = espressif32
framework = arduino
; base settings for all ESP32
[esp32dev_base]
board = esp32dev
build_flags =
${env.build_flags}
-mfix-esp32-psram-cache-issue
-DBOARD_HAS_PSRAM
monitor_filters =
default
esp32_exception_decoder
; actual board environment
[env:T-A7670X]
extends = esp32dev_base
build_flags = ${esp32dev_base.build_flags}
-DLILYGO_T_A7670
-DTINY_GSM_MODEM_A7670
Thank you for mentioning the other tips beyond the examples and confirming my thinking is on the correct path.