Skip to content

Commit

Permalink
Update cookiecutter for new driver interfaces (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc authored Oct 4, 2023
1 parent f037f4a commit dc87355
Showing 1 changed file with 2 additions and 9 deletions.
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

0 comments on commit dc87355

Please sign in to comment.