Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic federated support on Zephyr (#73)
* first sketch of tcp/ip bundle on unix * fixed bug in bundle and added errors * factoring out encoding and decoding of protobuf * working state with extra function to toggle blocking vs non-blocking * Add nanopb to external. USe its CMake system. Address some compiler warnings * clang-format * Move generated files out of `include` * Address all compiler warnings * Getting it to compile on Zephyr and CI * Federated dump * Removing some clang-tidy warnings and add thread_func implementation * Temporary dump * Trying to get a simple fed_conn example running * Add tag field to protobuf message * Fix typo in TcpIpBundle * Add function lf_time_add * Add simple blocking federated support without clock sync or start tag agreement or shutdown agreement. * Add makefile target to generate proto source flies * Undo change to CMakeLists * Improve protobuf structure * Dump temporary work on getting basic federation working on Zephyr * Formatting * Dump * Remove ioctl from TcpIpChannel * Make NetworkcChannel blocking. Fix some typos. Remove some debug prints. * Reorganization, works with single TCP federate * Reorganize the basic_federated Zephyr test * Add Platform_vprintf to the Platform API to let boards control logging * include logging.h in reactor-uc.h * Add some preliminary support for actions without type * Add a guard region around the stack of the TcpIpChannel receive pthread * Use Platform_vprintf in our logging system * Make sure we dont try to sleep of physical clock is already at wakup time (not only if it is passed it) * Uncomment * Add macros for federated * Make unit tests run a little shorter * Typo * CMake formatting * Port Zephyr examples to use macro-madness * Define board in Cmake * Format * Fix typo * Add flag for posix-tcp * Format * CMake * Cmake * Some debug prints * Fix minor mistakes. Typeless Actions still not supported * Make some minor edits and improve docs * Formatting * CI update clang-format * CI debug * Undo * Use ubuntu24 in CI * Final formatting * Improve Zephyr examples * Set logging to debug by default * Make physical action test more deterministic * Ops, found mistake in the port implementation * Make federated zephyr reliable by adding waits (stupid) * Format * Add error to throw() * Formatting --------- Co-authored-by: tanneberger <github@tanneberger.me> Co-authored-by: Lasse Rosenow <lasse.j.rosenow@gmail.com>
- Loading branch information