Hi All.
Background:
I have a Wio Terminal working as a slave via I2C to an STM32 nucleo board. It provides a display and key input to the nucleo system. Additionally, trying to get it to work as a bluetooth slave to accept remote commands.
Development is being done using the Arduino IDE on a PC.
Problem:
When I include the rpcBLEDevice.h file (no other code added) I get the compiler message “Error compiling for board Seeeduino Wio Terminal”. Without this include the code compiles and runs OK.
I’ve done the following to get the system Bluetooth ready:
1.Updated wireless core firmware using provided flash tool.
2.Updated Seeed SAMD Arduino core to 1.8.5.
3. Added the following libraries directly to the Arduino’s library folder. All downloaded from gitHub repos:
(a) rpcBLE, rpcUnified - required for bluetooth plus mbedtls, FS, SFUD, rpcWiFi.
Any ideas what the problem may be ?
Any help appreciated !
Hi there,
So sounds like you are making it happen , I like it… So on the errors, something I have learned If using certain HARDWARE and having the other BLE LIB’s hanging around on the IDE you will get wierd stuff happening, Check you do not have for example ArduinoBLE and the RPC_ble stuff. clean out any of the installed that you don’t need for the present WIO-Term build it will go faster and smoother.
YMMV
HTH
GL PJ
Hi. Thanks for your reply. Set me on the road to finding the problem. Turns out to be a conflict between rpdBLEDevice.h and TFT_eSPI.h. It appears that the inclusion of rpcBLEDevice.h must positioned before that of TFT_eSPI.h in the code.
Hi there,
WOW…
Way to go and sleuth that out, I do remember haring something like that also, the POSITION in the include order
Outstanding, thank you for the contribution. This is an example of how the Forum , asking and answering questions works. Simple , do the work find the answer with help.
GL PJ