-
Notifications
You must be signed in to change notification settings - Fork 1
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
Code-generate for federated programs #175
Conversation
But invoking CMake correctly to generate two binaries and a shell script in `bin` is not working
Memory usage after merging this PR will be: Memory Reportaction_empty_test_c
action_microstep_test_c
action_overwrite_test_c
action_test_c
deadline_test_c
delayed_conn_test_c
event_payload_pool_test_c
event_queue_test_c
nanopb_test_c
port_test_c
reaction_queue_test_c
request_shutdown_test_c
startup_test_c
tcp_channel_test_c
timer_test_c
|
Benchmark results after merging this PR: Benchmark resultsPerformance:PingPongUc: PingPongC: ReactionLatencyUc: ReactionLatencyC: Memory usage:PingPongUc: PingPongC: ReactionLatencyUc: ReactionLatencyC: |
768012b
to
fac8be9
Compare
660d6ea
to
d87c6a4
Compare
@tanneberger and @LasseRosenow this is a big PR and a big task to review it. But I hope you will take a look and give some feedback. Unfortunately the code-generator is still a little quirky trying to fit this federated generation into the existing non-federated architecture. But I think it is better to get this merged now and improve it as we go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! I have looked at the code so far and only have a few small questions :)
I will try to get a federated RIOT Coap example running and then approve :)
TODOs:
bin
together with a simple shell script to invoke them (just like reactor-c)SimpleFederate_r
for a program calledSimpleFederate.lf
and a federate instance calledr
.