Moving to ESP-IDF release 3.0, and some Bluetooth, and .... #7098
Replies: 1 comment
-
Posted at 2018-04-25 by @gfwilliams This sounds great - thanks! I don't think OTA works on ESP32 at the moment, so I wouldn't waste time worrying about it. I imagine most users would prefer BLE to the extra few vars given the choice, and memory usage isn't such a nightmare now it's reasonably easy to upload code directly to flash. Posted at 2018-04-26 by Wilberforce Your right - the ota stuff was never completed.
At this stage I'm not sure if the esp32 ble branch builds if the BLE Makefile flags are off? I believe we should offer a build without BLE, as the increased RAM usage and power requirements might not suit everyone. Perhaps it can be one firmware with the option to turn BLE on from JavaScript? How does this sound? Posted at 2018-04-26 by Spocki sounds ble-eding good ;-) Posted at 2018-04-27 by JumJum @wilberforce, thanks for your feedback
Posted at 2018-04-27 by Wilberforce I’ve started an issue page here - it’s probably best to track there. I have done a pull request on the master branch which updated the compiler. This is done in the provision script. Will add more answers to your questions today. Posted at 2018-04-28 by Wilberforce At this stage I still can't get a build running, as it's expecting the psram, and that not available on the standard boards. I need to get the build working with a standard board and v3 before we can move on... Posted at 2018-04-28 by Spocki http://esp-idf.readthedocs.io/en/latest/api-reference/kconfig.html#spiram-support perhaps? Posted at 2018-04-29 by Wilberforce I've got a plain build with v3 and 4000 vars booting. Please see the github post above. Next step is to update the build tools so this can be part of master, then look at bring in the Bluetooth Posted at 2018-05-08 by SergeP Hi! I've tried to build ESP32 branch, and I have no success.
Posted at 2018-05-08 by Wilberforce Sorry - this stuff is in flux at the moment. I have created a new branch to resolve the issues, then will push once all the testing is done. This branch updates the tool chain and solves all the issues you are seeing. Can you wait a bit longer? If it is firmware you want to try with Ble compiled, I can provide a link for that. Posted at 2018-05-09 by SergeP Thank you. My idea is to transfer Puck.JS BLE-MQTT bridge from Raspberry-like system to ESP32 and use one of public MQTT services with it. It may be cheap and simple solution. Posted at 2018-05-09 by Wilberforce @jumjum published a build here: You will need to use all bin files, as the partition table is different. Please note that it will be changing from what is in the firmware linked above. You might want to do a flash erase. If you do get a puck linked to the esp32 as a bridge, please start a new topic and share! Posted at 2018-06-16 by MarkT PS, as a commercial entity, OTA is critical to update client devices.. That's a showstopper if its not available. Posted at 2018-06-16 by DrAzzy What is the state of the jsvars-in-psram thing for wrover boards? What will the maximum number of jsvars be, assuming we accept that we can't fill it all the way and then save() it? There s got to be some maximum at which it needs more bits to address it than there are in the 16-byte jsvar.... Posted at 2018-06-17 by Wilberforce I think @jumjum was talking about 20,000 at one stage. Posted at 2018-06-18 by JumJum Actual ESP-IDF release supports WROOM or WROVER boards. Posted at 2018-06-18 by DrAzzy @jumjum - I'm a bit confused by that post. Is is currently possible to build for WROVER? It's not clear to me if the thing we're hoping for from Espressif is to allow WROOM or WROVER to be supported with the same binary, or if something is needed from them to support the PSRAM at all. Posted at 2018-06-18 by Wilberforce
They do support this, however it was not in the v3.0 release. It is the working branch ( unstable) at the moment. To build with wrover with the v3.0, you have to make a change to the library, and then the same binary can't used on a regular board. Posted at 2018-06-20 by Wilberforce https://github.com/espressif/esp-idf/releases/tag/v3.0.1 There is a new release - not sure if this addresses any of your concerns. I can try a build with espruino-build tools and see if it works directly or if there are other changes required. Posted at 2018-06-21 by JumJum @wilberforce Posted at 2018-06-21 by Wilberforce @jumjum Posted at 2018-06-21 by Wilberforce Please can you explain what the
Posted at 2018-06-21 by JumJum @wilberforce Posted at 2018-06-26 by Wilberforce I have updated the build tools to use esp-idf 3.0.1 Let's keep a watch here: https://github.com/espressif/esp-idf/releases There is a v3.1-beta1 there now. Should be update the old esp32 branch to current and use that? The v3.0 branch is now named incorrectly for the current v3.1. I suppose we could drop that branch and add a 3.1 that we can then advance as the beta becomes live? You mentioned Makefile and path changes that will need to be sorted. Posted at 2018-06-26 by JumJum @wilberforce, Don't know, how to get rid of this :-( Hopefully somebody out there knows, how to get rid of this Posted at 2018-06-27 by Wilberforce libmbedtls.a They might have moved it to a new location, and the Makefile, and your build, has both, so it's finding both and getting confused. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-04-25 by JumJum
For a day or so, V3.0 is released.
We've been waiting long time for this step.
My plan now is, to get Espruino running with actual sources, which are
-last not least documents
Everything will be done first in ESP32 branch.
There are some restrictions like
Once this upgrade to V3.0 is done and works fine, next steps are
Please take my plan as starting point only.
Any comments, especially from guys (hopefully) involved, are welcome.
Beta Was this translation helpful? Give feedback.
All reactions