Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library support for flatbuffers #2252

Merged
merged 4 commits into from
Mar 10, 2021
Merged

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Mar 9, 2021

Compatible with all architectures using modern compilers.

@slaff slaff added this to the 4.3.0 milestone Mar 9, 2021
Copy link
Contributor

@mikee47 mikee47 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we include just monster.fbs and have the sample compile it?

Comment on lines 9 to 17
-#if defined(ARDUINO) && !defined(ARDUINOSTL_M_H)
- #include <utility.h>
-#else
+//#if defined(ARDUINO) && !defined(ARDUINOSTL_M_H)
+// #include <utility.h>
+//#else
#include <utility>
-#endif
+//#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove instead of comment-out ?

Comment on lines 47 to 48
builder.Finish(orc); // You could also call `FinishMonsterBuffer(builder,
// orc);`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need to split comment


#include <flatbuffers/flatbuffers>

Or directly the header file generated from the `flatc` compiler.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...Or directly use the header...

@@ -0,0 +1,2 @@
COMPONENT_INCDIRS := src/include
COMPONENT_SUBMODULES := src
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline at end of file?

}


Furher reading
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Further

@slaff slaff requested a review from mikee47 March 9, 2021 12:27
@slaff slaff removed the 3 - Review label Mar 10, 2021
@slaff slaff merged commit 26645ca into SmingHub:develop Mar 10, 2021
@slaff slaff mentioned this pull request Mar 17, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants