1d68640101
Update Credo to 1.5.1
2020-11-16 12:30:22 +13:00
dd68e8181b
Merge branch 'update-deps' into 'master'
...
Update deps.
See merge request jimsy/wafer!3
2020-11-08 07:10:09 +00:00
3b1543ccda
Update deps.
2020-11-08 20:06:42 +13:00
James Harton
be8e2a6589
Add note about SPI devices in the Chip documentation.
2020-05-10 09:26:02 +12:00
James Harton
ff8a6950c8
Ignore Elixir language server data.
2020-05-10 08:55:23 +12:00
James Harton
4b4f3f54d9
Merge branch 'master' into 'master'
...
GPIO example
See merge request jimsy/wafer!2
2020-05-06 22:43:35 +00:00
Kit Plummer
c6be4efe8c
doc: updating readme with GPIO example
2020-05-06 22:35:16 +00:00
Kit Plummer
0720875e71
doc: typo fix Drivers -> Driver
2020-05-06 20:58:29 +00:00
James Harton
b75a0e4654
Merge branch 'renovate/configure' into 'master'
...
Configure Renovate
See merge request jimsy/wafer!1
2020-03-05 19:52:17 +00:00
Renovate Bot
8b7078f4f5
Add renovate.json
2020-03-05 04:35:14 +00:00
James Harton
67d91a5949
Add some examples to the readme.
2020-01-22 20:12:33 +13:00
James Harton
a48381a8f2
Add a confirmation test for set_bit with binary args.
2020-01-22 12:35:29 +13:00
James Harton
d3fe9a7384
Registry doesn't support registering other processes.
2020-01-21 19:16:04 +13:00
James Harton
7b8d3bd391
Fix bug with registering the incorrect process for subscriptions.
2020-01-21 16:34:04 +13:00
James Harton
54a98adbb5
ElixirALE.GPIO likes it's pin directions to end with "put".
2020-01-21 16:33:56 +13:00
James Harton
1c1ee39fea
Modify the DDL.Tx API slightly to be easier to work with.
2020-01-17 12:19:17 +13:00
James Harton
edb85a48b7
Add typespecs to the defregister
macros.
2020-01-17 10:14:24 +13:00
James Harton
3caabd336d
Add some handy-dandy number formatting.
2020-01-14 19:54:36 +13:00
James Harton
a131e7dad7
Fix some minor boogs and update deps.
2020-01-14 10:42:28 +13:00
James Harton
38056e03a7
Enable integration with a Pi4 with sense hat enabled.
2020-01-13 10:10:31 +13:00
James Harton
f53d5d622f
Remove accidentally committed WIP and fix credo.
2020-01-13 08:50:37 +13:00
James Harton
8b6211b606
Move the bytewise DDL from Augie because it's probably useful for any chips with a small mailbox.
2020-01-12 20:58:09 +13:00
James Harton
cac08bc5f0
Allow set_bit/3
to take boolean values.
2020-01-12 19:29:31 +13:00
James Harton
0dbb6a75fd
Make twiddles handle binaries too.
2020-01-12 19:08:05 +13:00
James Harton
a40af03ff5
Move release/1
from Conn
to it's own protocol.
2020-01-12 16:55:54 +13:00
James Harton
b5181189ef
Make test more reliable.
2020-01-08 15:16:21 +13:00
James Harton
1feed0faf9
Don't use runtime checks to emit test env warning.
2020-01-08 15:16:14 +13:00
James Harton
d3e7bb7708
Build artifacts when releases are tagged.
2020-01-08 12:31:59 +13:00
James Harton
c5f280315c
Fix test failures.
2020-01-08 12:20:39 +13:00
James Harton
a1b5513c11
Improve the documentation of the defregister
macro.
2020-01-08 11:31:15 +13:00
James Harton
4b27f5441f
Code gardening.
...
* Rename and extract a bunch of modules into their own files to make it easier to navigate the repository.
* Remove fake versions of `ElixirALE` and `Circuits` from `test/support`.
* Create wrapper modules for `ElixirALE` and `Circuits` modules using `defdelegate` instead.
* Use Elixir 1.10's new `@compile {:no_warn_undefined ...}` directive to inhibit compiler warnings for our optional dependencies.
2020-01-08 10:18:38 +13:00
James Harton
8f4bca1e58
Add Wafer.Driver.Fake
to help people test.
2020-01-07 14:10:15 +13:00
James Harton
006a2acb7d
Add link to generated docs.
2020-01-07 10:21:19 +13:00
James Harton
37941c6671
Allow docs to be built in test.
2020-01-07 10:03:28 +13:00
James Harton
f7e9c4be70
Don't build docs in MIX_ENV test
2020-01-07 09:58:58 +13:00
James Harton
04f6036553
Add gitlab pages task with docs.
2020-01-07 09:53:58 +13:00
James Harton
8f63a7c639
Change license description in mix.exs
.
2020-01-06 15:22:58 +13:00
James Harton
0ce5cf63c9
Add LICENSE
2020-01-06 02:20:06 +00:00
James Harton
dd385c46af
Add simple DeviceID prtocol.
2020-01-06 14:20:08 +13:00
James Harton
01ac70e7fa
Extract common behaviour for interrupt registry.
2020-01-06 13:48:16 +13:00
James Harton
4c0b5993fc
Fix credo failures.
2020-01-06 10:04:15 +13:00
James Harton
2496f18cf7
Ensure correct error behaviour when required keywords are missing.
2020-01-06 09:54:52 +13:00
James Harton
657dc228a0
Add Twiddles
bitwise helpers for those writing drivers.
2020-01-06 09:54:32 +13:00
James Harton
f7bd1df742
Add more tests for derived types.
2020-01-01 20:25:50 +13:00
James Harton
13f79bf72e
Make all our protocol derivable.
2019-12-31 18:54:46 +13:00
James Harton
ba68653925
Tested and working on a Raspberry Pi 4B with a Pi Sense Hat connected.
2019-12-30 20:37:34 +13:00
James Harton
33e332ea22
I believe that everything I wanted now works. Yowza!
2019-12-30 13:12:42 +13:00
James Harton
fb247dbead
First pass.
2019-12-29 17:12:36 +13:00
James Harton
9d28a79b45
Empty mix application.
2019-12-20 10:24:51 +13:00