GithubHelp home page GithubHelp logo

Comments (4)

Smeat avatar Smeat commented on May 14, 2024

Are you using v1.0 or the current master? What else did you change in the configuration, besides activating bluetooth?
I had some problems with bluetooth the last time I tested it, so you might try and disable that to see if that fixes the problem

from chorus32-esp32laptimer.

Peschi90 avatar Peschi90 commented on May 14, 2024

iam using the current master but flashed it over arduino Software. When i deactivate bluetooth the i can connet to the wifi and get the settings page. i get this issue only if i activate the bluetooth in the hardwareconfig.h file. i only uncommend the bluetooth part and change the board settings inisde arduino software to "huge app"
the bluetooth connection is working with the app only the range is really poor.

from chorus32-esp32laptimer.

Smeat avatar Smeat commented on May 14, 2024

Then I am guessing this is the same problem I encountered (Smeat#7)
The Bluetooth stack is quite large and it seems we are running out of memory when we are using Bluetooth.
Unfortunately I can't say when to expect a fix for that. For now you'll have to disable Bluetooth.

Edit: Yes, same crash:
0x401b230d: operator new[](unsigned int) at /builds/idf/crosstool-NG/.build/src/gcc-5.2.0/libstdc++-v3/libsupc++/new_opv.cc:32

With bluetooth there are about 40kb left on the heap and crashes at about 28kb left.
Without bluetooth we have 160kb and drops to 100kb while loading the webpage and then going up again

Might be fixable with adding compression or modifying the webserver or bluetooth source.
But we should definitely prevent crashing in this situation.
All other code we have should be statically allocated, so a low heap should not affect them

from chorus32-esp32laptimer.

Peschi90 avatar Peschi90 commented on May 14, 2024

Memory could definetly be the problem. Sometimes if the Bluetooth connection lost because of range the chorus 32 stuck completely. I think you're right.

from chorus32-esp32laptimer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.