zephyr/samples/drivers/i2c_fujitsu_fram
Sergio Rodriguez 41004171d3 samples: drivers: i2c fram : Exit from testcase if device not found
Exiting from the test case when the gpio device is not found, this
to avoid a null pointer dereference

This issue was reported by Coverity

Coverity-CID: 151982

Change-Id: Ifaed47b2b48359dacfdb3111ca2895d5912779e6
Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-11-18 00:01:34 +00:00
..
src samples: drivers: i2c fram : Exit from testcase if device not found 2016-11-18 00:01:34 +00:00
Makefile
README
prj.conf
testcase.ini

README

This is a sample app to read and write the to
the Fujitsu MB85RC256V FRAM chip via I2C
on the Quark SE Sensor Subsystem.

This assumes the slave address of FRAM is 0x50,
where A0, A1, and A2 are all tied to ground.