Closed ktetsuo closed 1 week ago
Commenting out #include <Wire.h>
, then the build succeeded.
Wire.h
seems unnecessary.
src\utility\MFRC522.h
#ifndef MFRC522_h
#define MFRC522_h
#include "M5Unified.h"
#include <Arduino.h>
- #include <Wire.h>
+ //#include <Wire.h>
src\utility\MFRC522.cpp
#include <Arduino.h>
#include "MFRC522.h"
- #include <Wire.h>
+ //#include <Wire.h>
using namespace m5;
I can't reproduce, can you prove more information.
I solved by myself.
It is neccesary to add Wire
to lib_deps
.
https://community.platformio.org/t/wire-h-not-found-platformio-latest-version/2046
After adding lib_deps = Wire
, the build succeeded.
[env:m5stack-stamps3]
platform = espressif32
board = m5stack-stamps3
framework = arduino
lib_deps =
m5stack/M5Dial@^1.0.2
m5stack/M5Unified@^0.1.16
+ Wire
I get a build error when using platform.io.
platformio.ini: