Closed romakrau closed 2 years ago
I checked it again and the name for the board is different to the espressif boards.
Error: Platform Manager: espressif32@2.0.5 has been installed! Error: Unknown board ID 'esp32-cam' Finished. Exit code: 1.
They named the board esp32cam.json instead of esp32-cam. Please could you be so kind and correct it. Thanks
Hi Romek,
Thank you for the fast anwer. I'm follow the instruction on the website from Carlos Gomes: https://cgomesu.com/blog/Esp32cam-tasmota-webcam-server/#installing-docker-and-running-tasmocompiler I use the TasmoCompiler v9.1.0 , the development version in german or english on a raspberry 3b+. Greetings Roman
There ware some changes introduced in Tasmota code few days ago. There was some kind of refactor of platformio configuration. Suggestions:
development
branch of Tasmota, you should rather use stable version v12.x
development
branch of Tasmota you should rather use development
branch of TasmoCompiler as described in README.Anyway, thanks for reporting the issue - I need to find time to reflect recent changes in Tasmota development branch on TasmoCompiler development branch side.
Remember: using development branches you can expect unexpected
Development branch of TasmoCompiler is updated, so you can use docker image or gitpod to compile your binary.
Thanks a lot. I am not at Home so i will test it when i‘ m be back. Greetings Roman
Am 01.11.2022 um 15:38 schrieb benzino77 @.***>:
Development branch of TasmoCompiler is updated, so you can use docker image or gitpod to compile your binary.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Hello,
Same problem here.
Board: Esp32 Cam (Webcam). Also following Carlos Gomes's tutorial. TasmoCompiler: running on Rasperrby Pi4 (using Docker) and also tested on Gitpod Tasmota version: Tested with Development and with 12.1.1 TasmoCompiler version: Tested with Development and latest (9.2.0)
Error:
`2022-11-07T12:00:05.737Z compile PLATFORM: Espressif 32 (2.0.4) > AI Thinker ESP32-CAM, 4M Flash 4MB PSRAM, Tasmota 2880k Code/OTA, 320k FS HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:
2022-11-07T12:00:05.737Z compile - tool-mklittlefs @ 1.203.210628 (2.3)
2022-11-07T12:00:06.348Z compile Converting tasmota.ino
2022-11-07T12:00:06.361Z compile sh: 1: xtensa-esp32-elf-g++: not found
2022-11-07T12:00:06.363Z compile *** Error 127
2022-11-07T12:00:06.371Z compile AssertionError: : File "/usr/local/lib/python3.7/dist-packages/platformio/builder/main.py", line 188: env.SConscript("$BUILD_SCRIPT") File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py", line 597: return _SConscript(self.fs, *files, subst_kw) File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py", line 285: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "/root/.platformio/platforms/espressif32/builder/main.py", line 283: target_elf = env.BuildProgram() File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(*nargs, *kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piobuild.py", line 60: env.ProcessProgramDeps() File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(nargs, kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piobuild.py", line 120: env.BuildFrameworks(env.get("PIOFRAMEWORK")) File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(*nargs, *kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piobuild.py", line 328: env.ConvertInoToCpp() File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(nargs, **kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/pioino.py", line 238: out_file = c.convert(ino_nodes) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/pioino.py", line 86: return self.process(contents) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/pioino.py", line 107: assert self._gcc_preprocess(contents, out_file)
2022-11-07T12:00:06.535Z compile ========================= [FAILED] Took 115.15 seconds =========================
2022-11-07T12:00:06.536Z compile
2022-11-07T12:00:06.538Z compile Environment Status Duration
tasmota32-webcam FAILED 00:01:55.148
2022-11-07T12:00:06.538Z compile ==================== 1 failed, 0 succeeded in 00:01:55.148 ====================
2022-11-07T12:00:06.660Z compile Finished. Exit code: 1. `
I cannot reproduce your problem on gitpod:
What I suggest to do is:
Sorry, I forgot to include the feature: "Distance sensors". Leaving default it seems to work in gitpod 9.2.0, Tasmota 12.1.1
Error:
^~~~~~~~~~~
compilation terminated. Compiling .pio/build/tasmota32-webcam/lib06f/FFat/FFat.cpp.o Compiling .pio/build/tasmota32-webcam/libbc3/WiFi/WiFi.cpp.o Compiling .pio/build/tasmota32-webcam/libbc3/WiFi/WiFiAP.cpp.o Compiling .pio/build/tasmota32-webcam/libbc3/WiFi/WiFiClient.cpp.o Compiling .pio/build/tasmota32-webcam/libbc3/WiFi/WiFiGeneric.cpp.o Compiling .pio/build/tasmota32-webcam/libbc3/WiFi/WiFiMulti.cpp.o Compiling .pio/build/tasmota32-webcam/libbc3/WiFi/WiFiSTA.cpp.o *** [.pio/build/tasmota32-webcam/src/tasmota.ino.cpp.o] Error 1 ========================= [FAILED] Took 11.09 seconds ========================= Environment Status Duration
tasmota32-webcam FAILED 00:00:11.089 ==================== 1 failed, 0 succeeded in 00:00:11.089 ====================
Finished. Exit code: 1.
I have done quick check. When you select "Distance sensors" those sensors are added: USE_SR04 USE_VL53L0X USE_HRXL USE_DYP USE_VL53L1X
Those three sensors are incompatible with esp32-cam (and I cannot tell you why): USE_SR04 USE_VL53L0X USE_VL53L1X
If your use case is to use HRLX or DYP, then select "distance sensors" and put those three lines in "Custom parameters" field:
#undef USE_SR04
#undef USE_VL53L0X
#undef USE_VL53L1X
For more information why some sensors (in this case those three) are incompatible with esp32-cam board, I will direct you to Tasmota discord channel.
Thanks @benzino77!!
Unfortunatly, SR04 was the one needed. I'll try on Discord to know why. Thanks
Thanks @benzino77, your hint with the custom paramter field solved my problems. I used follow parameter:
Now I got as a result the firmware.bin
Thanks for this nice tools
Another tipp is to set the "SetSensor127 0" at the tasmota console. It increased the frame per second by 10.
Sorry, I am older and try to use the tasmocompiler and run into an error.
`2022-10-25T19:22:05.941Z compile PLATFORM: Espressif 32 (2.0.5) > Espressif Generic ESP32 >= 4M Flash PSRAM, Tasmota 2880k Code/OTA, 320k FS HARDWARE: ESP32 80MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:
2022-10-25T19:22:07.901Z compile Converting tasmota.ino
2022-10-25T19:22:07.955Z compile sh: 1: xtensa-esp32-elf-g++: not found *** Error 127
2022-10-25T19:22:08.023Z compile AssertionError: : File "/usr/local/lib/python3.7/dist-packages/platformio/builder/main.py", line 188: env.SConscript("$BUILD_SCRIPT") File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py", line 597: return _SConscript(self.fs, *files, subst_kw) File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py", line 285: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "/root/.platformio/platforms/espressif32@src-7e4f94660d34c23ade2979c1cc6f8321/builder/main.py", line 324: target_elf = env.BuildProgram() File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(*nargs, *kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piobuild.py", line 60: env.ProcessProgramDeps() File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(nargs, kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piobuild.py", line 120: env.BuildFrameworks(env.get("PIOFRAMEWORK")) File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(*nargs, *kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piobuild.py", line 328: env.ConvertInoToCpp() File "/root/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py", line 737: return self.method(nargs, **kwargs) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/pioino.py", line 238: out_file = c.convert(ino_nodes) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/pioino.py", line 86: return self.process(contents) File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/pioino.py", line 107: assert self._gcc_preprocess(contents, out_file)
2022-10-25T19:22:08.387Z compile ========================= [FAILED] Took 87.87 seconds =========================
2022-10-25T19:22:08.404Z compile
2022-10-25T19:22:08.406Z compile Environment Status Duration
tasmota32 FAILED 00:01:27.870 ==================== 1 failed, 0 succeeded in 00:01:27.870 ====================
2022-10-25T19:22:08.641Z compile Finished. Exit code: 1. ` Please could you give an advice to solve the problem. Thanks Roman