Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-649

"newt target set" allows random variable to be set; should allow only valid variable settings.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • v1_1_0_rel
    • None
    • Security Level: Public (Viewable by anyone)
    • None

    Description

      The "newt target set" command should have a check for allowed settings.

      For example, I can set the variable "bogus" with a value and target.bogus will be added to the target.yml file. Do we have a list of all the valid variables so we can add the validation to the command? What I have listed as valid variables in the `newt target set" command documentation are: app, bsp, loader, build_profile, cflags, aflags, lflags, syscfg.

      We should make sure the "newt vals" command also covers this set of valid target variables to make things consistent.

      Attachments

        Issue Links

          Activity

            People

              cwanda Wanda Chiu
              aditihilbert Aditi Hilbert
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: