You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/03/02 11:09:08 UTC

[GitHub] [mynewt-newt] sjanc opened a new pull request #379: Add repositories info to syscfg.h

sjanc opened a new pull request #379: Add repositories info to syscfg.h
URL: https://github.com/apache/mynewt-newt/pull/379
 
 
   This add basic repositories info to syscfg.h for easier reporting
   of project version in runtime.
   
   For each repository FOO two informative MYNEWT_VALs are created:
   REPO_HASH_FOO and REPO_VERSION_FOO. Example:
   
    /*** Repository @apache-mynewt-core info */
    #ifndef MYNEWT_VAL_REPO_HASH_APACHE_MYNEWT_CORE
    #define MYNEWT_VAL_REPO_HASH_APACHE_MYNEWT_CORE ("26a9a5263b526f9869b8057a99be0759d601c8b7")
    #endif
   
    #ifndef MYNEWT_VAL_REPO_VERSION_APACHE_MYNEWT_CORE
    #define MYNEWT_VAL_REPO_VERSION_APACHE_MYNEWT_CORE ("0.0.1")
    #endif
   
    /*** Repository @apache-mynewt-mcumgr info */
    #ifndef MYNEWT_VAL_REPO_HASH_APACHE_MYNEWT_MCUMGR
    #define MYNEWT_VAL_REPO_HASH_APACHE_MYNEWT_MCUMGR ("ae4659b445b707409fb17d626c806de3ed284720")
    #endif
   
    #ifndef MYNEWT_VAL_REPO_VERSION_APACHE_MYNEWT_MCUMGR
    #define MYNEWT_VAL_REPO_VERSION_APACHE_MYNEWT_MCUMGR ("0.0.0")
    #endif
   
    /*** Repository @apache-mynewt-nimble info */
    #ifndef MYNEWT_VAL_REPO_HASH_APACHE_MYNEWT_NIMBLE
    #define MYNEWT_VAL_REPO_HASH_APACHE_MYNEWT_NIMBLE ("01b91ea01d35d1928fe17008d1a66917150d5231-dirty")
    #endif
   
    #ifndef MYNEWT_VAL_REPO_VERSION_APACHE_MYNEWT_NIMBLE
    #define MYNEWT_VAL_REPO_VERSION_APACHE_MYNEWT_NIMBLE ("0.0.0")
    #endif

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [mynewt-newt] sjanc merged pull request #379: Add repositories info to syscfg.h

Posted by GitBox <gi...@apache.org>.
sjanc merged pull request #379: Add repositories info to syscfg.h
URL: https://github.com/apache/mynewt-newt/pull/379
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services