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

Incomplete component #include path in Components.hpp #10

Open
legounicycler opened this issue Feb 10, 2022 · 0 comments
Open

Incomplete component #include path in Components.hpp #10

legounicycler opened this issue Feb 10, 2022 · 0 comments

Comments

@legounicycler
Copy link

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'
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

No branches or pull requests

1 participant