258 Commits

Author SHA1 Message Date
Brian Pugh
cff28a39a3 CI: use proper poetry-dynamic-versioning 2023-09-27 15:16:56 -07:00
Brian Pugh
7598906330 update README instructions in preparation for pypi release 2023-09-27 14:57:36 -07:00
Brian Pugh
4fd52a10e0 suppress pyocd logging 2023-09-27 14:50:48 -07:00
Brian Pugh
51a2cc98db Use a publicly released pyocd 2023-09-27 14:44:10 -07:00
Brian Pugh
cb83d3ebb9 Merge pull request #36 from BrianPugh/unlock
WIP unlock command.
2023-09-27 14:37:01 -07:00
Brian Pugh
add9e1fc25 cleanup 2023-09-27 14:36:41 -07:00
Brian Pugh
935ae29502 wip 2023-09-27 14:27:37 -07:00
Brian Pugh
4b61b2e7ac persistent frequency across multiple opening/closing 2023-09-27 14:27:37 -07:00
Brian Pugh
db67c50b7b Move flashing logic from gnwmanager.cli.flash -> gnwmanager.gnw 2023-09-27 14:27:37 -07:00
Brian Pugh
93fbf59054 now use gnwmanager for initializing extflash and dumping; wip payload 2023-09-27 14:27:37 -07:00
Brian Pugh
e25e18d187 manually specify elf file for debug command 2023-09-27 14:27:37 -07:00
Brian Pugh
ff018d176f manual HAL_Delay; during the unlocking procedure interrupts aren't setup correctly. 2023-09-27 14:27:37 -07:00
Brian Pugh
6a87bf03b3 fix makefile 2023-09-27 14:27:37 -07:00
Brian Pugh
c234082ffa a little nicer backup messages; add --no-backup option 2023-09-27 14:27:37 -07:00
Brian Pugh
7cff5d9c26 unlocking wip: backup itcm and ext flash. 2023-09-27 14:27:37 -07:00
Brian Pugh
6037ab5045 unlock payload from ghidraninja 2023-09-27 14:27:37 -07:00
Brian Pugh
5116a57dee Update dependencies to use publicly released littlefs-python 0.8.0 2023-09-27 14:26:34 -07:00
pre-commit-ci[bot]
1841c8b8d2 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.0.291](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.290...v0.0.291)
2023-09-25 09:50:10 -07:00
dependabot[bot]
0186c241d7 Bump gitpython from 3.1.36 to 3.1.37
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.36 to 3.1.37.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.36...3.1.37)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 08:02:10 -07:00
dependabot[bot]
691a024b01 Bump autoregistry from 1.0.0 to 1.0.2
Bumps [autoregistry](https://github.com/BrianPugh/autoregistry) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/BrianPugh/autoregistry/releases)
- [Commits](https://github.com/BrianPugh/autoregistry/compare/v1.0.0...v1.0.2)

---
updated-dependencies:
- dependency-name: autoregistry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 08:02:01 -07:00
dependabot[bot]
4c41bc6c0a Bump typing-extensions from 4.7.1 to 4.8.0
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.7.1...4.8.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 10:49:13 -07:00
dependabot[bot]
69564fcda9 Bump pillow from 10.0.0 to 10.0.1
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.0...10.0.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 10:48:26 -07:00
dependabot[bot]
71d4bafbc9 Bump gitpython from 3.1.35 to 3.1.36
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.35 to 3.1.36.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.35...3.1.36)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 10:45:27 -07:00
dependabot[bot]
1d5a9f3b0b Bump rich from 13.5.2 to 13.5.3
Bumps [rich](https://github.com/Textualize/rich) from 13.5.2 to 13.5.3.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Textualize/rich/compare/v13.5.2...v13.5.3)

---
updated-dependencies:
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 10:45:17 -07:00
pre-commit-ci[bot]
d0466e3f7b [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.290](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.290)
- [github.com/RobertCraigie/pyright-python: v1.1.326 → v1.1.327](https://github.com/RobertCraigie/pyright-python/compare/v1.1.326...v1.1.327)
2023-09-20 10:45:06 -07:00
dependabot[bot]
8f1bef7393 Bump pytest from 7.4.1 to 7.4.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 11:46:24 -07:00
dependabot[bot]
54900e0e57 Bump coverage from 7.3.0 to 7.3.1
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.3.0...7.3.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 11:46:13 -07:00
dependabot[bot]
2c903dbf7f Bump gitpython from 3.1.34 to 3.1.35
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.34 to 3.1.35.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.34...3.1.35)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 11:46:05 -07:00
pre-commit-ci[bot]
0343f37179 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1)
- [github.com/RobertCraigie/pyright-python: v1.1.325 → v1.1.326](https://github.com/RobertCraigie/pyright-python/compare/v1.1.325...v1.1.326)
2023-09-12 11:45:48 -07:00
dependabot[bot]
5bfe0b6ea4 Bump pyelftools from 0.29 to 0.30
Bumps [pyelftools](https://github.com/eliben/pyelftools) from 0.29 to 0.30.
- [Changelog](https://github.com/eliben/pyelftools/blob/master/CHANGES)
- [Commits](https://github.com/eliben/pyelftools/compare/v0.29...v0.30)

---
updated-dependencies:
- dependency-name: pyelftools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 11:45:36 -07:00
Brian Pugh
bb33187a42 funding 2023-09-08 20:46:50 -07:00
Brian Pugh
cc67a8ab89 swap out wwdg with iwdg 2023-09-08 19:56:34 -07:00
Brian Pugh
9fceb12d86 Merge pull request #14 from BrianPugh/dependabot/pip/sphinx-7.1.2
Bump sphinx from 6.2.1 to 7.1.2
2023-09-08 10:12:03 -07:00
Brian Pugh
b5457bf5e3 Merge pull request #19 from marian-m12l/error_handler
Use error handler in fault interrupts
2023-09-06 17:18:41 -07:00
marian
1dead44763 use error handler in fault interrupts 2023-09-06 22:53:21 +02:00
dependabot[bot]
693ac3c1f1 Bump pytest from 7.4.0 to 7.4.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:58:02 -07:00
dependabot[bot]
c3b7606b34 Bump pre-commit from 3.3.3 to 3.4.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.3...v3.4.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:53:09 -07:00
pre-commit-ci[bot]
2bd97304c1 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.286 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.286...v0.0.287)
- [github.com/RobertCraigie/pyright-python: v1.1.324 → v1.1.325](https://github.com/RobertCraigie/pyright-python/compare/v1.1.324...v1.1.325)
2023-09-05 09:52:48 -07:00
dependabot[bot]
5306288eea Bump gitpython from 3.1.32 to 3.1.34
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.32 to 3.1.34.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.32...3.1.34)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:50:25 -07:00
Brian Pugh
fa7809a5ba fix Error_Handler exiting when optimizations are on. 2023-09-04 20:21:49 -07:00
Brian Pugh
17693bd5df fix bank2 flashing above 128KB 2023-09-04 15:16:51 -07:00
dependabot[bot]
d3029e31aa Bump sphinx from 6.2.1 to 7.1.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 6.2.1 to 7.1.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v6.2.1...v7.1.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 11:53:19 +00:00
Brian Pugh
fbdfbe3976 Refactor flash command to allow an absolute address location 2023-08-31 16:37:31 -07:00
Brian Pugh
a52eb23eea Add --halt flag to start command 2023-08-31 16:36:55 -07:00
Brian Pugh
79c5f4b961 Update readme help output 2023-08-30 21:50:48 -07:00
Brian Pugh
18cc184205 Update README.md 2023-08-30 21:49:27 -07:00
Brian Pugh
03377f60b3 Merge pull request #13 from BrianPugh/dejank
Abstract out the OCD backend, properly abstract things.
2023-08-30 21:47:52 -07:00
Brian Pugh
25d6b91eb4 use main repo pyocd develop 2023-08-30 21:43:17 -07:00
Brian Pugh
0a6a5f5451 skip pyright in pre-commit.ci; doesnt work on their platform 2023-08-30 16:39:48 -07:00
Brian Pugh
a04274b7b8 update readme 2023-08-30 16:02:10 -07:00