<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I sent a pull request with newest version for the Kia Soul. Have removed MIN and MAX and uses sys/param.h instead.<div class=""><br class=""></div><div class="">Geir <br class=""><div><br class=""><blockquote type="cite" class=""><div class="">5. jan. 2018 kl. 02:05 skrev Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Three reasons for working on IDF 3.0 now:<div class=""><br class=""></div><div class=""><ol class="MailOutline"><li class="">We’ll need it for PSRAM support, should we go that route.</li><li class="">It is the latest bootloader, and includes firmware checksum support (it is hard to OTA update the bootloader).</li><li class="">If Espressif fix the SDCARD issue (assuming it is fixable in software), they will most likely fix it in that branch.</li></ol></div><div class=""><br class=""></div><div class="">We’re still working with Espressif on SDCARD vs flash >4MB. Response is less than exciting. They made a board to try to recreate the problem, but put a 4MB flash on it and not surprisingly couldn’t repeat the issue. We keep telling them to try with a 16MB flash, but it is like talking to a brick wall. Or perhaps a brick wall at the other end of a pitch black room with no echo. Very frustrating.</div><div class=""><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""></div><div class=""><span id="cid:B501BF31-00BF-4C38-BF64-16F1C972F196"><test_board.jpeg></span></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 5 Jan 2018, at 5:20 AM, Michael Balzer <<a href="mailto:dexter@expeedo.de" class="">dexter@expeedo.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Stephen,<br class=""><br class="">sys/param.h was not included previously. As the definitions match, I can use those. Or add an #ifndef / #undef.<br class=""><br class="">As you're compiling with v3 already: are the SD card issues solved with that release?<br class=""><br class="">Regards,<br class="">Michael<br class=""><br class=""><br class="">Am 04.01.2018 um 22:01 schrieb Stephen Casner:<br class=""><blockquote type="cite" class="">Michael and Geir,<br class=""><br class="">Can you please see whether the definitions of MIN and MAX in your<br class="">files are needed? These macros are defined in:<br class=""><br class="">esp-idf/components/newlib/include/sys/param.h<br class=""><br class="">which gets included from ovms_config.h and perhaps other places.<br class=""><br class="">When I'm compiling with release v3.0 the redefinition of these macros<br class="">shows up as a warning. It would be possible to ignore the warning and<br class="">it might also be possible to turn off the warnings by changing the<br class="">configuration, but if the definitions are not needed this would be<br class="">cleaner.<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=""><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br class=""></blockquote><br class="">-- <br class="">Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<br class="">Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<br class=""><br class=""><br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class=""><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br class=""></div></div></blockquote></div><br class=""></div></div>_______________________________________________<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></blockquote></div><br class=""></div></body></html>