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

Added CAN support + registry persisting #24

Merged
merged 27 commits into from
Nov 6, 2024

Conversation

serges147
Copy link
Collaborator

@serges147 serges147 commented Nov 1, 2024

  • Added CAN transport instantiation in addition to UDP. First try CAN, and if it fails then UDP.
  • uavcan.upd.iface & uavcan.can.iface now persisted
  • Added support of 2 new commands
    • 🔔 COMMAND_IDENTIFY
    • 💾 COMMAND_STORE_PERSISTENT_STATES
  • Added generation (and persisting) of unique node id
  • Added also
    • persisting uavcan.node.id register
    • CYPHAL__NODE__ID env var
  • Set default PMR, so that default behavior of std::pmr::polymorphic_allocator stays with specific memory resource (instead of default "new/delete" one)

@serges147 serges147 self-assigned this Nov 1, 2024
@serges147 serges147 changed the title Added platform storage demo impl Added CAN support + registry persisting Nov 1, 2024
@serges147 serges147 marked this pull request as ready for review November 1, 2024 16:26
serges147 and others added 4 commits November 4, 2024 14:05
- persisting `uavcan.node.id` register
- `CYPHAL__NODE__ID` env var
Base automatically changed from sshirokov/string to issue/libcyphal_20 November 5, 2024 09:24
…ov/reg_storage

# Conflicts:
#	libcyphal_demo/src/application.cpp
#	libcyphal_demo/src/application.hpp
#	libcyphal_demo/src/main.cpp
#	libcyphal_demo/src/platform/linux/can/can_media.hpp
#	libcyphal_demo/src/platform/posix/udp/udp_media.hpp
@serges147 serges147 merged commit 3012edd into issue/libcyphal_20 Nov 6, 2024
5 checks passed
@serges147 serges147 deleted the sshirokov/reg_storage branch November 6, 2024 11:02
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