Provide "--target-language Arduino" for generating Arduino headers from DSDL

Open
#179 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, python
Domain
build-system

Research direction

Read the Nunavut generator entry point and the existing language backends, then compare their generated output with the Arduino wrappers in 107-Arduino-UAVCAN. The issue calls for a new --target-language Arduino backend that generates headers from DSDL; done means the generated headers provide the serialization and deserialization behavior currently supplied by those wrappers.

Written by the indexing model from the issue text.

Description

under consideration

107-Arduino-UAVCAN is an Arduino library which allows to quickly create your own UAVCAN nodes following a beginner-friendly API paradigm.

So far serialisation and deserialisation has been implemented by wrapping the nunavut generated C headers (e.g. Heartbeat_1_0.h) into Arduino wrappers (e.g. Heartbeat.1.0.hpp). As manually encoding this types is no longer sustainable those Arduino headers would need to be automatically generated directly from the DSDL (e.g. the official DSDL stored in public_regulated_data_types).

Dominant language
Python
Stars
48
Forks
26
Avg merge
1d 18h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenCyphal/nunavut

All issues in OpenCyphal/nunavut

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.