JorgeGzm opened a new pull request, #20775:
URL: https://github.com/apache/nuttx/pull/20775

   ## Summary
   
   I2C1 was mapped to PB12/PB13, which the QFN32 package on this board does not 
have. It now uses PB15 (SCL) / PA8 (SDA), and the bringup registers 
`/dev/i2c1`. Those pins are also the I2C0 fallback when SPI is on, so I2C1 is 
dropped from `periph`. Enabling both is a build error.
   
   The docs now cover the J4 caps (closed for the on-board GD-Link, removed for 
an external J-Link), the J5 console jumpers, and flashing with a J-Link.
   
   ## Impact
   
   Only the `gd32vw553k-start` board changes. `periph` no longer enables I2C1, 
which its bringup never initialized.
   
   ## Testing
   
   `periph` builds as shipped:
   
   ```
   $ ./tools/configure.sh -l gd32vw553k-start:periph
   $ make -j
   ```
   
   On hardware, `sht3x` plus I2C1, flashed with a J-Link, with a sensor at 0x44 
wired to PB15/PA8:
   
   ```
   $ ./tools/configure.sh -l gd32vw553k-start:sht3x
   $ kconfig-tweak --enable CONFIG_GD32VW55X_I2C1 && make olddefconfig
   $ make -j$(nproc)
   
   nsh> i2c bus
   ...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to