Victor Chavez
Victor Chavez
What I meant with (2) is that I load a gdb python script with `source my_gdb_py_script.py`. Afterward, I activate the script by sending a custom command to GDB (loaded from...
I did some quick tests and from the profiling, I see that what takes most of the time is IoManager.py:104(_get_responses_windows) Makes sense as it has to wait for the response...
I did also a test for the Method (2) I mentioned above, where the only thing I send through stdin of the python `Subprocess.PIPE` is the custom python gdb command...
I am interested in contributing to this feature but it would be nice if I could get the following info from the devs/mantainers: - Which source files are related to...
What about an alternative for std::function such as discussed by Mikael Rosbacke in his [presentation ](https://www.youtube.com/watch?v=hbx0WCc5_-w) "Embedded friendly std::function alternative". [Github repo](https://github.com/rosbacke/delegate)
Just to continue the discussion, referring to the [comment ](https://github.com/arduino/ArduinoCore-avr/pull/467#issuecomment-1064508869) from @PaulStoffregen on another pull request in the avr core. > This example code calls Serial.print() from within the callback,...
>it neatly wraps both in a single value and handles the packing and unpacking so you can just pass a (stored) lambda and/or method pointer and not deal with the...
Another alternative is the Embedded Template Library, which is similar to the delegate repository I talked about. https://www.etlcpp.com/delegate.html It has the delegate template as well and is already ported to...
thanks for the update, I was not sure if it was just on my machine.
I am also interested to know if this feature is still on the roadmap of the Arduino project? Most building systems/IDE's provide an option to include additional paths to compile...