Comments (5)
TinyString should not be used. Unit test are not passing on github (while they are ok on my computer, which is precisely the reason for which they should not be used).
But I take the point. This will be done once unit test are ok, but for the moment I have a lot more important to deal with the library.
Thanks for the suggestion
from tinyconsole.
You may think about upgrading to the latest version. Because I know there is a problem with TinyString. Probably a memory fault or something like this.
I've removed the dependency with TinyString in latest versions because of this.
Using TinyString is not safe. Once fixed, TinyString will save memory but yet, try to avoid it.
from tinyconsole.
The reason for my usage is the dependency in TinyMqtt. It compiles perfectly fine on my machine(s) too. And for RP2040 it compiles nicely with the suggested change.
No rush, all working here anyway.
from tinyconsole.
Can I suggest commenting or deleting in TinyConsole.h line 3 '#include "TinyString.h" ' ?
If I understand correctly then this library is not in use and TinyMqtt in the latest version compiles (and works) as expected, once this line is commented.
I have excluded TinyString from my test bed and it throws errors otherwise as it appears to attempt using TinyString from the installed 0.9.6
from tinyconsole.
Yes, 0.9.6 uses TinyString, but this is not the latest version. In fact TinyMqtt 1.0.0 is released but not handled by IDE's and this is a chance, because 1.0.0 is buggy (not revealed by unit tests :-()
TinyString makes TinyConsole unit tests fails on github, while they are running ok under Linux... Strange behaviour that makes me think about a memory corruption.
TinyString should be replaced with std::string with no error.
If I understand correctly then this library is not in use and TinyMqtt in the latest version compiles (and works) as expected, once this line is commented.
This lib is used with my roomba project (at least).
from tinyconsole.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyconsole.