Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

makeqstrdata.py

Blame
    • stijn's avatar
      1dc7f042
      More relaxed parsing of preprocessed qstr header · 1dc7f042
      stijn authored
      The original parsing would error out on any C declarations that are not typedefs
      or extern variables. This limits what can go in mpconfig.h and mpconfigport.h,
      as they are included in qstr.h. For instance even a function declaration would be
      rejected and including system headers is a complete no-go.
      That seems too limiting for a global config header, so makeqstrdata now
      ignores everything that does not match a qstr definition.
      1dc7f042
      History
      More relaxed parsing of preprocessed qstr header
      stijn authored
      The original parsing would error out on any C declarations that are not typedefs
      or extern variables. This limits what can go in mpconfig.h and mpconfigport.h,
      as they are included in qstr.h. For instance even a function declaration would be
      rejected and including system headers is a complete no-go.
      That seems too limiting for a global config header, so makeqstrdata now
      ignores everything that does not match a qstr definition.