I was building code with these mos.yml parameters
build_vars:
MGOS_ROOT_FS_SIZE: 524288 # 512kB = 0x80000
APP_SLOT_SIZE: 3145728 # 3072kB = 0x200000
ESP_IDF_SDKCONFIG_OPTS: >
${build_vars.ESP_IDF_SDKCONFIG_OPTS}
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
CONFIG_ESP32_CORE_DUMP_MAX_TASKS_NUM=80
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_1=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=y
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
It was a stable build for my previous versions of the mos tool but after the recent update, it’s not building my fw.zip file.
It is showing an error as…
LD /data/fwbuild-volumes/2.19.0/apps/pub_log_01_2021_optimized/esp32/build_contexts/build_ctx_259652374/build/objs/pub_log_01_2021_optimized.elf
/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /data/fwbuild-volumes/2.19.0/apps/pub_log_01_2021_optimized/esp32/build_contexts/build_ctx_259652374/build/objs/mosapp/libmosapp.a(mgos_freertos_core_dump.c.o):(.text.mgos_freertos_core_dump+0x20): undefined reference to `mgos_freertos_extract_regs'
/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /data/fwbuild-volumes/2.19.0/apps/pub_log_01_2021_optimized/esp32/build_contexts/build_ctx_259652374/build/objs/mosapp/libmosapp.a(mgos_freertos_core_dump.c.o): in function `mgos_freertos_core_dump':
/data/fwbuild-volumes/2.19.0/apps/pub_log_01_2021_optimized/esp32/build_contexts/build_ctx_259652374/deps/freertos/src/mgos_freertos_core_dump.c:40: undefined reference to `mgos_freertos_extract_regs'
collect2: error: ld returned 1 exit status
As you can see I’m using ESP32 - 8MB and I just want to start my esp as soon as it crashes… because I’m still handling every issue with my firmware.
let me know if I’m missing any dependency…
@nliviu @scaprile