WIO Terminal - rpcWiFi, missing files

As this is my first post, I would like to say hello :slight_smile:

I have a problem with WIO Terminal. I am using platformio, I have successfully updated to the latest WIO Terminal firmware. I added the necessary libraries as follows: my .ini file:

lib_deps =
https://github.com/Seeed-Studio/Seeed_Arduino_LCD
https://github.com/Seeed-Studio/Seeed_Arduino_rpcUnified
https://github.com/Seeed-Studio/Seeed_Arduino_FS
https://github.com/Seeed-Studio/Seeed_Arduino_SFUD
https://github.com/Seeed-Studio/Seeed_Arduino_FreeRTOS
https://github.com/Seeed-Studio/Seeed_Arduino_atUnified
https://github.com/Seeed-Studio/esp-at-lib
https://github.com/Seeed-Studio/Seeed_Arduino_rpcWiFi
https://github.com/Seeed-Studio/Seeed_Arduino_rpcWiFiManager
https://github.com/Seeed-Studio/Seeed_Arduino_rpcBLE
https://github.com/Seeed-Studio/Seeed_Arduino_mbedtls

My includes:
#include <Arduino.h>
#include <rpcWiFi.h>
#include <esp_system.h>
#include <rpcWiFiClientSecure.h>
#include “TFT_eSPI.h”
#include “Free_Fonts.h”
#include <rpcBLEDevice.h>
#include <BLEScan.h>
#include <BLEAdvertisedDevice.h>

The program works, the LCD works, BLE also works, I scan the mac addresses and show them on the display. The problem is when I add WiFi.begin (); in my program.

Then the program does not compile. After analyzing the error, the problem is in WiFiGeneric.h, linker can’t see:

#include <wifi_provisioning / manager.h>

Anyone had such a problem? How can I solve it? I would be very grateful for your help.

Hi, I think you shouldn’t have atUnified in your libdeps. The project I’m currently working on has:
platformio.ini
[env:seeed_wio_terminal]
platform = atmelsam
board = seeed_wio_terminal
framework = arduino

platform_packages = framework-arduino-samd-seeed@https://github.com/Seeed-Studio/ArduinoCore-samd.git

lib_deps =
Adafruit Zero DMA Library
SPI
https://github.com/Seeed-Studio/Seeed_Arduino_rpcUnified
https://github.com/Seeed-Studio/Seeed_Arduino_rpcWiFi
https://github.com/Seeed-Studio/Seeed_Arduino_FS
https://github.com/Seeed-Studio/Seeed_Arduino_SFUD
Seeed_Arduino_mbedtls=https://github.com/Seeed-
Studio/Seeed_Arduino_mbedtls/archive/dev.zip

includes:
#include <Arduino.h>
#include <rpcWiFi.h>
#include “HTTPClient.h”
#include “TFT_eSPI.h”
#include “Free_Fonts.h” //include the header file

2 Likes

FYI
platformio.ini at my project. :slightly_smiling_face:

2 Likes