Closed Maistho closed 5 years ago
You will need to #include <osapi.h>
now. This should be the case in the dev branch. Can you see if this works with dev? I need to do one more thing in dev before I can push it to master, but I'm almost there.
I received some other error when running the dev branch
If I replace LoadDefaultPartitionMapprocTaskPrio
with 0
it builds and flashes! I'm assuming it should be some other value though.
make burn
/home/maistho/prog/esp8266/esp-open-sdk-v3/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -mlongcalls -Os -I/home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/include -Iesp82xx/include -I. -Iesp82xx/fwsrc -Iuser -DICACHE_FLASH -DUSE_OPTIMIZE_PRINTF -DMFS_PAGE_OFFSET=532480 -DWEB_PORT=80 -DCOM_PORT=7777 -DBACKEND_PORT=7878 -DSLOWTICK_MS=50 -DVERSSTR='"Version: b0c4a - Build Tue, Nov 20 2018, 17:46:58 +0100 with -DICACHE_FLASH -DUSE_OPTIMIZE_PRINTF -DMFS_PAGE_OFFSET=532480 -DWEB_PORT=80 -DCOM_PORT=7777 -DBACKEND_PORT=7878 -DSLOWTICK_MS=50"' -g esp82xx/fwsrc/uart.c esp82xx/fwsrc/esp82xxutil.c esp82xx/fwsrc/flash_rewriter.c esp82xx/fwsrc/http.c esp82xx/fwsrc/commonservices.c esp82xx/fwsrc/http_custom.c esp82xx/fwsrc/mdns.c esp82xx/fwsrc/mfs.c user/custom_commands.c user/user_main.c -flto -Wl,--relax -Wl,--gc-sections -nostdlib -L/home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib -L/home/maistho/prog/esp8266/esp-open-sdk-v3/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/libgcc.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libmain.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/liblwip.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libssl.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libupgrade.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libnet80211.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libwpa.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libphy.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/liblwip.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libcrypto.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libc.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libespnow.a /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib/libpp.a /home/maistho/prog/esp8266/esp-open-sdk-v3/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/libgcc.a -T /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/ld/eagle.app.v6.ld -T /home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/ld/eagle.rom.addr.v6.ld -B/home/maistho/prog/esp8266/project/esp82xx/toolchain/esp_nonos_sdk/lib -o image.elf
user/user_main.c: In function 'user_init':
user/user_main.c:219:27: error: 'LoadDefaultPartitionMapprocTaskPrio' undeclared (first use in this function)
system_os_task(procTask, LoadDefaultPartitionMapprocTaskPrio, procTaskQueue, procTaskQueueLen);
^
user/user_main.c:219:27: note: each undeclared identifier is reported only once for each function it appears in
make: *** [esp82xx/main.mf:129: image.elf] Error 1
@AEFeinstein Do you recognize this?
Whoops. That's a typo. Just fixed. 0734fb5438bc89de21dbd188195df83ef4e8cfe5
Nice, I've got it running now. Thanks for the help! :tada:
I will merge dev into master as soon as I can!
Using
esp-open-sdk
with the patch for nonos-sdk v3.0 from this PR https://github.com/pfalcon/esp-open-sdk/pull/344I first tried using the default version (2.1.0-18-g61248df) but that didn't work.
Running esp82xx from master, fresh install of everything
I'm assuming that I've missed something and forgot to include some
.o
-file somewhere, but after reading the docs I've come up with nothing. Did I simply miss some step?Output from running
make burn