This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
0f3a69a313
zephyr
/
tests
/
drivers
/
gpio
/
gpio_basic_api
/
prj.conf
5 lines
86 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: add gpio driver test case the commit include 5 ztest cases, cover the basic gpio APIs including callback relevant and pin read/write functions. It proves workable on intel quark c1000 and arduino 101 platform Change-Id: Iab30aa841cfa440c1f773b5a8c5ce0d68346c353 Signed-off-by: jing wang <jing.j.wang@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-08 14:47:29 +08:00
CONFIG_GPIO=y
CONFIG_ZTEST=y
tests/gpio: don't call risk function According to Coverity, rand() is a risk function. So we use another method to generate random value. Coverity-CID: 160070 Change-Id: Icb7e06cd43cb8bade6596cc37e9d04bfc59e1de7 Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-01-23 13:38:20 +08:00
CONFIG_RANDOM_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y