volkhin / nixie-timer

ESP32 based timer with Alexa Gadgets Toolkit
MIT License
13 stars 4 forks source link

memory #3

Open SamMcCormick61 opened 4 years ago

SamMcCormick61 commented 4 years ago

Hi

Thank you for your great effort in providing this code.

However, I am having a few issues.

I have tried compiling in Windows and Linux via the ESP_IDF idf.py build command.

In windows (after installing btstack) it compiles, flashes and runs ok.

When compiling in Linux (in Unbunto via windows Linux subsystem)

I get a memory error `dram0_0_seg' overflowed by 2240 bytes. Tried it using plain idf.py and also with ninja installed.

I am not an expert in c or compiling c (just good at following instructions) Am I missing some steps something when try to compile your program?

Thanks in advance Sam

home/sam/esp/nixie-timer/components/spiffs/list.c:152: multiple definition of list_remove'; esp-idf/bt/libbt.a(list.c.obj):/home/sam/esp/esp-idf/components/bt/common/osi/list.c:160: first defined here /home/sam/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/spiffs/libspiffs.a(list.c.obj): in functionlist_next': /home/sam/esp/nixie-timer/components/spiffs/list.c:206: multiple definition of list_next'; esp-idf/bt/libbt.a(list.c.obj):/home/sam/esp/esp-idf/components/bt/common/osi/list.c:228: first defined here /home/sam/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: volkhin_nixie_timer.elf section.dram0.bss' will not fit in region dram0_0_seg' /home/sam/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit. /home/sam/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit. /home/sam/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: regiondram0_0_seg' overflowed by 2240 bytes collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. sam@SAM-PC:~/esp/nixie-timer$

SamMcCormick61 commented 4 years ago

I reinstalled esp-idf with btstack and managed to get it all working. no need to reply.