I can build and flash zephyr examples and if I used ./make-minimal it will build and flash but the full build using the following fails:
Code: Select all
make BOARD=nrf52840_pca10056
ERROR MESSAGE:
Code: Select all
[ 96%] Linking C executable zephyr_prebuilt.elf
Memory region Used Size Region Size %age Used
FLASH: 214968 B 1 MB 20.50%
SRAM: 48628 B 256 KB 18.55%
IDT_LIST: 136 B 2 KB 6.64%
/home/parallels/micropython/ports/zephyr/libmicropython.a(modzephyr.o): In function `mod_stacks_analyze':
/home/parallels/micropython/ports/zephyr/modzephyr.c:46: undefined reference to `k_call_stacks_analyze'
collect2: error: ld returned 1 exit status
zephyr/CMakeFiles/zephyr_prebuilt.dir/build.make:104: recipe for target 'zephyr/zephyr_prebuilt.elf' failed
make[3]: *** [zephyr/zephyr_prebuilt.elf] Error 1
make[3]: Leaving directory '/home/parallels/micropython/ports/zephyr/outdir/nrf52840_pca10056'
CMakeFiles/Makefile2:642: recipe for target 'zephyr/CMakeFiles/zephyr_prebuilt.dir/all' failed
make[2]: *** [zephyr/CMakeFiles/zephyr_prebuilt.dir/all] Error 2
make[2]: Leaving directory '/home/parallels/micropython/ports/zephyr/outdir/nrf52840_pca10056'
Makefile:83: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/parallels/micropython/ports/zephyr/outdir/nrf52840_pca10056'
Makefile:77: recipe for target 'all' failed
make: *** [all] Error 2