1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 08:15:26 +03:00
Commit graph

6 commits

Author SHA1 Message Date
Michel Pastor
fc0e5e2741
Get setting default values from settings.yaml (#6595)
* Get setting default values from settings.yaml

* settings: Make the generator more robust and versatile

- Add support for resolving types and values in multiple compilers
- Add support for resolving types and values in clang 10
- Add support for using the host compiler for resolving the settings

This allows us to run the generator for the unit tests, since they now
need the settings_generated.h file to get the default setting values
from it.

* Fix regexps in settings.rb and add execution bit

* Fix git revision issue

* Fix issue with settings validation

* Fix issue with targets not defining USE_MAG

Co-authored-by: Alberto García Hierro <alberto@garciahierro.com>
2021-04-07 17:48:09 +02:00
Alberto García Hierro
849a688432 [LOG] Make sure logHasOutput() returns true when semihosting is enabled
With semihosting there's always a log output. Without considering
it, logIsEnabled() would return false with semihosting enabled but
without additional log outputs.

Found by @shellixyz
2019-12-09 11:23:53 +00:00
Alberto García Hierro
987c7bb73e [MAKE/LOG] Add support for semihosting
Semihosting allows printing debug messages via SWD
2019-12-09 11:23:52 +00:00
Alberto García Hierro
3dda0cbf7c All: Fix warnings reported by -Wformat
Since the tfp_printf() functions now have format attributes, the
format of the string has to match the arguments.
2019-05-05 00:32:43 +01:00
Alberto García Hierro
44201f0206 Drop _SYNC logging macros
Make all logging asynchronous
2019-03-18 19:33:43 +00:00
Alberto García Hierro
45553a06ba Replace DEBUG_TRACE with LOG
LOG system has multiple levels, selectable both at compile and run
times. FEATURE_TRACE has been removed, since we now rely just on
the log level/topic and the defined outputs for the log messages.
2019-03-18 19:33:43 +00:00