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

pybricks / pybricks-micropython
57%
master: 56%

Build:
Build:
LAST BUILD BRANCH: btstack
DEFAULT BRANCH: master
Repo Added 23 Sep 2020 11:46PM UTC
Files 139
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

LAST BUILD ON BRANCH dlech
branch: dlech
CHANGE BRANCH
x
Reset
  • dlech
  • 3.2.x
  • CSUPEROPT
  • add-mp-register-conditional
  • algebra
  • allocation
  • animations
  • async
  • audio
  • audio-fix-freq-0
  • authorfix
  • avr
  • bad-process
  • battery-updates
  • bert-power-button
  • ble-broadcast-2
  • ble-broadcast-3
  • ble-observe-fix
  • ble-protocol
  • ble-random-address
  • ble2
  • bluetooth-light-2
  • bluetooth-stop
  • bootbutton
  • broadcast
  • broadcast2
  • bt-lwp-match-fix
  • bt-mtu-fix
  • bt-spike-loop
  • bt-task
  • btfinalizer
  • btrework
  • btstack
  • build-fixes
  • build-hat-support
  • builtin-programs
  • busy
  • buttons
  • c11
  • cache
  • canceltask
  • changelog
  • charger
  • checkself
  • city-hub-io-port-boot-power-hack
  • cleanups
  • clock
  • clock-cleanup
  • coast
  • coast1
  • color
  • colors
  • common
  • common-mphalport
  • common-usb-driver
  • complex-string
  • counter_lpf2
  • cpp_properties
  • data-size
  • dcm
  • dcmotor
  • debug-broadcast
  • debug-motor
  • debug-sensor
  • debugpy
  • deduplicate-mpconfigport
  • dependabot/github_actions/dot-github/workflows/dawidd6/action-download-artifact-6
  • dependabot/npm_and_yarn/npm/firmware/ansi-regex-5.0.1
  • dependabot/npm_and_yarn/npm/firmware/cross-spawn-7.0.6
  • dependabot/npm_and_yarn/npm/firmware/form-data-3.0.4
  • dependabot/npm_and_yarn/npm/firmware/js-yaml-3.14.2
  • dependabot/npm_and_yarn/npm/firmware/json5-2.2.3
  • dependabot/npm_and_yarn/npm/firmware/jszip-3.7.0
  • dependabot/npm_and_yarn/npm/firmware/jszip-3.8.0
  • dependabot/npm_and_yarn/npm/firmware/minimist-1.2.6
  • dependabot/npm_and_yarn/npm/firmware/node-notifier-8.0.1
  • dependabot/npm_and_yarn/npm/firmware/path-parse-1.0.7
  • dependabot/npm_and_yarn/npm/firmware/semver-6.3.1
  • dependabot/npm_and_yarn/npm/firmware/tmpl-1.0.5
  • dependabot/npm_and_yarn/npm/firmware/tough-cookie-4.1.3
  • dependabot/npm_and_yarn/npm/firmware/word-wrap-1.2.4
  • dependabot/npm_and_yarn/npm/firmware/ws-7.4.6
  • dependabot/npm_and_yarn/npm/firmware/y18n-4.0.1
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/adobe/css-tools-4.3.1
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/babel/helpers-7.26.10
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/babel/runtime-7.26.10
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/express-4.21.2
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/form-data-3.0.4
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/http-proxy-middleware-2.0.7
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/http-proxy-middleware-2.0.9
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/json5-1.0.2
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/micromatch-4.0.8
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/nanoid-3.3.8
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/rollup-2.79.2
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/semver-6.3.1
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/socket.io-parser-4.2.3
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/tough-cookie-4.1.3
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/webpack-5.76.1
  • dependabot/npm_and_yarn/tools/virtual-hub-animator/word-wrap-1.2.4
  • dependabot/pip/asyncssh-2.14.1
  • dependabot/pip/asyncssh-2.14.2
  • dependabot/pip/certifi-2022.12.7
  • dependabot/pip/certifi-2023.7.22
  • dependabot/pip/cryptography-39.0.1
  • dependabot/pip/cryptography-41.0.0
  • dependabot/pip/cryptography-41.0.2
  • dependabot/pip/cryptography-41.0.3
  • dependabot/pip/cryptography-41.0.4
  • dependabot/pip/cryptography-41.0.6
  • dependabot/pip/cryptography-42.0.0
  • dependabot/pip/eventlet-0.40.3
  • dependabot/pip/filelock-3.20.1
  • dependabot/pip/fonttools-4.61.0
  • dependabot/pip/gitpython-3.1.30
  • dependabot/pip/gitpython-3.1.32
  • dependabot/pip/gitpython-3.1.34
  • dependabot/pip/gitpython-3.1.37
  • dependabot/pip/gitpython-3.1.41
  • dependabot/pip/ipython-8.10.0
  • dependabot/pip/jinja2-3.1.3
  • dependabot/pip/jinja2-3.1.5
  • dependabot/pip/jinja2-3.1.6
  • dependabot/pip/jupyter-server-2.11.2
  • dependabot/pip/jupyter-server-2.7.2
  • dependabot/pip/mistune-2.0.3
  • dependabot/pip/mpmath-1.3.0
  • dependabot/pip/nbconvert-6.3.0
  • dependabot/pip/nbconvert-6.5.1
  • dependabot/pip/pillow-10.0.1
  • dependabot/pip/pillow-10.2.0
  • dependabot/pip/pillow-9.0.0
  • dependabot/pip/pillow-9.0.1
  • dependabot/pip/pillow-9.3.0
  • dependabot/pip/pycryptodomex-3.19.1
  • dependabot/pip/pygments-2.15.0
  • dependabot/pip/pyjwt-2.4.0
  • dependabot/pip/python-socketio-5.14.0
  • dependabot/pip/requests-2.31.0
  • dependabot/pip/requests-2.32.4
  • dependabot/pip/setuptools-65.5.1
  • dependabot/pip/tornado-6.3.2
  • dependabot/pip/tornado-6.3.3
  • dependabot/pip/tornado-6.4.2
  • dependabot/pip/urllib3-1.26.17
  • dependabot/pip/urllib3-2.5.0
  • dependabot/pip/urllib3-2.6.0
  • deps
  • diagrams
  • disk
  • dlech-docs
  • dlech-multitasking
  • dlech-patch-1
  • dlech-usb
  • draw-text
  • drift
  • drivebase-circle
  • dualboot
  • dualboot2
  • dualboot3
  • dualbootdebug
  • dump_log_on_panic
  • dynamic-drivebase-alloc
  • ev3
  • ev3-am18x-lib
  • ev3-bat
  • ev3-battery-type
  • ev3-bluetooth-platform-data
  • ev3-bluetooth-scan
  • ev3-bump-u-boot
  • ev3-display
  • ev3-elf-firmware
  • ev3-fix-display
  • ev3-heap
  • ev3-ir
  • ev3-line
  • ev3-linker-cleanup
  • ev3-loop-time
  • ev3-merge
  • ev3-rebuild
  • ev3-startup
  • ev3-suart-fix
  • ev3-u-boot-fixes
  • ev3-uart
  • ev3-uart-ringbuffs
  • ev32
  • ev3rt
  • experimental-crash
  • fix
  • fix-2500
  • fix-526
  • fix-SPIPinControl
  • fix-block-device-test-nxt
  • fix-colorlight-matrix
  • fix-compiler-warning
  • fix-cross-crash
  • fix-elf-sections
  • fix-ev3-block-device-dma-channel
  • fix-except-stuff
  • fix-help-crash
  • fix-icon
  • fix-panic-bic
  • fix-pr-stats
  • fix-program-stop
  • fix-pupdevice
  • fix-race-eq-false
  • fix-ri-usb-ids
  • fix-shutdown
  • fix-system-class
  • fix-system-exit
  • fix-tilt
  • fix-uart-psc
  • fix-usb-tx-reset-await
  • fix-wait0
  • fixservostop
  • fixups
  • flash
  • flash-clean
  • fonts
  • frozencode
  • fstring-support
  • fwinfo
  • fwscript
  • gcc-11
  • generators
  • generators-motor
  • generators2
  • geometry
  • getchar
  • gyro
  • gyro-calibration
  • gyro-updates
  • gyro-work
  • handset-close-method
  • hmi
  • hold-wiggle
  • hostbuffer
  • hotplug
  • hsv
  • hsv-bicone-int
  • hsv-bicone-int-2
  • hub-menu
  • i2c
  • id
  • image-empty-fix
  • image-malloc
  • import-main-external
  • imu
  • install
  • interrupts
  • iodev
  • iodev-explore
  • iodevices
  • ioport
  • issue-1295
  • issue-1496
  • issue-2497
  • lego_port
  • legodev
  • legodev-ext
  • legodev-fixes
  • lightanimation
  • lights
  • limit-cc2640-broadcast
  • llsp
  • logger
  • lsm6ds3tr_c
  • lwp3
  • make-sys-battery-optional
  • master
  • matrix
  • merger2
  • micropython-change-qstr-hash-size
  • micropython-lib
  • micropython-rebase
  • micropython-v1.25
  • misc-fixes
  • mmu
  • model
  • motor-poll-fix-2
  • motor-test
  • motorprocess
  • motorprocess2
  • motors
  • motors-wip
  • movehub-errors
  • movehub-size
  • movehub-space
  • movehub-tilt
  • movehub-tilt2
  • mp_self_check
  • mpconfigport-junk
  • mpy-updates
  • mpyfeatures
  • mrp
  • multi-file-projects
  • multitask-3
  • multitask-wip
  • multitasking
  • nardtest
  • nonresolvable-private-address
  • nxt
  • nxt-display
  • nxt-usb
  • nxt4
  • nxt5
  • nxtmotor
  • nxtusb
  • observe-fix
  • observe_enable
  • observer
  • old-cleanups
  • orientation
  • os
  • oswip
  • patch-1
  • pb-task-shutdown
  • pbdrv-block-device
  • pbdrv-clock
  • pbdrv_bluetooth_generalize_transport
  • pbio-clean
  • pbio-mpy-v6.3
  • pbsys-download
  • pbsysrun
  • portmodes
  • power-button-debounce
  • pr135-rebase
  • print-crash-reproducer
  • pru-pwm
  • pv-usb
  • pybricks-v4.x
  • pybricks-v4a0
  • python-pre-commit
  • ram2
  • ram3
  • rc1
  • read-data
  • refs/tags/v3.0.0
  • refs/tags/v3.0.0a10
  • refs/tags/v3.0.0a11
  • refs/tags/v3.0.0a12
  • refs/tags/v3.0.0a13
  • refs/tags/v3.0.0a9
  • refs/tags/v3.0.0b1
  • refs/tags/v3.0.0b2
  • refs/tags/v3.0.0b3
  • refs/tags/v3.0.0b4
  • refs/tags/v3.0.0b5
  • refs/tags/v3.0.0b6
  • refs/tags/v3.0.0c1
  • refs/tags/v3.0.3b2
  • refs/tags/v3.1.0
  • refs/tags/v3.1.0a1
  • refs/tags/v3.1.0a2
  • refs/tags/v3.1.0a3
  • refs/tags/v3.1.0a4
  • refs/tags/v3.1.0c1
  • refs/tags/v3.2.0
  • refs/tags/v3.2.0b1
  • refs/tags/v3.2.0b2
  • refs/tags/v3.2.0b3
  • refs/tags/v3.2.0b4
  • refs/tags/v3.2.0b5
  • refs/tags/v3.2.0b6
  • refs/tags/v3.2.0c1
  • refs/tags/v3.2.1
  • refs/tags/v3.2.2
  • refs/tags/v3.2.3
  • refs/tags/v3.3.0b1
  • refs/tags/v3.3.0b2
  • refs/tags/v3.3.0b3
  • refs/tags/v3.3.0b4
  • relative-imports
  • remote
  • remove-swi
  • remove_ddr_unused
  • reset
  • rproc
  • run-from-ram
  • runanimation
  • runloop_simplify
  • sdcard
  • serial
  • set-user-storage-size
  • simplify-attributes
  • simulation
  • simulation-ci
  • simulation-socket
  • skip-big-rename-commit
  • slot
  • slots
  • sound-negative-duration
  • special-hub-methods
  • spi-flash
  • spiflash
  • stall
  • standard-import
  • status
  • status-cleanups
  • stdout-fixes
  • stm32flash
  • stop-anim-on-draw
  • storage
  • storage-reset
  • suart_remove_not_used
  • support-767
  • support-786
  • system
  • system-exit-text
  • technichub
  • telemetry
  • test
  • tests
  • toggle-bluetooth
  • trim-ti-lib
  • uart-buffer-length
  • uart-const
  • uart-debug
  • uart-debug-lwrb
  • uart-fixes-maybe
  • uart-process
  • uartdebug
  • uartdev
  • uarts
  • ubuntu-24.04
  • union
  • units
  • usb
  • usb-bt
  • usb-fixes
  • usb-stdio
  • usb-stdio-v2
  • usb-temporary-fix
  • usb-timeout
  • usb-work
  • use-normal-mp_obj_type_t
  • user-storage
  • v3.2.x
  • v3.3.0
  • v3.3.0b5
  • v3.3.0b6
  • v3.3.0b7
  • v3.3.0b8
  • v3.3.0b9
  • v3.3.0c1
  • v3.4.0
  • v3.4.0b1
  • v3.4.0b2
  • v3.4.0b3
  • v3.5.0
  • v3.5.0b1
  • v3.6.0
  • v3.6.0b1
  • v3.6.0b2
  • v3.6.0b4
  • v3.6.0b5
  • v3.6.1
  • v4.0.0b1
  • v4.0.0b2
  • v4.0.0b3
  • vcc-power-off-fix
  • virtual-hub
  • virtualhub
  • virtualhub-animator
  • virtualhub-simplified
  • virtualhub2
  • work
  • work-nxt
  • work2
  • work3
  • xbox-enum

11 Jul 2025 02:47PM UTC coverage: 57.162% (+0.02%) from 57.143%
16222907817

Pull #312

github

laurensvalk
pbio/protocol: Add slots info to hub capabilities and status.

In order to support multiple program slots, connected apps will need to
know how many slots are available on the hub and what the currently
selected slot is. These are added to the hub capabilities and status
report respectively and the Pybricks Profile version is bumped to 1.5.0.
Pull Request #312: pbio/protocol: add slots info to hub capabilities and status

5 of 6 new or added lines in 3 files covered. (83.33%)

1 existing line in 1 file now uncovered.

3915 of 6849 relevant lines covered (57.16%)

20532272.01 hits per line

Relevant lines Covered
Build:
Build:
6849 RELEVANT LINES 3915 COVERED LINES
20532272.01 HITS PER LINE
Source Files on dlech
  • Tree
  • List 123
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16222907817 dlech pbio/protocol: Add slots info to hub capabilities and status. In order to support multiple program slots, connected apps will need to know how many slots are available on the hub and what the currently selected slot is. These are added to the hub... Pull #312 11 Jul 2025 02:49PM UTC laurensvalk github
57.16
15950261413 dlech pbio/protocol: add slots info to hub capabilities and status In order to support multiple program slots, connected apps will need to know how many slots are available on the hub and what the currently selected slot is. These are added to the hub ... Pull #312 29 Jun 2025 01:44AM UTC dlech github
57.14
15948965312 dlech CONTRIBUTING: replace `poetry shell` poetry v2 no longer supports `poetry shell` (without a plugin). Replace it with `eval $(poetry env activate)` which works without a plugin. Pull #311 28 Jun 2025 10:56PM UTC dlech github
57.14
10753480758 dlech lib: vendor tinytest Upstream MicroPython is removing tinytest from it's source tree, so we need to make a copy of it so things don't break in future updates. push 07 Sep 2024 06:19PM UTC dlech github
56.04
10646113526 dlech bricks/_common/mpconfigport: enable MICROPY_PY_ASYNC_AWAIT MICROPY_PY_ASYNC_AWAIT is required to enable the StopAsyncIteration exception, which is needed at runtime for async for loops. Also enables async and await keywords in the compiler. push 31 Aug 2024 02:47PM UTC dlech github
55.96
10541899425 dlech pybricks.tools.run_task: call MICROPY_VM_HOOK_LOOP Since removing the gc_collect() from the run_task() loop, when setting loop_time_ms to 0, it was possible that the contiki events were never getting handled, causing random crashes due to watchdo... push 24 Aug 2024 10:19PM UTC dlech github
56.02
10535212967 dlech pybricks.tools: remove duplicate wait time clamp pbio_int_math_bind() already ensures that time >= 0, so we don't need to clamp it again later. push 24 Aug 2024 03:06AM UTC dlech github
56.02
10534984498 dlech github: update upload/download-artifact to v4 This fixes deprecation warnings when running the actions. push 24 Aug 2024 02:29AM UTC dlech github
56.02
10534853611 dlech pybricks/tools/pb_module_tools: remove gc_collect() from run loop gc_collect() can take a long time to run (milliseconds) which means that it isn't possible to get smaller loop times than that. This was here in the first place to help prevent fr... push 24 Aug 2024 02:11AM UTC dlech github
56.02
10533884744 dlech pybricks/util_mp/pb_kwarg_helper: namespace FOR_EACH_IDX This adds the PB_ namespace to FOR_EACH_IDX. This avoid conflicts with other libraries (e.g. zephyr) that may use FOR_EACH_IDX. push 24 Aug 2024 12:02AM UTC dlech github
56.02
See All Builds (3414)
  • Repo on GitHub
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

© 2025 Coveralls, Inc