zephyr/scripts/dts/extract
Kumar Gala fc5e23365e dts: Add proper handling for boolean properties
We've never handled boolean properties well, if we had a boolean that
existed we'd generate a define of 'True' and if the boolean didn't exist
than nothing would be generated.  So there was no easy way to tell that
the boolean wasn't defined.

Now if we mark a property as boolean in the yaml, we will generate a
define for it regardless if it exists or not.  If it exists we'll
set the value to 1, and if it doesn't to 0.

Fixes #8376

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-19 07:55:34 -05:00
..
__init__.py scripts: extract_dts_includes.py: factorize globals for module usage 2018-03-26 14:48:49 -04:00
clocks.py scripts/dts: extract_dts_includes: remove unused 'names' argument 2018-09-21 07:23:49 -07:00
compatible.py scripts/dts: extract_dts_includes: remove unused 'names' argument 2018-09-21 07:23:49 -07:00
default.py dts: Add proper handling for boolean properties 2018-10-19 07:55:34 -05:00
directive.py scripts/dts: extract_dts_includes: remove unused 'names' argument 2018-09-21 07:23:49 -07:00
flash.py dts: Add proper handling for boolean properties 2018-10-19 07:55:34 -05:00
globals.py dts/extract/globals.py: Add function to get list of compats 2018-10-18 12:57:32 -05:00
interrupts.py scripts: dts: extract: Fix handling of irq prop being a list of lists 2018-09-06 09:46:03 -05:00
pinctrl.py scripts/dts: extract_dts_includes: remove unused 'names' argument 2018-09-21 07:23:49 -07:00
reg.py scripts: dts: extract: Fix handling of reg prop being a list of lists 2018-10-18 06:59:13 -05:00