Opened 10 years ago

Last modified 10 years ago

#8065 new defect

Zephyr tzc config given in doc is incorrect.

Reported by: wcattey Owned by: seanegan
Milestone: Component: Zephyr
Version: 2.5.3 Keywords:


The FAQ info to configure Zephyr with tzc at:

says to specify the tzc string as follows:

/path/to/tzc -e "%s"

Note the quotation marks around %s.

It doesn't work. The helpful (sic) error message you get is, "invalid output by tzc (or bad parsing code)"

I stepped through the code and tzc_cmd_array contains: "%s" but line 1636 in zephyr.c for %s with no double quotes. Indeed, the default strings don't quote the %s. Removing the quotes results in a working use of tzc.

Someone should re-confirm that we're not supposed to put double quotes around the %s, and correct the documentation.

Change History (2)

comment:1 Changed 10 years ago by datallah

  • Component changed from unclassified to Zephyr
  • Owner changed from lschiere to seanegan

Given that none of the developers actually use zephyr and it is only maintained through patches, someone who actually uses it is going to have to do the investigatiion.

comment:2 Changed 10 years ago by bernmeister

Maybe move to Patches Welcome?

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!