You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ah, interesting. The compiler chose void set(Value& dst, const Container& src) over inline void set(Value& dst, const std::string_view string) because it doesn't require an implicit conversion std::string -> std::string_view. We need to help the compiler choose the correct overload. To do that, we can either use SFINAE, or to add an explicit overload for string. The latter is a bit easier, so please add something roughly like this:
examples/OpenCyphal-Blink RAM for global variables
%
examples/OpenCyphal-Heartbeat-Publisher flash
%
examples/OpenCyphal-Heartbeat-Publisher RAM for global variables
%
examples/OpenCyphal-Heartbeat-Subscriber flash
%
examples/OpenCyphal-Heartbeat-Subscriber RAM for global variables
%
examples/OpenCyphal-Service-Client flash
%
examples/OpenCyphal-Service-Client RAM for global variables
%
examples/OpenCyphal-Service-Server flash
%
examples/OpenCyphal-Service-Server RAM for global variables
%
rp2040:rp2040:arduino_nano_connect
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
rp2040:rp2040:rpipico
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
Click for full report CSV
Board,examples/OpenCyphal-Blink<br>flash,%,examples/OpenCyphal-Blink<br>RAM for global variables,%,examples/OpenCyphal-Heartbeat-Publisher<br>flash,%,examples/OpenCyphal-Heartbeat-Publisher<br>RAM for global variables,%,examples/OpenCyphal-Heartbeat-Subscriber<br>flash,%,examples/OpenCyphal-Heartbeat-Subscriber<br>RAM for global variables,%,examples/OpenCyphal-Service-Client<br>flash,%,examples/OpenCyphal-Service-Client<br>RAM for global variables,%,examples/OpenCyphal-Service-Server<br>flash,%,examples/OpenCyphal-Service-Server<br>RAM for global variables,%
rp2040:rp2040:arduino_nano_connect,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
rp2040:rp2040:rpipico,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
examples/OpenCyphal-Blink RAM for global variables
%
examples/OpenCyphal-Heartbeat-Publisher flash
%
examples/OpenCyphal-Heartbeat-Publisher RAM for global variables
%
examples/OpenCyphal-Heartbeat-Subscriber flash
%
examples/OpenCyphal-Heartbeat-Subscriber RAM for global variables
%
examples/OpenCyphal-Service-Client flash
%
examples/OpenCyphal-Service-Client RAM for global variables
%
examples/OpenCyphal-Service-Server flash
%
examples/OpenCyphal-Service-Server RAM for global variables
%
rp2040:rp2040:arduino_nano_connect
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
rp2040:rp2040:rpipico
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
Click for full report CSV
Board,examples/OpenCyphal-Blink<br>flash,%,examples/OpenCyphal-Blink<br>RAM for global variables,%,examples/OpenCyphal-Heartbeat-Publisher<br>flash,%,examples/OpenCyphal-Heartbeat-Publisher<br>RAM for global variables,%,examples/OpenCyphal-Heartbeat-Subscriber<br>flash,%,examples/OpenCyphal-Heartbeat-Subscriber<br>RAM for global variables,%,examples/OpenCyphal-Service-Client<br>flash,%,examples/OpenCyphal-Service-Client<br>RAM for global variables,%,examples/OpenCyphal-Service-Server<br>flash,%,examples/OpenCyphal-Service-Server<br>RAM for global variables,%
rp2040:rp2040:arduino_nano_connect,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
rp2040:rp2040:rpipico,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As suggest by @pavel-kirienko over here.
Unfortunately leads to a really ugly error message ...
CC @generationmake