Skip to content

[BUG] Issues compiling for ESP32-Wrover. #37

@spitfire

Description

@spitfire

I've tried to run compilation with your firmware-flash.bat script. I have no experience with arduino itself (only used it via ESPHome), how do I install missing stuff?

C:\Users\mieszko\GitHub\Flipper-Zero-Camera-Suite>firmware-flash.bat
┏┓   ┓    ┏┳┓  ┓
┃ ┏┓┏┫┓┏   ┃ ┏┓┃┏┓┏┓┏┓
┗┛┗┛┗┻┗┫   ┻ ┗┛┗┗ ┛┗┗
       ┛  https://github.com/CodyTolene

Flipper Zero - ESP32-CAM Firmware Flasher - Windows 10+
https://github.com/CodyTolene/Flipper-Zero-Camera-Suite

------------------------------------------------------------------------------
Before you begin please make sure your Flipper Zero is plugged into your PC.
Then on your Flipper Zero, open the GPIO menu and select USB-UART Bridge. In
the USB-UART Bridge config menu, make sure the following configuration is set:
- USB Channel = 1 (on newer firmware)
- Baudrate = Host
- UART Pins = 13,14
- RTS/DTR Pins = None
------------------------------------------------------------------------------

Press any key to continue . . .

Initializing...
Checking configs...
Fetching assets...
Assets already installed. Skipping...
Install to default AI-Thinker ESP32-CAM board with FQBN 'esp32:esp32:esp32cam'? (Y/N): y

Compiling firmware, this will take a moment...

In file included from c:\users\mieszko\appdata\local\temp\arduino-cli\data\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\string:41,
                 from c:\users\mieszko\appdata\local\temp\arduino-cli\data\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39,
                 from c:\users\mieszko\appdata\local\temp\arduino-cli\data\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\array:39,
                 from c:\users\mieszko\appdata\local\temp\arduino-cli\data\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\tuple:39,
                 from c:\users\mieszko\appdata\local\temp\arduino-cli\data\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\functional:54,
                 from C:\Users\mieszko\AppData\Local\Temp\arduino-cli\data\packages\esp32\hardware\esp32\2.0.14\cores\esp32/HardwareSerial.h:49,
                 from C:\Users\mieszko\AppData\Local\Temp\arduino-cli\data\packages\esp32\hardware\esp32\2.0.14\cores\esp32/Arduino.h:184,
                 from C:\Users\mieszko\AppData\Local\Temp\arduino\sketches\26F6772AB900998463D0FE4FC6F8B8E4\sketch\firmware.ino.cpp:1:
c:\users\mieszko\appdata\local\temp\arduino-cli\data\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\bits\allocator.h:46:10: fatal error: bits/c++allocator.h: No such file or directory
 #include <bits/c++allocator.h> // Define the base class to std::allocator.
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: fwA firmware bug reporthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions