-
Notifications
You must be signed in to change notification settings - Fork 220
Conversation
Comments and feedback at every level are more than welcome. |
You'll probably need to decrease the uPy heap, try something like 32k to start with and if it works then you know that's the problem. |
@dpgeorge thanks, I already tried that and it didn't help. I also tried allocating the MP heap dynamically (that's what we do in our repo), but no difference either. I'm sure I'm missing something really obvious so that's what I thought it'd be good to submit the PR and let others take a look :-) |
I reduced the uPy heap to 16k, and didn't update the ESP IDF (ie I didn't include your last commit), and it booted ok. But doing |
@dpgeorge ok I'll try that, thanks! |
@danicampora I compiled successfully. But I can not enter the REPL when I'm testing on the ESP-WROOM-32 development board. |
I know :-), that's why I meant with:
I tried @dpgeorge suggestion of lowering the RAM to 16K, but it didn't help with the latest IDF. |
There were lots of changes recently in the ESP IDF so it was a non-trivial upgrade, but it's now done in 67d141c. @danicampora you may want to remove from this PR the commit that updates the IDF, decrease heap size and try again. |
Taken from Pycom's ESP32 port without the callback implementation.
Thanks @dpgeorge ! I pushed another commit. Now with Bluetooth linked the board boots (and the MicroPython heap is 64K), but trying to enable Bluetooth leads to the same crash: |
linux is not compactible for micropython or requies more work on plugins |
BLE is among them |
This repository has been merged upstream, see #233. For Bluetooth, take a look here: micropython/micropython#3809 (comment) (I should probably make a real PR out of that). |
the micropython programming is validate in LIUNX enviroment does any one
tests it
best regards
bemnet adefris
…On Mon, Aug 27, 2018 at 3:19 PM Ayke ***@***.***> wrote:
This repository has been merged upstream, see #233
<#233>.
For Bluetooth, take a look here: micropython/micropython#3809 (comment)
<micropython/micropython#3809 (comment)>
(I should probably make a real PR out of that).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APM4l8LyXLf40irT787PDc9NsOfX1gazks5uVHBlgaJpZM4NCjx2>
.
|
Is anyone still working on this? |
BLE support for esp32 is being implemented upstream via the following PR: micropython/micropython#5051 |
Mostly copied from: https://github.com/pycom/pycom-micropython-sigfox
The API is described here: https://docs.pycom.io/pycom_esp32/library/network.Bluetooth.html
At the moment the board crashes immediately at boot-up inside
heap_alloc_caps_init()
. I'm still trying to figure out what's the reason of the crash, but I could use some help if anyone here wants to try this patch and help investigate.