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

micropython / micropython / 14141
98%

Build:
DEFAULT BRANCH: master
Ran 21 Aug 2020 04:00AM UTC
Jobs 1
Files 274
Run time 11s
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
14141

push

travis-ci-com

dpgeorge
stm32/pin_defs_stm32: Fix pin printing to show IN mode correctly.

Prior to this commit, if you configure a pin as an output type (I2C in this
example) and then later configure it back as an input, then it will report
the type incorrectly.  Example:

    >>> import machine
    >>> b6 = machine.Pin('B6')
    >>> b6
    Pin(Pin.cpu.B6, mode=Pin.IN)
    >>> machine.I2C(1)
    I2C(1, scl=B6, sda=B7, freq=420000)
    >>> b6
    Pin(Pin.cpu.B6, mode=Pin.ALT_OPEN_DRAIN, pull=Pin.PULL_UP, af=Pin.AF4_I2C1)
    >>> b6.init(machine.Pin.IN)
    >>> b6
    Pin(Pin.cpu.B6, mode=Pin.ALT_OPEN_DRAIN, af=Pin.AF4_I2C1)

With this commit the last print now works:

    >>> b6
    Pin(Pin.cpu.B6, mode=Pin.IN)

19468 of 19861 relevant lines covered (98.02%)

434323.75 hits per line

Jobs
ID Job ID Ran Files Coverage
6 14141.6 (MAKEOPTS="-j4") 21 Aug 2020 04:00AM UTC 0
98.02
Travis Job 14141.6
Source Files on build 14141
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #14141
  • 8727c4e2 on github
  • Prev Build on master (#14140)
  • Next Build on master (#14143)
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