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

Update cookiecutter for new driver interfaces #167

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,8 @@ module {{cookiecutter.deployment_name}} {
{%- if cookiecutter.com_driver_type == "UART" %}
instance comDriver: Drv.LinuxUartDriver base id 0x4000
{%- else %}
@ Note: Here we have TCP reliable uplink and UDP (low latency) downlink
instance comDriver: Drv.ByteStreamDriverModel base id 0x4000 \
{%- if cookiecutter.com_driver_type == "TcpServer" %}
type "Drv::TcpServer" \ # type specified to select implementor of ByteStreamDriverModel
at "../../Drv/TcpServer/TcpServer.hpp" # location of above implementor must also be specified
{%- elif cookiecutter.com_driver_type == "TcpClient" %}
type "Drv::TcpClient" \ # type specified to select implementor of ByteStreamDriverModel
at "../../Drv/TcpClient/TcpClient.hpp" # location of above implementor must also be specified
{%- endif -%}{% endif %}
instance comDriver: Drv.{{cookiecutter.com_driver_type}} base id 0x4000
{%- endif %}

instance framer: Svc.Framer base id 0x4100

Expand Down
Loading