zephyr/scripts/dts/python-devicetree
Martí Bolívar a7e7964b14 dtlib: use IntEnum for marker types
Add a _MarkerType enum. A subsequent commit will use it for type
annotations in the Property class.

Fix an incorrect type in a comment while we're here.

We continue to use 'marker_type is _MarkerType.FOO' instead of
'marker_type == _MarkerType.FOO' because we are adding those actual
_MarkerType.FOO objects to each property, so 'is' comparison
is legitimate.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-05-05 13:13:12 -05:00
..
src/devicetree dtlib: use IntEnum for marker types 2021-05-05 13:13:12 -05:00
tests dtlib: add Type enum 2021-04-22 15:32:10 +02:00
.gitignore dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
requirements.txt dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
setup.py dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
tox.ini dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00