Max Prokhorov
Max Prokhorov
https://github.com/esp8266/Arduino/pull/8237 also broke this even more, so I don't mind fixing this instead of @d-a-v
2nd window has Arduino Uno board selected, you'd need to switch to esp8266 first :) *edit: and the RAM info is there on the 1st. just in a different format,...
Hm. Yeah, sorry, I missed the last part. Indeed, both 1.8.19 and arduino-cli latest build don't show anything ``` } ~\D\A\s\test> cat test.ino void setup() { } void loop() {...
Plus, adding `--show-properties` shows a path for the global packages dir instead of the one for the platform tools dir. I'd thought it would show the override instead. ```cmd >...
So, the culprit is `upload.maximum_size` property. We don't have it set for any of the available boards, and with a slight tweak I'm finally able to see the size info....
> This means it is quite tricky when clearing a string that's no longer needed. For example a buffer I'm using, which is an array of String. > > The...
If these are line entries, have you considered `std::vector` with something that checks upper boundary of `size() < LOG_STRUCT_MESSAGE_LINES`? What would be the alternative of `clear()` then, when we do...
```cpp struct Blah : public String { using String::String; using String::invalidate; }; ``` ? In case of the queue I'd still think about actually destroying the String object.
> Not sure if I like to inherit from String as that also isn't free regarding resources. Should not be a problem? We are not introducing any additional code, just...
So just make `invalidate()` public? I'd rather String did not do the opposite and magically shrinked when changing internal length