SnapDragonfly / SnapAirUnit

SnapAirUnit aims to provide an basic kit connecting open-source flight controller and snap/python programming language.
GNU General Public License v3.0
1 stars 2 forks source link

Debug console (back door for system debug and monitor through usb2serial) #6

Closed lida2003 closed 1 year ago

lida2003 commented 1 year ago

debug console (back door for system through usb2serial)

Something simmilar as cli commands.

lida2003 commented 1 year ago

Well, ram is critical...... :(

personality_v0 -u cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -lgcc esp-idf/cxx/libcxx.a -u cxx_fatal_exception -L "/home/daniel/Work/esp-idf-v5.0/components/esp_phy/lib/esp32" -u include_esp_phy_override -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc -u vfs_include_syscalls_impl -L "/home/daniel/Work/esp-idf-v5.0/components/esp_wifi/lib/esp32" && : /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: SnapAirUnit.elf section .iram0.text' will not fit in regioniram0_0_seg' /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: IRAM0 segment data does not fit. /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: region `iram0_0_seg' overflowed by 552 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/daniel/Work/SnapAirUnit/build/log/idf_py_stderr_output_140773 and /home/daniel/Work/SnapAirUnit/build/log/idf_py_stdout_output_140773

lida2003 commented 1 year ago

Help + nvs debug commands for the moment. log.txt