HF RL Explorer

Repair a verified behavior in apache/nuttx.

Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The NuttX I2C master drivers for the Nordic TWIM peripheral (arch/arm/src/nrf52/nrf52 i2c.c and its nRF53/nRF91 copies arch/arm/src/nrf53/nrf53 i2c.c and arch/arm/src/nrf91/nrf91 i2c.c, which share the same…

The task

The NuttX I2C master drivers for the Nordic TWIM peripheral (arch/arm/src/nrf52/nrf52_i2c.c and its nRF53/nRF91 copies arch/arm/src/nrf53/nrf53_i2c.c and arch/arm/src/nrf91/nrf91_i2c.c, which share the same logic) read one byte too many during an I2C read in interrupt-driven mode, i.e. when CONFIG_I2C_POLLED is not…

Part of henryen/OriGent-RL-Data.