No Description

etisab b928f62b36 yes I know how bad this is but its so damn practical 10 years ago
3d_models 7f211e5fca updated 3D model with new components, more joinery detail 10 years ago
BUILD 40a4f5f4e1 creating files during runtime seems disastrous 10 years ago
TEST afdf65c9b7 HTTPS test script (committing api token dgaf) 10 years ago
configuration test scripts fa673147a6 more stable button response, moved to pin D6 10 years ago
firmware ad3d9a1ba4 rename firmware dir 10 years ago
proto_api_keys b928f62b36 yes I know how bad this is but its so damn practical 10 years ago
.gitignore 5fba3c185d ignore test dirs 10 years ago
README.md 763626f363 important build note 10 years ago
image.jpg fa673147a6 more stable button response, moved to pin D6 10 years ago
index_unminified.html 5d187e20dc MINI-ER 10 years ago

README.md

OSX ESP firmware build notes

error: unknown type name 'ptrdiff_t' when installing pass-2 core C compiler.

Solution: https://github.com/pfalcon/esp-open-sdk/issues/45 delete define/endef statements

Relevant output

Xtensa toolchain is built, to use it:

export PATH=/Users/aria/code/espbuild/esp-open-sdk/xtensa-lx106-elf/bin:$PATH

Espressif ESP8266 SDK is installed. Toolchain contains only Open Source components To link external proprietary libraries add:

xtensa-lx106-elf-gcc -I/Users/aria/code/espbuild/esp-open-sdk/sdk/include -L/Users/aria/code/espbuild/esp-open-sdk/sdk/lib

Flashing

/Users/aria/code/espbuild/esp-open-sdk/esptool

python esptool.py -p /dev/tty.SLAB_USBtoUART write_flash 0x00 /opt/Espressif/nodemcu-firmware/bin/0x00000.bin etc

other notes

RELEVANT - USE 1.5.1 ONLY: https://github.com/nodemcu/nodemcu-firmware/issues/719

Building with default modules + debug causes luatool to fail with 'stdin:1: attempt to call field 'open' (a nil value)' since it seems file.open isn't defined. Rebuilt with fewer modules + debug and file upload seems to work fine. Did the build... just run out of space and truncate the image?