Topics

/zephyr/samples/drivers/i2c_fujitsu_fram not being compiled


ashish.shukla@corvi.com <ashish.shukla@...>
 

Hello all,

I'm trying to compile /zephyr/samples/drivers/i2c_fujitsu_fram for interfacing an I2C device with nrf52840.

Edited prj.conf as following,

CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y

CONFIG_I2C=y

CONFIG_I2C_NRF5=y

CONFIG_I2C_0=y

CONFIG_I2C_NRF5_0_GPIO_SDA_PIN=26
CONFIG_I2C_NRF5_0_GPIO_SCL_PIN=27

now, it's producing a number of compilation errors. I'm attaching screen shot of the terminal for reference

--
Warm regards,
Ashish Shukla
Jr. Embedded Engineer
Research & Development


Please consider the environment before printing this e-mail or its attachments.

Disclaimer: The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Also, if you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of Corvi


ashish.shukla@corvi.com <ashish.shukla@...>
 

Hi,

As I can see in the i2c_nrf5.c and Kconfig.nrf5, the configuration that needs to be done is still NRF5 and CONFIG_I2C_NRF5_0_GPIO_SDA_PIN. If Nordic fellows change nomenclature, they should have compiled their drivers at least once. Also, I'm using a stable commit of zephyr. 


--
Warm regards,
Ashish Shukla
Jr. Embedded Engineer
Research & Development


Please consider the environment before printing this e-mail or its attachments.

Disclaimer: The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Also, if you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of Corvi


On Tue, Apr 3, 2018 at 12:13 PM, ashish.shukla@... <ashish.shukla@...> wrote:
Hello all,

I'm trying to compile /zephyr/samples/drivers/i2c_fujitsu_fram for interfacing an I2C device with nrf52840.

Edited prj.conf as following,

CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y

CONFIG_I2C=y

CONFIG_I2C_NRF5=y

CONFIG_I2C_0=y

CONFIG_I2C_NRF5_0_GPIO_SDA_PIN=26
CONFIG_I2C_NRF5_0_GPIO_SCL_PIN=27

now, it's producing a number of compilation errors. I'm attaching screen shot of the terminal for reference

--
Warm regards,
Ashish Shukla
Jr. Embedded Engineer
Research & Development


Please consider the environment before printing this e-mail or its attachments.

Disclaimer: The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Also, if you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of Corvi