285 Commits

Author SHA1 Message Date
Brian Pugh
ed0b1c4343 Correctly handle response 2023-10-23 19:37:13 -07:00
Brian Pugh
1de11ec0f9 openocd autodetect 2023-10-23 19:37:13 -07:00
Brian Pugh
4bdac51846 launch openocd in a subprocess, still need to setup probe 2023-10-23 19:37:13 -07:00
Brian Pugh
ff042a5e30 import OpenOCDBackend 2023-10-23 19:37:13 -07:00
Brian Pugh
12f819f77f a lot of the openocd backend implementation (untested) 2023-10-23 19:37:13 -07:00
Brian Pugh
c04666efe0 OpenOCDBackend skeleton 2023-10-23 19:37:13 -07:00
Brian Pugh
e300ddc4bf fix flashing to bank 2 2023-10-23 19:36:46 -07:00
Brian Pugh
635b17cdb8 Allow -h for help. Fix -v launching the gnwmanager device app 2023-10-23 16:32:32 -07:00
Brian Pugh
5dab0728ac poetry update 2023-10-22 14:49:59 -07:00
Brian Pugh
3eed0d026b pre-commit autoupdate 2023-10-22 14:48:48 -07:00
Brian Pugh
aabcef5995 Abstract out backend-specfic errors 2023-10-22 14:47:58 -07:00
pre-commit-ci[bot]
a3238b5eaf [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/RobertCraigie/pyright-python: v1.1.330.post0 → v1.1.331](https://github.com/RobertCraigie/pyright-python/compare/v1.1.330.post0...v1.1.331)
2023-10-16 10:15:38 -07:00
dependabot[bot]
e30fb6eefb Bump pre-commit from 3.4.0 to 3.5.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.4.0 to 3.5.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.4.0...v3.5.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-10-16 09:14:01 -07:00
dependabot[bot]
9ca722dbc2 Bump pillow from 10.0.1 to 10.1.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.1 to 10.1.0.
- [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.1...10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 09:11:34 -07:00
Brian Pugh
db9056960f fix <python3.11 to_bytes non-optional args v0.1.1 2023-10-13 14:32:24 -07:00
dependabot[bot]
a4cbc0985d Bump coverage from 7.3.1 to 7.3.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.1 to 7.3.2.
- [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.1...7.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 09:31:06 -07:00
pre-commit-ci[bot]
77d80cf3ba [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.291 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.291...v0.0.292)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](https://github.com/codespell-project/codespell/compare/v2.2.5...v2.2.6)
- [github.com/RobertCraigie/pyright-python: v1.1.329 → v1.1.330.post0](https://github.com/RobertCraigie/pyright-python/compare/v1.1.329...v1.1.330.post0)
2023-10-09 09:30:49 -07:00
dependabot[bot]
657a4306b4 Bump autoregistry from 1.0.2 to 1.0.3
Bumps [autoregistry](https://github.com/BrianPugh/autoregistry) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/BrianPugh/autoregistry/releases)
- [Commits](https://github.com/BrianPugh/autoregistry/compare/v1.0.2...v1.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 08:56:44 -07:00
pre-commit-ci[bot]
f17c364fa0 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/RobertCraigie/pyright-python: v1.1.327 → v1.1.329](https://github.com/RobertCraigie/pyright-python/compare/v1.1.327...v1.1.329)
2023-10-02 09:45:21 -07:00
dependabot[bot]
c502bfd849 Bump rich from 13.5.3 to 13.6.0
Bumps [rich](https://github.com/Textualize/rich) from 13.5.3 to 13.6.0.
- [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.3...v13.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 09:06:12 -07:00
Brian Pugh
c2c67ae7e9 update readme image for pypi 2023-09-27 21:16:01 -07:00
Brian Pugh
d844079670 CI build/publish revamp v0.1.0 2023-09-27 21:06:07 -07:00
Brian Pugh
430cfcad98 try dubious ownership workaround 2023-09-27 20:43:47 -07:00
Brian Pugh
5844d9cd38 CI install gcc-arm-none-eabi prior to building 2023-09-27 16:18:37 -07:00
Brian Pugh
228b50da2f Update issue templates 2023-09-27 15:48:51 -07:00
Brian Pugh
5bcdeca2d3 initial bug report template 2023-09-27 15:44:19 -07:00
Brian Pugh
819110acae add social preview 2023-09-27 15:39:20 -07:00
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