Open MinPopp opened 6 months ago
I've re-added the CircularBuffer dep, can you please try? I'm used to working with local copies of some libs for easier debugging and sometimes forget to revert the config. I'm sure there is a good way to deal with this...
Thank you, it seems that the CircularBuffer issue is solved, but I still get compile errors:
Interestingly, VSCode can resolve the WifiUDP class. Maybe it's also an issue on my side
I've uncommented some more dependencies and ran a full build, no errors here.
I think the culprit is the different libAtoll versions:
but I don't know where this comes from.
Interesting
I updated the platform.ini file so it should use the exact versions that you use:
[env]
platform = espressif32@6.7.0
; platform = https://github.com/platformio/platform-espressif32.git#master
platform_packages = framework-arduinoespressif32@3.20016.0
; Disable dynamic toolchain configuration for upstream Arduino packages
; board_build.arduino.upstream_packages = no
board = lolin32_lite
framework = arduino
lib_extra_dirs = ~/wrk/libs
; lib_ldf_mode = deep+
lib_deps =
https://github.com/gsoros/libatoll.git#f0e9fe6
https://github.com/gsoros/MPU9250.git#0502235
;https://github.com/h2zero/NimBLE-Arduino.git#master
https://github.com/gsoros/NimBLE-Arduino.git#4cfd61a
https://github.com/gsoros/HX711_ADC.git#76d8e7d
;rlogiacco/CircularBuffer@^1.3.3
https://github.com/gsoros/CircularBuffer.git#14af958
https://github.com/gsoros/VescUart.git#5d7b831
;https://github.com/PaulStoffregen/OneWire.git
https://github.com/gsoros/OneWire.git#b175ac0
;https://github.com/milesburton/Arduino-Temperature-Control-Library.git
https://github.com/gsoros/Arduino-Temperature-Control-Library.git
and according to my build log it uses the same now. But somehow, it still fails...
Can you check if the file C:/Users/minPopp/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiUdp.h is present?
In the packages folder i have contains three framework-arduinoespressif32
folders:
framework-arduinoespressif32
framework-arduinoespressif32@3.20006.221224
framework-arduinoespressif32@3.20014.231204
and all of them contain a WiFiUdp.h
in libraries/WiFi/src/
Hmm, in that case I'm out of ideas, because your first error is "'WiFiUDP' does not name a type" while it is defined in that file. Maybe delete the .pio folder in the project and retry?
I get the following error when trying to Build All:
CircularBuffer.h: No such file or directory
Image of build
![image](https://github.com/gsoros/ESPM/assets/61125247/ed300409-653b-4968-bfc0-d5e34fe4c260)It seems that in the commit https://github.com/gsoros/ESPM/commit/2350700590c0af56efde765f0a0e59186b34f64b some dependencies were changed for the CircularBuffer. Is it possible that one was lost?