From 6b9ce6d81ac6a2c79e42173b877d9fa1a753b63c6acae7d9bcac23de07f31b8f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Nov 2024 21:04:00 +0000 Subject: [PATCH] - update to 0.36.0: * Allow FlashBuilder to work when program page size is larger than sector erase size (@BrianPugh) * Very basic implementation to get a "connect" LED status display (@rgrr) * Add Trace Funnel Coresight component (@rapgenic) * Cortex-M CPU type detection improvements * Debug sequences: support pname on DebugPort* sequences * Add MAX32666FTHR board (@ozersa) * Add STMicro STM32 H743 and H723 targets (@unsanded) * nRF91 family improvements (@maxd-nordic) * Add HDSC HC32F448 hc32a460xe and hc32a4a0xi. (@lennvn) * Add airm2m air001 target (@kaidegit) * Add airm2m air32f103 target (@HalfSweet) * Add STMicro STM32H7B0 Target (@BrianPugh) * Add NXP S32K344 target (@PetervdPerk-NXP) * Add Realtek RTL8762C (@suphammer) * Add some missing ST and NXP board IDs * Fix HC32l130 32k+ flash error (@kaidegit) * Fix HC32L13x size and enable double buffering (@kaidegit) * Infineon PSoC6: remove unnecessary sleep during reset (@te- johan) * Remove part number match for NXP MIMXRTxxxx series family * RTT: fix CB not found (@tdasika) * CMSIS-DAP: Windows performance regression fix * Debug sequences: fix assignment expressions. * flash: fix some type errors, sort imports * Removed extraneous space character in the default `cortex_m` target warning message (@BenjaminSoelberg) * Flash loader: fix missing import of RamRegion OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOCD?expand=0&rev=14 --- pyocd-0.22.0.tar.gz | 3 -- pyocd-0.36.0.tar.gz | 3 ++ python-pyOCD.changes | 114 +++++++++++++++++++++++++++++++++++++++++++ python-pyOCD.spec | 14 ++---- 4 files changed, 120 insertions(+), 14 deletions(-) delete mode 100644 pyocd-0.22.0.tar.gz create mode 100644 pyocd-0.36.0.tar.gz diff --git a/pyocd-0.22.0.tar.gz b/pyocd-0.22.0.tar.gz deleted file mode 100644 index 88133d6..0000000 --- a/pyocd-0.22.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:522e1af3529efb2609286d29f755c81343d8f33cd4b3c766761195d44a348f4e -size 6784426 diff --git a/pyocd-0.36.0.tar.gz b/pyocd-0.36.0.tar.gz new file mode 100644 index 0000000..13b7822 --- /dev/null +++ b/pyocd-0.36.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:937782acc9daff054d50fb7c6f788cd94a84f80f0b85f25aacab99dc98228648 +size 15571415 diff --git a/python-pyOCD.changes b/python-pyOCD.changes index 61e0cc6..16e9f1f 100644 --- a/python-pyOCD.changes +++ b/python-pyOCD.changes @@ -1,3 +1,117 @@ +------------------------------------------------------------------- +Mon Nov 11 21:01:24 UTC 2024 - Dirk Müller + +- update to 0.36.0: + * Allow FlashBuilder to work when program page size is larger + than sector erase size (@BrianPugh) + * Very basic implementation to get a "connect" LED status + display (@rgrr) + * Add Trace Funnel Coresight component (@rapgenic) + * Cortex-M CPU type detection improvements + * Debug sequences: support pname on DebugPort* sequences + * Add MAX32666FTHR board (@ozersa) + * Add STMicro STM32 H743 and H723 targets (@unsanded) + * nRF91 family improvements (@maxd-nordic) + * Add HDSC HC32F448 hc32a460xe and hc32a4a0xi. (@lennvn) + * Add airm2m air001 target (@kaidegit) + * Add airm2m air32f103 target (@HalfSweet) + * Add STMicro STM32H7B0 Target (@BrianPugh) + * Add NXP S32K344 target (@PetervdPerk-NXP) + * Add Realtek RTL8762C (@suphammer) + * Add some missing ST and NXP board IDs + * Fix HC32l130 32k+ flash error (@kaidegit) + * Fix HC32L13x size and enable double buffering (@kaidegit) + * Infineon PSoC6: remove unnecessary sleep during reset (@te- + johan) + * Remove part number match for NXP MIMXRTxxxx series family + * RTT: fix CB not found (@tdasika) + * CMSIS-DAP: Windows performance regression fix + * Debug sequences: fix assignment expressions. + * flash: fix some type errors, sort imports + * Removed extraneous space character in the default `cortex_m` + target warning message (@BenjaminSoelberg) + * Flash loader: fix missing import of RamRegion + * coresight: adiv5 discovery: increment invalid AP count on + exception + * cortex-m: reset_halt: just warn about invalid T-bit, don't + automatically fix + * commands: reset: fall back to reset via probe if context has + no selected core + * Only create one session to access options when there's no + current session, to reduce debug log message output. +- update to 0.35.1: + * debug sequences: support [uU] suffix on integer literals + * commands: `show accessible-pins`: fix function call, print + GPIO pins + * commands: `show locked`: fix misspelled "target" + * coresight: dap: revert API change to add DebugPort param to + DPConnector constructor (in particular, this broke the NXP + SPSDK tool's pyOCD support) + * manifest: add sequences.lark + * code quality: do not use bare exception handler +- update to 0.35.0: + * With this release, Python 3.6 is no longer supported. The + minimum Python version is now 3.7.0. + * cmsis-packs: debug sequence support; see the documentation + for details + * rtt: add RTT support to gdbserver via the addition of an + `rtt` command (thanks @samueldewan) + * rtt: add logging function to rtt sub-command (thanks + @zjli-2019) + * coresight: cortex-m: 'primary_core' option + * subcommands: Python tracebacks are no longer printed unless + debug logging is enabled (the `debug.traceback` option is + disabled by default) + * object graph nodes have names now, accessible with the + `.node_name` attribute + * board and SoC nodes have default names of "board" and "soc" + * CPUs will have a default (uniquified) name of the CPU type, + or a custom name specified in a DFP + * these names are visible in some of the commands such as `show + cores` or `show graph`, and can be used in commands such as + `core` (to select the core that commands apply to) + * memory map: memory regions can have subregions; this is used + for flash memory regions to explicitly support multiple + sector sizes and/or flash algorithms + * target: added generic `sw_system` and `sw_core` reset types + (aliased as `system` and `core`, with + `Target.ResetType.SW_SYSTEM` and `Target.ResetType.SW_CORE` + enums in the API), corresponding to the existing + `sysresetreq` and `vectreset` reset types + * target: `.supported_reset_types` property returns a list of + allowed reset type enums + * flash: add `--no-reset` option to prevent resetting of device + after programming (thanks @nordicjm) + * flash: memory regions are now created when a DFP specifies an + algorithm without also defining a corresponding memory + region, as long as that algorithm is marked as default + * core: `cache.enable_memory` and `cache.enable_register` + session options to control the memory and register cache used + by the gdb server + * commands: add `show sequences` command + * commands: add `reset-type` value to show and set current + reset type and view available reset types + * commands: new `sleep` command + * commands: add `pins` and `accessible-pins` values + * api: debug probe pins API + * dependency: bump minimum cmsis-pack-manager version to 0.5.2 + * dependencies: bump pylink-square to minimum v1.0 (thanks + * probe: accept WCH-Link as DAPv1 (thanks @eugene-bright) + * probe: cmsis-dap: add "CMSIS_DAP" to known device strings + * probe: stlink: cache board IDs to improve connect time + * semihosting: ensure directories exist before opening a file + (thanks @Hoohaha) + * RTOS: Catch TransferErrors during kernel state checks (thanks + @imi415) + * flash: catch exceptions while fetching state (thanks @maxd- + nordic) + * coresight: discovery: continue after an AP probe failure + occurs + * core: soc_target: options to control memory and register + cache enablement + * trace: minor trace logging improvements + * commands: reinit: set exec context attrs to defaults + ------------------------------------------------------------------- Thu Jul 27 07:25:56 UTC 2023 - Steve Kowalik diff --git a/python-pyOCD.spec b/python-pyOCD.spec index 28e00e3..fc95460 100644 --- a/python-pyOCD.spec +++ b/python-pyOCD.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyOCD # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-pyOCD -Version: 0.22.0 +Version: 0.36.0 Release: 0 Summary: CMSIS-DAP debugger for python License: Apache-2.0 @@ -31,7 +31,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-usb Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Provides: python-pyocd = %{version} Obsoletes: python-pyocd < %{version} BuildArch: noarch @@ -49,28 +49,20 @@ On-chip debugger and flasher tool for ARM microcontrollers. %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/pyocd -%python_clone -a %{buildroot}%{_bindir}/pyocd-flashtool %python_clone -a %{buildroot}%{_bindir}/pyocd-gdbserver -%python_clone -a %{buildroot}%{_bindir}/pyocd-tool %python_expand %fdupes %{buildroot}%{$python_sitelib} %post %python_install_alternative pyocd -%python_install_alternative pyocd-flashtool %python_install_alternative pyocd-gdbserver -%python_install_alternative pyocd-tool %postun %python_uninstall_alternative pyocd -%python_uninstall_alternative pyocd-flashtool %python_uninstall_alternative pyocd-gdbserver -%python_uninstall_alternative pyocd-tool %files %{python_files} %python_alternative %{_bindir}/pyocd -%python_alternative %{_bindir}/pyocd-flashtool %python_alternative %{_bindir}/pyocd-gdbserver -%python_alternative %{_bindir}/pyocd-tool %{python_sitelib}/pyocd %{python_sitelib}/pyocd-%{version}.dist-info