commit | cf64c6bccabade19e0832cb1492bcb109b9ee5b3 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <henrik@brixandersen.dk> | Sat Jan 18 22:13:10 2020 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jan 21 11:36:55 2020 -0500 |
tree | dd505e8f5a5ff752bdfcfa1e44f23e861a07e941 | |
parent | 0f6047766765b2725bdb7cde51075c9a034c3afe [diff] |
tests: drivers: counter: add user mode test Add a single counter API test case (not using callbacks) running in user mode. Convert the existing test setup to use semaphores for counting events to be able to utilize the same test setup and teardown functionality in both user and supervisor mode tests. Most of the counter API basic test suite still needs to run in supervisor mode due the use of callback functions. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>