Open pixelfriese opened 11 months ago
That happens to me too when building. I use a a esp32doit-devkit-v1 board. I use Platformio 3.3.2 with vscode. Going back to version 2.3.7 fixed the issue. Interestingly on another machine with vscode and platformio 3.3.2 the error does not occur.
The problem is solved like this: after # undef noInterrupts and # undef Interrupts nothing else is needed in file OneWire.cpp.
@Nik-mayak are you going to open a PR on this?
@PaulStoffregen : would it be possible to merge this PR and issue a new release and deploy in platformio registry ? Thanks!
Description
Since the new version 2.3.8, error messages are displayed during the build process. No error messages appear in version 2.3.7.
Steps To Reproduce Problem
The error occurs directly in the build process of the library. Platformio is used with an ESP32 DevKit V1. OneWire is used as a dependency for the milesburton/DallasTemperature @ 3.11.0 library.
Hardware & Software
Board ESP32 DevKitV1 Shields / modules used no Arduino IDE version PlatformIO 6.1.11 Teensyduino version (if using Teensy) no Version info & package name (from Tools > Boards > Board Manager) paulstoffregen/OneWire @ 2.3.8 Operating system & version Windows 11 Any other software or hardware? no
Arduino Sketch
OneWire\OneWire.cpp
Errors or Incorrect Output