172 Commits

Author SHA1 Message Date
Brian Pugh
de7d772578 more robust openocd launching mechanism v0.2.4 2023-10-26 17:15:47 -07:00
Brian Pugh
9a2f2bcdc3 more stability v0.2.3 2023-10-25 12:52:03 -07:00
Brian Pugh
13c04a246e Don't publish on workflow_dispatch v0.2.2 2023-10-25 11:35:54 -07:00
Brian Pugh
d254130eba remove build script to make installing from source distribution easier 2023-10-25 11:35:54 -07:00
Brian Pugh
504e1033a7 Fix zelda unlock itcm offset from 20 -> 0x20 v0.2.1 2023-10-25 09:55:48 -07:00
Brian Pugh
1bf27252cc fix README image URLs 2023-10-24 21:36:37 -07:00
Brian Pugh
ff86f18c65 Merge pull request #53 from BrianPugh/unlock
Unlock & Lock commands
v0.2.0
2023-10-24 21:29:01 -07:00
Brian Pugh
16e98d1c57 update help text in README 2023-10-24 21:27:05 -07:00
Brian Pugh
949a0d0906 Add lock command 2023-10-24 21:25:19 -07:00
Brian Pugh
ec669ca2e6 convert validate methods to classmethods 2023-10-24 21:14:58 -07:00
Brian Pugh
11b9b9a73b remove unlock skip flags, skip depending on file contents 2023-10-24 20:58:30 -07:00
Brian Pugh
e7fd23b518 fix context_counter on gnwmanager restart 2023-10-24 19:59:52 -07:00
Brian Pugh
93d1a26387 mostly working unlocking 2023-10-24 19:54:28 -07:00
Brian Pugh
d841e84a3b fix re-opening openocd backend 2023-10-24 17:28:26 -07:00
Brian Pugh
16061751da Add raspberry pi to README 2023-10-24 16:04:20 -07:00
Brian Pugh
24d7cedc0f update README 2023-10-24 15:50:47 -07:00
Brian Pugh
5493d35c8d faster default openocd speeds 2023-10-24 15:42:20 -07:00
Brian Pugh
235ad49c18 Add some connection retry logic 2023-10-24 15:30:54 -07:00
Brian Pugh
b2903b9cfa make openocd the default backend 2023-10-24 15:30:54 -07:00
Brian Pugh
314689a73b Change interactive shell exit depending on OS 2023-10-24 15:26:44 -07:00
Brian Pugh
0360955d1b Use windows-compatible temporary directory. 2023-10-24 15:26:44 -07:00
Brian Pugh
175f29b5d2 Merge pull request #48 from BrianPugh/openocd-backend
Openocd backend
2023-10-24 14:30:49 -07:00
Brian Pugh
92dc222611 Merge pull request #47 from BrianPugh/install-openocd
Install openocd + arm toolchain
2023-10-24 14:29:52 -07:00
Brian Pugh
6ac55ed0d9 centralize finding openocd executable 2023-10-24 09:49:35 -07:00
Brian Pugh
52acf8742d implement write_uint32 for openocd backend to fix atomic writes 2023-10-24 09:40:59 -07:00
Brian Pugh
74e0e52f36 kill openocd prior to launching 2023-10-24 09:14:10 -07:00
Brian Pugh
04b402c74b update readme with install command 2023-10-23 21:12:20 -07:00
Brian Pugh
b87bdaab3c Add arm-toolchain to install list 2023-10-23 21:12:20 -07:00
Brian Pugh
9b26a835e1 Add an 'install' command to install third party binaries 2023-10-23 21:12:20 -07:00
Brian Pugh
65da0d0bf8 replace assert with proper exception 2023-10-23 21:11:26 -07:00
Brian Pugh
2797a4c599 improve openocd throughput 2023-10-23 21:06:13 -07:00
Brian Pugh
eb85a0e1c2 fix too large write_memory chunks 2023-10-23 19:54:58 -07:00
Brian Pugh
7ef8113dda fix openocd write_memory 2023-10-23 19:45:20 -07:00
Brian Pugh
f6a708568b remove >=python3.9 type annotation 2023-10-23 19:37:13 -07:00
Brian Pugh
be4135bc09 fix openocd consuming stdin 2023-10-23 19:37:13 -07:00
Brian Pugh
24610558a0 gdbserver is automatically started with openocd 2023-10-23 19:37:13 -07:00
Brian Pugh
d9eea99659 more openocd wip 2023-10-23 19:37:13 -07:00
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