Skip to content

v0.16.0

Compare
Choose a tag to compare
@flit flit released this 03 Feb 23:20
95c3839

New features

  • Initial enablement of target support through CMSIS Device Family Packs. Pass the --pack argument to the pyocd tool, or set the pack session option in a config file. Any devices defined in the specified pack(s) become available as targets.
  • "erase" gdbserver monitor command. It accepts the same arguments as the pyocd erase subcommand.

Boards and targets

  • Cypress PSoC6 CY8C6xx7 and CY8C6xxA targets and related boards.
  • Maxim MAX32625 target and related board.
  • Added STM32L031x6 target. (Thanks @michieldwitte!)
  • Fixed the memory map for STM32F412xG. (Thanks @anthrax-0!)

Changes

  • New Target.ResetType enumeration.
  • Much improved reset configuration. CortexM has default_reset_type and default_software_reset_type properties. Software reset is used by default, and the default software reset depends on whether the core is the primary or a secondary core.
  • New emulated software reset type for v6-M and v8-M devices that don't support VECTRESET.
  • Presenting a standard VFP view to GDB.
  • Nonstandard erased flash value can be set on a FlashRegion object with the erased_byte_value attribute.
  • Builtin targets were moved to pyocd.target.builtin.

Fixes

  • Fixed an issue with STLink communication by forcing the probe out of DFU mode on connection. (Thanks @michieldwitte!)
  • Addressed a potential divide-by-zero error in FlashLoader if no data was written to flash.
  • Invalid addresses in hex files will be ignored rather than raise an exception. Some vendors put metadata in hex files as invalid addresses.