1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Config handling updated to using repository for hydration (#12714)

* Modification to allow src/config to be a repo within a repo.

* Moving config files to own repository, and including using make.

* Removing all old config files.

* Correct CI errors.

* Playing with pulling the configuration files from the API

* Attempt to get past github actions issue

* Adding additional assistance when configs not hydrated

* Move the workflow to support hydration before outputing target list.

* Correction for revision targets

* Requires additional config hydration

* Better messaging on what to do:

- when you have a local config.h for a new target, ignore hydration of target list if you are building the target config in question.
- when you are doing any activity that does not require hydration, e.g. printing out help or installing arm_sdk etc.

* Anything suffixed with clean should be allowed through

* Adjusting to simply use a copy of the repository. Noting we will need to decide whether or not to include MFTR name in the config directory or not.
This commit is contained in:
J Blackman 2023-05-10 19:12:07 +10:00 committed by GitHub
parent 4dc04d6a33
commit 6e05967840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
376 changed files with 128 additions and 41085 deletions

View file

@ -4818,6 +4818,10 @@ static void printVersion(bool printBoardInfo)
cliPrintLinefeed();
#if defined(__CONFIG_REVISION__)
cliPrintLinef("# config rev: %s", shortConfigGitRevision);
#endif
#if defined(USE_BOARD_INFO)
if (printBoardInfo && strlen(getManufacturerId()) && strlen(getBoardName())) {
cliPrintLinef("# board: manufacturer_id: %s, board_name: %s", getManufacturerId(), getBoardName());