Kit Plummer
0720875e71
doc: typo fix Drivers -> Driver
2020-05-06 20:58:29 +00: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
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
1feed0faf9
Don't use runtime checks to emit test env warning.
2020-01-08 15:16:14 +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
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