Thanks for starting this project. I have some trouble finishing the build instructions on the wiki.
I have set up the esp-idf toolchain, and their hello_world example builds fine.
In the mk32 folder I run make flash ESPPORT=/dev/tty/USB0
but I receive an error for undefined reference to __memset_chk. I'm suspecting my versions are a little off. Do you have any indication of what should be set to get rid of the error?
Thanks in advance.
Full output:
Toolchain path: /home/casper/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r2
Compiler version: 8.2.0
Python requirements from /home/casper/projects/esp/esp-idf/requirements.txt are satisfied.
LD build/bootloader/bootloader.elf
/home/casper/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/casper/projects/esp/MK32/build/bootloader/bootloader_support/libbootloader_support.a(bootloader_init.o):(.literal.bootloader_clear_bss_section+0x8): undefined reference to `__memset_chk'
/home/casper/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/casper/projects/esp/MK32/build/bootloader/bootloader_support/libbootloader_support.a(bootloader_init.o): in function `bootloader_clear_bss_section':
/home/casper/projects/esp/esp-idf/components/bootloader_support/src/bootloader_init.c:36: undefined reference to `__memset_chk'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/casper/projects/esp/esp-idf/make/project.mk:564: /home/casper/projects/esp/MK32/build/bootloader/bootloader.elf] Error 1
make: *** [/home/casper/projects/esp/esp-idf/components/bootloader/Makefile.projbuild:41: /home/casper/projects/esp/MK32/build/bootloader/bootloader.bin] Error 2
Thanks for starting this project. I have some trouble finishing the build instructions on the wiki. I have set up the esp-idf toolchain, and their hello_world example builds fine.
In the mk32 folder I run
make flash ESPPORT=/dev/tty/USB0
but I receive an error for undefined reference to__memset_chk
. I'm suspecting my versions are a little off. Do you have any indication of what should be set to get rid of the error? Thanks in advance.Full output:
Edit:
5.6.16-1-MANJARO