Hi, All
I'm trying to work with MCU LN882 that is supported by Tuya Open SDK for Arduino: https://github.com/tuya/arduino-tuyaopen/releases/download/global/package_tuya_open_index.json
First try to compile is with error:
B4RDefines.h is
How to add this Client.h and other adoptations to go on?
I'm trying to work with MCU LN882 that is supported by Tuya Open SDK for Arduino: https://github.com/tuya/arduino-tuyaopen/releases/download/global/package_tuya_open_index.json
First try to compile is with error:
B4R Version: 4.00
Parsing code. (0.00s)
Building folders structure. (0.00s)
Compiling code. (0.00s)
Building project (0.02s)
Compiling (LN882H) Error
In file included from C:\!\RMW002_LN882H\Objects\src\src.ino:1:
C:\!\RMW002_LN882H\Objects\src\B4RDefines.h:11:10: fatal error: Client.h: No such file or directory
11 | #include <Client.h>
| ^~~~~~~~~~
compilation terminated.
Error during build: exit status 1
B4RDefines.h is
B4X:
#ifndef B4RDefines_h
#define B4RDefines_h
#define B4R_SERIAL
#define B4R_STANDARD_PROMOTIONS
#include <stdarg.h>
#include <Arduino.h>
#include <string.h>
#include <Print.h>
#include <Client.h>
#define AUTO_FLUSH_LOGS true
#define STACK_BUFFER_SIZE 300
#if defined(ESP_H) || PLATFORM_ID == 0xAE
#define B4R_MEMORY_ALIGNMENT 3
#else
#define B4R_MEMORY_ALIGNMENT 0
#endif
#define CHECK_ARRAY_BOUNDS
#include "rCore.h"
#include "b4r_main.h"
#endif
How to add this Client.h and other adoptations to go on?