Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Сompilation error #112

Open
wzooroo opened this issue Jul 12, 2022 · 1 comment
Open

Сompilation error #112

wzooroo opened this issue Jul 12, 2022 · 1 comment

Comments

@wzooroo
Copy link

wzooroo commented Jul 12, 2022

And again a compilation error(

`Compiling .pio/build/esp32-dev/src/ESP32HTTPUpdateServer.cpp.o
src/BrewManiac.cpp:14:10: fatal error: OneWire.h: No such file or directory



#include <OneWire.h>`

I added the Onewire library. But there is still an error.

Compiling .pio/build/esp32-dev/src/automation.cpp.o Generating partitions .pio/build/esp32-dev/partitions.bin In file included from src/BrewManiac.cpp:14: lib/OneWire/src/OneWire.h: In function 'void directModeInput(uint32_t)': lib/OneWire/src/OneWire.h:190:26: error: 'rtc_gpio_desc' was not declared in this scope uint32_t rtc_reg(rtc_gpio_desc[pin].reg); ^~~~~~~~~~~~~ lib/OneWire/src/OneWire.h:190:26: note: suggested alternative: 'rtc_io_desc' uint32_t rtc_reg(rtc_gpio_desc[pin].reg); ^~~~~~~~~~~~~ rtc_io_desc In file included from /home/dima/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36, from src/BrewManiac.cpp:11: lib/OneWire/src/OneWire.h:207:38: error: 'esp32_gpioMux' was not declared in this scope ESP_REG(DR_REG_IO_MUX_BASE + esp32_gpioMux[pin].reg) = pinFunction; ^~~~~~~~~~~~~ /home/dima/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:73:47: note: in definition of macro 'ESP_REG' #define ESP_REG(addr) *((volatile uint32_t *)(addr)) ^~~~ In file included from src/BrewManiac.cpp:14: lib/OneWire/src/OneWire.h: In function 'void directModeOutput(uint32_t)': lib/OneWire/src/OneWire.h:218:26: error: 'rtc_gpio_desc' was not declared in this scope uint32_t rtc_reg(rtc_gpio_desc[pin].reg); ^~~~~~~~~~~~~

@vitotai
Copy link
Owner

vitotai commented Jul 15, 2022

my bad.
was trying latest ESP32 framework, which requires upgraded OneWire Library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants