espressif / esp-drone

Mini Drone/Quadcopter Firmware for ESP32 and ESP32-S Series SoCs.
GNU General Public License v3.0
830 stars 242 forks source link

Cannot Build #69

Closed justin-luoma closed 3 months ago

justin-luoma commented 3 months ago

Getting the following error when trying to build for ESP32-S2

/home/username/.espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: missing --end-group; added as last command line option
/home/username/.espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: ESPDrone.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
/home/username/.espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: region `dram0_0_seg' overflowed by 7288 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/username/code/esp/esp-drone/build/log/idf_py_stderr_output_352866 and /home/username/code/esp/esp-drone/build/log/idf_py_stdout_output_352866
leeebo commented 3 months ago

@justin-luoma please build under IDF 4.4 or IDF 5.0

leeebo commented 3 months ago

@justin-luoma Please try with the latest commit, have tested it