bloombloombloom / Bloom

A debug interface for AVR-based embedded systems development on GNU/Linux.
https://bloom.oscillate.io/
Other
64 stars 3 forks source link

Support for hardware breakpoints #90

Closed navnavnav closed 9 months ago

navnavnav commented 9 months ago

Currently, Bloom only supports software breakpoints. It doesn't make use of any hardware breakpoints on the target.

I have a rough idea of how this can be implemented. I'd like to get this into the v1.0.0 release.

More to follow.

navnavnav commented 9 months ago

Development work for this is complete. Bloom will now make use of any hardware breakpoint resources available on the connected target.

Once all hardware breakpoints have been used, Bloom will fall back to software breakpoints.

This new functionality is enabled by default but can be disabled via the new hardwareBreakpoints target config param:

target:
  name: "atmega4809"
  physicalInterface: "updi"
  hardwareBreakpoints: true

Setting hardwareBreakpoints to false will prevent Bloom from making use of any hardware breakpoints.

These changes have been merged into the develop branch and will be included in the v1.0.0 release. Closing this now.