- Add platformio.ini for ESP32 DevKit (Arduino framework, espressif32 6.10.0) - Vendor ArduinoJson, MPU6050_tockn, SCServo, Simple_FOC, and WebSockets so a fresh clone builds without downloading dependencies - Add .gitignore rules for PlatformIO/IDE build artifacts - Add controller PCB Gerber and drill files
12 lines
290 B
C++
12 lines
290 B
C++
#include <ArduinoJson.h>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
|
DynamicJsonDocument doc(4096);
|
|
DeserializationError error = deserializeMsgPack(doc, data, size);
|
|
if (!error) {
|
|
std::string json;
|
|
serializeMsgPack(doc, json);
|
|
}
|
|
return 0;
|
|
}
|