Changes in branch ESP32-v3.0 (disable/enable BLE and Wifi) #7093
Replies: 1 comment
-
Posted at 2018-06-01 by @gfwilliams Thanks! Looks good! Do you think you could:
I'm happy to make those changes if you want me to though. Posted at 2018-06-01 by JumJum Please feel free to make any changes. Posted at 2018-06-01 by @gfwilliams Ok, just done - and I brought it up to date as well Posted at 2018-06-02 by Wilberforce Thanks for this guys. I've pulled and done a build.... The vars have increased after:
The last message suggests that some intialisation code is still running? The NRF object is still visible - I'm not sure if this is an issue or not. Do you want to continue the conversation here or on github? Posted at 2018-06-02 by JumJum @wilberforce, lets go to github for next changes, thats ok for me. Short and quick answer here.
Posted at 2018-06-02 by Wilberforce With regards to the hot chip - normally there is no heat when you touch with a finger and when I tried the ble firmware first time - it felt slightly warm - nothing to be concerned about! Posted at 2018-06-04 by Frida http://forum.espruino.com/conversations/320632/#comment14237159 Posted at 2018-06-04 by @gfwilliams 120 degrees C??? wow, I'm impressed it even works at that. I'm impressed it even senses temperatures that high! Do you have any others that do it? It could just be your board/chip is faulty. Posted at 2018-06-05 by JumJum The only way to get temperature on ESP32 is a sensless function. Posted at 2018-06-05 by Frida Yes, I read about it afterwards. Posted at 2018-06-05 by Frida The last downloaded version is espruino_1v99.36_esp32.tgz, but it shows something else when I reset.
Posted at 2018-06-06 by @gfwilliams You mean the The fact that it's reporting Can you check Posted at 2018-06-06 by JumJum Hmm, your screenshot shows some strange words (danish ?) Posted at 2018-06-06 by Frida Sorry, it was my fault, I did not change folders in my batch file, so I flashed an older version, now it's okay.
Posted at 2018-06-06 by @gfwilliams Glad it's sorted. Having said that I took a look at the Travis builds anyway and it was possible for other people's GitHub code to get uploaded there by Travis (if they'd set up Travis or made a Pull Request) and I have now fixed that and deleted the offending files. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-06-01 by JumJum
Bluetooth on ESP32 eats a lot of memory. Only 2500 JsVars are available with Bluetooth and Wifi.
Just pushed a version to branch ESP-v3.0 with new commands to bypass this problem for those that need more memory instead of BLE or Wifi :
Default is BLE and Wifi are enbaled.
If you don't need one of them in your application:
From now on, the board starts according to enabled/disabled protocols.
To go back to original, you can flash all memory, or use the ESP32.enable-functions with true.
To get this function running, a new mode for allocationg memory for JsVars is added. Please see ESP32.py in boards directory.
@gfwilliams, could you please take a closer look to changes in jsvar.h and jsvar.c
@wilberforce, I've never had the problem with hot chips, could you please check with your boards
Beta Was this translation helpful? Give feedback.
All reactions