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