Open source Licence
-
@livius said in Open source Licence:
@LoneTech
If you or someone have same guide for Windows :)
-
@LoneTech
If you or someone have same guide for Windows :)
-
In case anyone finds it helpful I mirrored the html docs from esp-idf on my webserver at https://www.tiny-dev.com/esp32/
-
@LoneTech Great stuff! Have fun!
-
Great news! I've cloned a copy and managed to build what appears to be a LoPy firmware.
Rough steps performed:
Get ESP32 compiler toolchain per instructions at https://github.com/pycom/pycom-esp-idf/blob/master/docs/linux-setup.rst (there exist instructions for other platforms too), adding commands xtensa-esp32-elf-gcc etc to PATH
Cloned Pycom's IDF and micropython repositories, settingexport IDF_PATH=~/LoPy/pycom-esp-idf
(adjust path to where you placed it)
Enter micropython repo directory for ESP32:cd pycom-micropython/esp32/
Workaround for unexpected Makefile behaviour:ln -s ../lib bootloader/lib
(this shouldn't be needed, probably should change -Lbootloader/lib to -Llib in Makefile, alternatively make sure it builds bootloader variants of libraries)
Build firmware:make BOARD=LOPY LORA_BAND=USE_BAND_868
New firmware is saved inbuild/LOPY/release/appimg.bin
A warning produced by the build suggests that it did newline conversion on a PDF. That's going to end badly as it's a binary format, though it's a packaging issue and doesn't affect building the firmware itself.
Looking good so far, though it'll take a little while to find where I can touch it up. Expect a pull request or two in the future. :)
P.S. After
curl --disable-epsv --ftp-pasv -T build/LOPY/release/appimg.bin ftp://micro:python@ESP_00C2C6//flash/sys/appimg.bin
my LoPy saidMicroPython e2cc46a-dirty on 2016-11-15; LoPy with ESP32
:)
-
Nice news!
-
@Fred : Thank you very much! Having the code answers many of the questions I have been thinking about asking. Great work to all. I know it's been a long haul. Keep up the good work!