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
fd8022ae16
zephyr
/
tests
/
drivers
/
gpio
/
gpio_basic_api
/
prj.conf
5 lines
87 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
drivers: Rename `random` to `entropy` This should clear up some of the confusion with random number generators and drivers that obtain entropy from the hardware. Also, many hardware number generators have limited bandwidth, so it's natural for their output to be only used for seeding a random number generator. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-10-14 07:30:55 +08:00
CONFIG_ENTROPY_GENERATOR=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_TEST_RANDOM_GENERATOR=y