<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Stephen,<div class=""><br class=""></div><div class="">I am simply using ‘HEAD’ from esp-idf github (MASTER branch). IDF code is still changing quite a lot, and it seems simpler to just keep in pace with their bleeding edge (at least while we are still in development mode). For something more stable, the v2.1 branch also seems fine.</div><div class=""><br class=""></div><div class="">Code here:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><a href="https://github.com/espressif/esp-idf.git" class="">https://github.com/espressif/esp-idf.git</a></blockquote><div class=""><br class=""></div><div class="">API reference here:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><a href="https://esp-idf.readthedocs.io/en/latest/" class="">https://esp-idf.readthedocs.io/en/latest/</a></blockquote><div class=""><br class=""></div><div class="">For those with DEVKIT-C, that can also be used for OVMS v3 framework development. You can use it as is (by using menuconfig to set 4MB flash and disable OTA feature).</div><div class=""><br class=""></div><div class="">Alternatively, you can put DEVKIT-C on a breadboard with a <a href="https://www.aliexpress.com/item/W25Q128-25Q128FVAIG-New-authentic-W25Q128FVDAIG-SPI-FALSH-DIP-8PIN-300MIL-128M-bit-16M-byte-Winbond-W25Q128FV/1772836905.html?spm=2114.13010608.0.0.hkAt9E" class="">Winbond W25Q128 16MB</a> flash chip (to make it behave like a standard OVMS v3 16MB arrangement). If you want to play with CAN on DEVKIT-C, you’ll need a <a href="https://www.aliexpress.com/item/24PCS-6Mhz-8Mhz-12Mhz-16Mhz-20Mhz-32Mhz-Mhz-Crystal-Oscillator-HC-49S-each-4pcs/32412045228.html?spm=2114.13010608.0.0.8iCkpy" class="">16MHz crystal</a>, a <a href="https://www.aliexpress.com/item/SN65HVD230-CAN-bus-transceiver-communication-module-for-arduino/32686393467.html?spm=2114.13010608.0.0.OgM0uT" class="">SN65HVD230 3.3v transceiver</a>, and a few simple passive components. Really not hard.</div><div class=""><br class=""></div><div class="">I don’t think the code will ever be at a level I’m 100% happy with it, but what I have now is a good start and ready for other people to have a look at, comment, and add to. I’ve just had to spend so much time on the hardware and peripheral validation, I haven’t had much of a chance to bring that code over as libraries to the main framework (and my test code is messy/hacky as hell). Anyway, I’ll tidy up what I can over this weekend, and publish Monday latest:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3</a></blockquote><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""></div><div class="">P.S. For those of you who want to play with the ESP32 module in general (for other projects), I can highly recommend the <a href="https://www.aliexpress.com/item/ESP32-test-board-small-batch-burn-fixture-for-Le-Xin-ESP-WROOM-32-module/32802723152.html?spm=2114.13010608.0.0.NEV0WU" class="">test boards that have started to appear</a> - these things allow you to click in the ESP32 WROOM32 module directly, for flashing, burning fuses, and general play, without soldering. The <a href="https://www.aliexpress.com/item/ESP-WROOM-32-ESP32-ESP-32S-Bluetooth-and-WIFI-Dual-Core-CPU-with-Low-Power-Consumption/32801223509.html" class="">ESP32 WROOM modules</a> themselves now are under US$6, and <a href="https://www.aliexpress.com/item/MH-ET-LIVE-ESP32-Development-Board-WiFi-Bluetooth-Ultra-Low-Power-Consumption-Dual-Core-ESP-32/32813121497.html" class="">Devkit-C style clones</a> are about US$1 more.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 30 Jun 2017, at 8:12 AM, Stephen Casner <<a href="mailto:casner@acm.org" class="">casner@acm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Mark, what version of ESP-IDF are you using for the framework<br class="">preparation? We need to install the same in order to be ready to take<br class="">in code and add to it.<br class=""><br class=""> -- Steve<br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></div></blockquote></div><br class=""></div></body></html>