• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 11127
98%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2019 03:53AM UTC
Jobs 1
Files 244
Run time 30s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11127

push

travis-ci

dpgeorge
stm32/i2c: Fix generation of restart condition for hw I2C on F0/F7.

Before this patch I2C transactions using a hardware I2C peripheral on F0/F7
MCUs would not correctly generate the I2C restart condition, and instead
would generate a stop followed by a start.  This is because the CR2 AUTOEND
bit was being set before CR2 START when the peripheral already had the I2C
bus from a previous transaction that did not generate a stop.

As a consequence all combined transactions, eg read-then-write for an I2C
memory transfer, generated a stop condition after the first transaction and
didn't generate a stop at the very end (but still released the bus).  Some
I2C devices require a repeated start to function correctly.

This patch fixes this by making sure the CR2 AUTOEND bit is set after the
start condition and slave address have been fully transferred out.

18461 of 18838 relevant lines covered (98.0%)

366171.84 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11127.3 (NAME="unix coverage build and tests") 16 Aug 2019 03:53AM UTC 0
98.0
Travis Job 11127.3
Source Files on build 11127
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11127
  • 3eff8128 on github
  • Prev Build on master (#11122)
  • Next Build on master (#11137)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc