Cannot Build
justin-luoma opened this issue · 2 comments
justin-luoma commented
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
@justin-luoma please build under IDF 4.4 or IDF 5.0
leeebo commented
@justin-luoma Please try with the latest commit, have tested it