If you want to use the I2C tool, you'll also have to register the i2c
driver from your board logic.

See:
https://github.com/apache/incubator-nuttx/blob/master/boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_bringup.c#L89-L111
https://github.com/apache/incubator-nuttx/blob/master/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_i2c.c

On Fri, Apr 30, 2021 at 1:47 PM Alan Carvalho de Assis
<acas...@gmail.com> wrote:
>
> Hi Yuta,
>
> Yes, you forgot to select the I2C Character driver support.
>
> Please try to follow this tutorial:
>
> https://www.youtube.com/watch?v=RzrDa4Sm1rU
>
> BR,
>
> Alan
>
> On 4/30/21, yuta <yutr...@gmail.com> wrote:
> > Hi all,
> > I'm trying to use I2C.
> > I configured below in menuconfig.
> > - System Type > STM32 Peripheral Support > [*] I2C1
> > - Device Drivers > [*] I2C Driver Support
> > then compilation was done successfully.
> > But no I2C device( like /dev/i2c1 ) showed up when I tried ls /dev
> > Do I forget something to do?
> >
> > I'm using Nucleo-F767ZI board.
> >
> > Thank you.
> > Yuta Ide
> >
> >

Reply via email to