We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NA
Arduino ESP32 Feather
latest master (checkout manually)
PlatformIO
Win11
80Mhz
no
115200
I noticed in ESP8266 that they have changed their new calls to new(std::nothrow). This could prevent some crashes in our libraries.
See esp8266/Arduino@6925982
cbuf is one of the libraries that was fixed.
#include "Arduino.h" #include "cbuf.h" void setup() { cbuf *p = new cbuf(128); p->resize(100); } void loop() { }
Crash on low memory
No response
The text was updated successfully, but these errors were encountered:
Draft PR opened. For the example cases corrected, it may make more sense to convert from new to malloc.
new
malloc
Sorry, something went wrong.
I have decided not to do this at this time.
No branches or pull requests
Board
NA
Device Description
NA
Hardware Configuration
Arduino ESP32 Feather
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Win11
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
115200
Description
I noticed in ESP8266 that they have changed their new calls to new(std::nothrow). This could prevent some crashes in our libraries.
See esp8266/Arduino@6925982
cbuf is one of the libraries that was fixed.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: