Re: [Zephyr-users] assertion fail in nordic nrf5 i2c driver


Himanshu Jha <himanshujha199640@...>
 

Hi Manu,

On Tue, Oct 09, 2018 at 12:03:01PM -0700, Manu R wrote:
Carles, I am trying to use 1.13 and am having some issues. I can build
hello_world, but when i tried to build anything with i2c, I have issues. (
drivers__i2c was created without source files)
Try this:

diff --git a/samples/drivers/i2c_fujitsu_fram/prj.conf b/samples/drivers/i2c_fujitsu_fram/prj.conf
index f9659582c..484e813e7 100644
--- a/samples/drivers/i2c_fujitsu_fram/prj.conf
+++ b/samples/drivers/i2c_fujitsu_fram/prj.conf
@@ -1,4 +1,4 @@
CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y

-CONFIG_I2C=y
+#CONFIG_I2C=y


After this you can select whatever CONFIG you want to select
in the `ninja menuconfig`.

Also, just to test that your board and environment, I would first
suggest trying sample programs:
https://docs.zephyrproject.org/latest/boards/arm/nrf52840_pca10056/doc/nrf52840_pca10056.html#testing-the-leds-and-buttons-in-the-nrf52840-pdk

Flash these samples and test to see everything is fine.

HTH,
Thanks
--
Himanshu Jha
Undergraduate Student
Department of Electronics & Communication
Guru Tegh Bahadur Institute of Technology

Join devel@lists.zephyrproject.org to automatically receive all group messages.