bblanchon / cpp4arduino Goto Github PK
View Code? Open in Web Editor NEWSamples files for cpp4arduino.com
Home Page: https://cpp4arduino.com
Samples files for cpp4arduino.com
Home Page: https://cpp4arduino.com
Hi,
i want to try your HeapFragmentation library for my esp8266 wemos d1 mini project.
But I can't compile your HeapFragmentation lib. ummHeapInfo
is not declared. Could you help me?
Compiling .pio\build\esp12e\lib128\HeapFragmentation\MemoryInfo.Esp8266.cpp.o
lib\HeapFragmentation\MemoryInfo.Esp8266.cpp: In function 'size_t getTotalAvailableMemory()':
lib\HeapFragmentation\MemoryInfo.Esp8266.cpp:14:10: error: 'ummHeapInfo' was not declared in this scope
14 | return ummHeapInfo.freeBlocks * block_size;
| ^~~~~~~~~~~
lib\HeapFragmentation\MemoryInfo.Esp8266.cpp: In function 'size_t getLargestAvailableBlock()':
lib\HeapFragmentation\MemoryInfo.Esp8266.cpp:19:10: error: 'ummHeapInfo' was not declared in this scope
19 | return ummHeapInfo.maxFreeContiguousBlocks * block_size;
| ^~~~~~~~~~~
*** [.pio\build\esp12e\lib128\HeapFragmentation\MemoryInfo.Esp8266.cpp.o] Error 1
Hi,
Wasn't sure how else to contact you about Arduino and C++ so using this venue.
First, you might be interested in some articles I did for Hackaday on C++ and embedded systems. They used the Aruduino Uno and Due but also the Pi. There's a list here.
I keep wondering how to improve the Arduino software ecosystem and the best I can come up with is a massive open source project reworking the original code base. I shudder at how much effort it would take. I did a project recently using I2C sensors. Some libraries were great. Others were bad. The latter was not terribly surprising because the class had member functions written as xyz(void)
.
Anyway, wanted to reach out to you since we've got similar thoughts.
We have an ESP32 solution based on the Freematics Esprit.
Does your code also support ESP32?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.