Skip to content

Incomplete component #include path in Components.hpp #10

@legounicycler

Description

@legounicycler

I ran the cookiecutter deployment command from the following location within an fprime project repository: "gt2-software/Common/support" where "gt2-software" is the project root that contains fprime and fprime-arduino as submodules.

When generating a deployment using the options listed in the .cookiecutterrc file listed below, the #include path in the Components.hpp file comes out like this:

#include <LEDBlinkDeployment/LedBlinker/LedBlinkerComponent.hpp>

but it should come out like this:

#include <Common/support/LEDBlinkDeployment/LedBlinker/LedBlinkerComponent.hpp>

The path is missing the "Common/support," which I believe is correlated to the deployment_path option in the .cookiecutterrc file.

Contents of .cookiecutterrc:

default_context:

    _template:                 'gh:SterlingPeet/cookiecutter-fprime-deployment'
    arduino_log_stream:        'Serial'
    component_dir_name:        'LedBlinker'
    component_explicit_common: ''
    component_explicit_component_suffix: 'Component'
    component_impl_suffix:     ''
    component_instance_name:   'ledBlinker'
    component_kind:            'passive'
    component_multiplatform_support: 'no'
    component_name:            'Led Blinker'
    component_namespace:       'LEDBlinkDeployment'
    component_path_to_fprime_root: '../../../..'
    component_short_description: 'Example component to support LED Blink Deployment deployment.'
    component_slug:            'LedBlinker'
    dep_short_description:     'A deployment that blinks an LED'
    deployment_baremetal_scheduler: 'yes'
    deployment_command_sequence_support: 'no'
    deployment_display_name:   'LED Blink Deployment'
    deployment_event_text_log_support: 'no'
    deployment_file_xfer_support: 'no'
    deployment_health_support: 'no'
    deployment_parameter_support: 'yes'
    deployment_path:           'Common/support'
    deployment_path_to_fprime_framework: '../../../fprime'
    deployment_path_to_project_root: '../../..'
    deployment_ref_doc_boilerplate: 'no'
    deployment_rg_sched_contexts_hpp: 'no'
    deployment_slug:           'LEDBlinkDeployment'
    deployment_target_platform_support: 'Arduino'
    email:                     '[email protected]'
    full_name:                 'Anthony Limiero'
    license:                   'None'
    startup_arduino_led_flash: 'yes'
    startup_delay_msec:        '2000'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions