[SOLVED] Comments in FLASHER.INI

  • I don't find a mention of comments for FLASHER.INI in the Flasher User Guide. Experiments show that It seems like pretty much anything that isn't an expected section heading or setting value is ignored (and therefore could be considered a comment).

    But in order to avoid problems with a future firmware update, I wonder if there is an undocumented support for an actual comment? Ini files usually use a semi-colon to introduce a comments, but sometimes a '#' is used instead. Also sometimes comments need to be on a line by themselves, but some .ini parsers support comments on the same line as a section heading or a setting.

    For example:


    Code
    [FILES]
    DataFile = "Flasher1.dat"    ; would this be a valid comment?
    ConfigFile = "Flasher1.cfg"
  • Hello,

    Anything after the trailing quote is ignored, so it should work.

    Best regards
    Arne

    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!