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 samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README move driver samples to samples/drivers 2016-02-11 13:08:44 -05:00
prj.conf move driver samples to samples/drivers 2016-02-11 13:08:44 -05:00
testcase.ini samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00

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.