Commit graph

16 commits

Author SHA1 Message Date
Martí Bolívar
aeab3aaa53 setup.py: bump version to 0.0.2
This is upon request from someone who is using this library and wants
the latest up on pypi.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-04-27 11:45:17 -07:00
Martí Bolívar
9b6d3893ad Synchronize with zephyr commit 018f59e46f
Snapshot to a recent zephyr main.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-04-03 16:21:28 -07:00
Martí Bolívar
e4213e9689 bump versions
Now that we have something nontrivial in here, bump the version.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 23:05:10 -07:00
Martí Bolívar
aeede9e46a add initial docs
These are fresh docs just to get people oriented:

    make -C doc html

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 23:05:10 -07:00
Martí Bolívar
7322777065 tests: path tweaks
The tests are written to assume you run them from the test directory.
Relax the assumption with a quick hack.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:36:06 -07:00
Martí Bolívar
c75772855a tests: add tox support
You can run 'tox' to run the tests now.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:34:44 -07:00
Martí Bolívar
0c9f56bc04 tests: packaging tweaks
The standalone dtlib and edtlib modules must be imported from
'devicetree'.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:34:44 -07:00
Martí Bolívar
3cb1e6816d tests: rename test files
This will make pytest auto-detect them in a subsequent commit adding
tox support.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:22:04 -07:00
Martí Bolívar
5ab38f1157 tests: initial tests import
From zephyr commit f5409dec01c84aa8eda1830c64309abe3d5868d0.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:21:10 -07:00
Martí Bolívar
18f7bb4286 __init__.py: set __all__
Just expose the submodules.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:21:10 -07:00
Martí Bolívar
bf0aea7ef3 edtlib: packaging tweaks
Tweaks for importing now that we're inside a devicetree package.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:21:10 -07:00
Martí Bolívar
9488c68bc3 src: initial source import
From zephyr commit f5409dec01c84aa8eda1830c64309abe3d5868d0.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:21:10 -07:00
Martí Bolívar
35f9424338 .gitignore: add __pycache__
For local installations.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:21:08 -07:00
Martí Bolívar
edd0a22264 add requirements.txt
Requirements which will be needed by readthedocs.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:20:58 -07:00
Martí Bolívar
99611aa1bc setup.py: add yaml dependency
This is the only external dependency, which will be installed when you
'pip3 install devicetree'.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 22:20:58 -07:00
Martí Bolívar
c294951a44 Initial commit
Stub out an installable devicetree package, to be filled in later.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-11 10:42:07 -08:00