Code: Select all
CONFIG_FREERTOS_UNICORE=y
Code: Select all
ports/esp32 $ make BOARD=GENERIC_UNICORE
ports/esp32 $ python3 -m esptool --chip esp32 --port /dev/ttyUSB0 write_flash -z 0x1000 build-GENERIC_UNICORE/bootloader/bootloader.bin 0x8000 build-GENERIC_UNICORE/partition_table/partition-table.bin 0x10000 build-GENERIC_UNICORE/micropython.bin
Code: Select all
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4540
ho 0 tail 12 room 4
load:0x40078000,len:12364
load:0x40080400,len:4140
entry 0x40080680
/usr/local/bin/esp-idf/components/freertos/tasks.c:1070 (prvAddNewTaskToReadyList)- assert failed!
abort() was called at PC 0x40094482 on core 0
Backtrace:0x4009357e:0x3ffb71d0 0x40093c21:0x3ffb71f0 0x400975fa:0x3ffb7210 0x40094482:0x3ffb7280 0x40094621:0x3ffb72a0 0x400d4bc2:0x3ffb72e0 0x400d350f:0x3ffb7310
ELF file SHA256: 33ea2d6c4c0ba2c3
Rebooting...
this page, which indicates that the poster's issue was due to FreeRTOS unicore mode being enabled when they tried to start a task in Core 1. Is this potentially what is happening here too? What might I need to do to find the root cause of this issue?
Here is my board definition: https://github.com/AwesomeCronk/micropy ... IC_UNICORE