commit | a578bb70b61e622157e03ca587296314d85f7b5b | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Mon Sep 20 14:27:06 2021 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Mon Oct 25 15:26:47 2021 -0500 |
tree | efc6bf2ed04ae55b95a8393f28118223a148f2ee | |
parent | c871317e8f69d6c7c91f124dab0cdd81ef95eb08 [diff] |
tests: drivers: pinctrl: add tests for API Add a set of tests to check the API behavior. The API tests can only run on a platform that does not have an actual pinctrl driver, e.g. native_posix. The test itself implements a pinctrl mock driver and provides the required "pinctrl_soc.h" header with required types/macros. The implementation is used in the tests to verify the behavior of the API or Devicetree macros. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>