Hi, I’m working on some fixes for Dockerfile and build.sh and documenting a bit on the go: https://github.com/korpiq/esp-rs
Following is just for heads-up and FYI; I’ll continue digging into it when I have time again (likely after several weeks):
Unfortunately I seem to have hit a memory limit when trying to compile and upload for d1_mini_pro (default nodemcuv2 compiles and uploads fine but does not actually work on my wemos board):
/build/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld:
.pioenvs/d1_mini_pro/firmware.elf section '.text' will not fit in region 'iram1_0_seg'
.pioenvs/d1_mini_pro/libFrameworkArduino.a(core_esp8266_main.cpp.o):(.text._Z9init_donev+0x8):
undefined reference to `__eh_frame'
Seemingly related: https://github.com/esp8266/Arduino/issues/4551
Some of my versions:
- PlatformIO, version 3.6.4
- gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
- g++ (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
- rustc 1.33.0 (2aa4c46cf 2019-02-28)
Cheers, and thanks for the script, it got us started at least 