48e6288d | 03-Apr-2019 |
William A. Kennington III <wak@google.com> |
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look lik
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency.
Change-Id: Ib042c253adedb6f949c8a8897ed9a34e61d2a888 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
9dd00de7 | 01-Apr-2019 |
William A. Kennington III <wak@google.com> |
meson: Fix pc file generation
The previous commit adding meson support forgot to add the gpioplus library to the pkgconfig file, so anything depending on gpioplus wouldn't get the linker flag that i
meson: Fix pc file generation
The previous commit adding meson support forgot to add the gpioplus library to the pkgconfig file, so anything depending on gpioplus wouldn't get the linker flag that is required to link against it.
Change-Id: Id0ed6dabede79bd137ae5f56806e7202f8a238c9 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
15658977 | 27-Mar-2019 |
William A. Kennington III <wak@google.com> |
meson: Add build system
Change-Id: Ia57836a0f7b5287ddb490ba6de01192ce0ef6382 Signed-off-by: William A. Kennington III <wak@google.com> |
444d6214 | 14-Mar-2019 |
William A. Kennington III <wak@google.com> |
autotools: Fix for autoconf-archive 2019.01.19
The code coverage macros from the archive changed in a backward incompatible way. This adds a workaround to autodetect either version and do the right
autotools: Fix for autoconf-archive 2019.01.19
The code coverage macros from the archive changed in a backward incompatible way. This adds a workaround to autodetect either version and do the right thing.
Tested: Builds with the old version of autotools using the CI. Manually edited the CI to include the new 2019.01.19 version and ran the same test to ensure the coverage results are the same.
Change-Id: Iebc9a3c32de4fd1c2da26e6eb3bc44cf296a4ca6 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
b2085028 | 19-Dec-2018 |
William A. Kennington III <wak@google.com> |
test/handle: Don't need a virtual destructor
We aren't ever going to extend the mock implementation and even if we did, only the base class needs to declare this.
Change-Id: Ie524d44ffc7ca787809ca8
test/handle: Don't need a virtual destructor
We aren't ever going to extend the mock implementation and even if we did, only the base class needs to declare this.
Change-Id: Ie524d44ffc7ca787809ca849fb526540e7cc2fa3 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
07fb3421 | 19-Dec-2018 |
William A. Kennington III <wak@google.com> |
makefile: Fix rule ordering
Change-Id: I7f6cf155e5840693b519d366e39905595d838b9a Signed-off-by: William A. Kennington III <wak@google.com> |
084683a4 | 19-Dec-2018 |
William A. Kennington III <wak@google.com> |
event: Add mock for clients
Makes it easier for client libraries to test their gpio logic.
Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d Signed-off-by: William A. Kennington III <wak@google.
event: Add mock for clients
Makes it easier for client libraries to test their gpio logic.
Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
ad6ada46 | 19-Dec-2018 |
William A. Kennington III <wak@google.com> |
test: Make sure mocks compile
This makes sure we don't accidentally change our interface without updating the mock.
Change-Id: I50c6827e637167f1223d91f724b99ef8a24b107f Signed-off-by: William A. Ke
test: Make sure mocks compile
This makes sure we don't accidentally change our interface without updating the mock.
Change-Id: I50c6827e637167f1223d91f724b99ef8a24b107f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
526fc7d8 | 19-Dec-2018 |
Patrick Venture <venture@google.com> |
test: add HandleInterface and mock
Add a handle mock for use by other daemon's unit-tests. This saves a separate daemon from using the SysMock.
Change-Id: I11802ca2f1b00e3e0de8966856c75599e560996e
test: add HandleInterface and mock
Add a handle mock for use by other daemon's unit-tests. This saves a separate daemon from using the SysMock.
Change-Id: I11802ca2f1b00e3e0de8966856c75599e560996e Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
8ff58122 | 26-Oct-2018 |
William A. Kennington III <wak@google.com> |
utility/aspeed: Add gpio name to offset method
Useful for converting from the GPIO name listed in the chip or board schematics to the offset which would be presented by the kernel. Made constexpr so
utility/aspeed: Add gpio name to offset method
Useful for converting from the GPIO name listed in the chip or board schematics to the offset which would be presented by the kernel. Made constexpr so that the conversions can be done at compile time.
Ex: gpioplus::utility::aspeed::nameToOffset("B3") -> 11
Tested: Built and run through the unit test suite.
Change-Id: I9ec859bf8fb6c60f15e149779d1bd3eb94fc1bd6 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
88a89bc6 | 20-Sep-2018 |
William A. Kennington III <wak@google.com> |
tests: Build test cases with their respective c++ files
Tested: Unit tests still build and pass as expected.
Change-Id: I20b117dcc07c5338ca300303c52df04f3a0e3ff1 Signed-off-by: William A. Kenni
tests: Build test cases with their respective c++ files
Tested: Unit tests still build and pass as expected.
Change-Id: I20b117dcc07c5338ca300303c52df04f3a0e3ff1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
4d40f764 | 20-Sep-2018 |
William A. Kennington III <wak@google.com> |
{event,handle}: Clarify object lifetime requirements
It was unclear from the current docuemntation that Handles and Events do not depend on the Chip or their input flags remaining alive during the l
{event,handle}: Clarify object lifetime requirements
It was unclear from the current docuemntation that Handles and Events do not depend on the Chip or their input flags remaining alive during the lifetime of the object. This makes that more clear.
Change-Id: I9831d7ffd095045a0a381b9863ce684bab22baae Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
43171e3d | 12-Sep-2018 |
William A. Kennington III <wak@google.com> |
pkg-config: Remove non-generated field
These fields are only replaced for packages using AX_PKG_CHECK_MODULES |
0fe88244 | 12-Sep-2018 |
William A. Kennington III <wak@google.com> |
pkg-config: Add Missing description field |
68cce0fa | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
event: timestamp should use chrono types |
8ebe525c | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
handle: Document |
abfa1ca5 | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
event: Document |
e3c0b254 | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
chip: Document |
1d97c45a | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
internal/fd: Document |
2c28dbfa | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
internal/sys: Document |
5ddac180 | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
configure: Fix spurious tabs |
12cd2543 | 22-Aug-2018 |
William A. Kennington III <wak@google.com> |
Replace all public `const char *` with `std::string_view` |
f3942f6a | 17-Aug-2018 |
William A. Kennington III <wak@google.com> |
test/event: Implement |
b00dd044 | 17-Aug-2018 |
William A. Kennington III <wak@google.com> |
test/handle: Implement |
16e7f112 | 17-Aug-2018 |
William A. Kennington III <wak@google.com> |
handle: Use the default constructor |