firestarter 2.0.1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. {firestarter-2.0.1 → firestarter-2.0.2}/PKG-INFO +7 -1
  2. {firestarter-2.0.1 → firestarter-2.0.2}/README.md +6 -0
  3. firestarter-2.0.2/firestarter/__init__.py +1 -0
  4. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/eprom_operations.py +4 -3
  5. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/main.py +9 -11
  6. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter.egg-info/PKG-INFO +7 -1
  7. firestarter-2.0.1/firestarter/__init__.py +0 -1
  8. {firestarter-2.0.1 → firestarter-2.0.2}/.github/scripts/update_version.py +0 -0
  9. {firestarter-2.0.1 → firestarter-2.0.2}/.github/workflows/publish.yml +0 -0
  10. {firestarter-2.0.1 → firestarter-2.0.2}/.github/workflows/release.yml +0 -0
  11. {firestarter-2.0.1 → firestarter-2.0.2}/.gitignore +0 -0
  12. {firestarter-2.0.1 → firestarter-2.0.2}/.vscode/launch.json +0 -0
  13. {firestarter-2.0.1 → firestarter-2.0.2}/LICENSE +0 -0
  14. {firestarter-2.0.1 → firestarter-2.0.2}/MANIFEST.in +0 -0
  15. {firestarter-2.0.1 → firestarter-2.0.2}/autocomplete.md +0 -0
  16. {firestarter-2.0.1 → firestarter-2.0.2}/doc/package-details.md +0 -0
  17. {firestarter-2.0.1 → firestarter-2.0.2}/doc/protocol-id.md +0 -0
  18. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/avr_tool.py +0 -0
  19. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/config.py +0 -0
  20. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/constants.py +0 -0
  21. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/data/database_generated.json +0 -0
  22. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/data/database_overrides.json +0 -0
  23. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/data/pin-maps.json +0 -0
  24. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/database.py +0 -0
  25. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/eprom_info.py +0 -0
  26. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/firmware.py +0 -0
  27. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/hardware.py +0 -0
  28. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/ic_layout.py +0 -0
  29. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/logging_utils.py +0 -0
  30. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/serial_comm.py +0 -0
  31. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter/utils.py +0 -0
  32. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter.egg-info/SOURCES.txt +0 -0
  33. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter.egg-info/dependency_links.txt +0 -0
  34. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter.egg-info/entry_points.txt +0 -0
  35. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter.egg-info/requires.txt +0 -0
  36. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter.egg-info/top_level.txt +0 -0
  37. {firestarter-2.0.1 → firestarter-2.0.2}/firestarter_test.sh +0 -0
  38. {firestarter-2.0.1 → firestarter-2.0.2}/pyproject.toml +0 -0
  39. {firestarter-2.0.1 → firestarter-2.0.2}/requirements.txt +0 -0
  40. {firestarter-2.0.1 → firestarter-2.0.2}/setup.cfg +0 -0
  41. {firestarter-2.0.1 → firestarter-2.0.2}/test.py +0 -0
  42. {firestarter-2.0.1 → firestarter-2.0.2}/things.md +0 -0
  43. {firestarter-2.0.1 → firestarter-2.0.2}/tools/infoic.xml +0 -0
  44. {firestarter-2.0.1 → firestarter-2.0.2}/tools/parse_db.py +0 -0
  45. {firestarter-2.0.1 → firestarter-2.0.2}/tools/pin-layouts.odt +0 -0
  46. {firestarter-2.0.1 → firestarter-2.0.2}/tools/verified.txt +0 -0
  47. {firestarter-2.0.1 → firestarter-2.0.2}/write_test.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: firestarter
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: EPROM programmer software for the Relatively Universal ROM Programmer
5
5
  Author-email: Henrik Olsson <henols@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/henols/firestarter_app
@@ -75,6 +75,8 @@ Support and discussions forum at [Discord](https://discord.com/invite/kmhbxAjQc3
75
75
  - [Using the Adapter Configuration](#using-the-adapter-configuration)
76
76
  - [Contributing](#contributing)
77
77
  - [License](#license)
78
+ - [Support me](#support-me)
79
+
78
80
 
79
81
  ## Installation
80
82
  To install the Firestarter Python program and the firmware on the Arduino, follow the steps below:
@@ -477,3 +479,7 @@ Please make sure to update tests as appropriate.
477
479
  ## License
478
480
  [MIT](https://raw.githubusercontent.com/henols/firestarter_app/main/LICENSE)
479
481
 
482
+ ## Support me
483
+ Support me on ko-fi to keep me motivated to continue to develop Firestarter.
484
+
485
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E21I2WWW)
@@ -44,6 +44,8 @@ Support and discussions forum at [Discord](https://discord.com/invite/kmhbxAjQc3
44
44
  - [Using the Adapter Configuration](#using-the-adapter-configuration)
45
45
  - [Contributing](#contributing)
46
46
  - [License](#license)
47
+ - [Support me](#support-me)
48
+
47
49
 
48
50
  ## Installation
49
51
  To install the Firestarter Python program and the firmware on the Arduino, follow the steps below:
@@ -446,3 +448,7 @@ Please make sure to update tests as appropriate.
446
448
  ## License
447
449
  [MIT](https://raw.githubusercontent.com/henols/firestarter_app/main/LICENSE)
448
450
 
451
+ ## Support me
452
+ Support me on ko-fi to keep me motivated to continue to develop Firestarter.
453
+
454
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E21I2WWW)
@@ -0,0 +1 @@
1
+ __version__ = "2.0.2"
@@ -32,11 +32,12 @@ logger = logging.getLogger("EpromOperator")
32
32
  bar_format = "{l_bar}{bar}| {n:#06x}/{total:#06x} bytes "
33
33
 
34
34
 
35
- def build_flags(ignore_blank_check=False, force=False, vpe_as_vpp=False, verbose=False):
35
+ def build_flags(blank_check=True, force=False, vpe_as_vpp=False, verbose=False, skip_erase=False):
36
36
  flags = 0
37
- if ignore_blank_check:
38
- flags |= FLAG_SKIP_ERASE
37
+ if not blank_check:
39
38
  flags |= FLAG_SKIP_BLANK_CHECK
39
+ if skip_erase:
40
+ flags |= FLAG_SKIP_ERASE
40
41
  if force:
41
42
  flags |= FLAG_FORCE
42
43
  if vpe_as_vpp:
@@ -95,9 +95,11 @@ def create_write_args(parser):
95
95
  add_eprom_completer(write_parser)
96
96
  write_parser.add_argument(
97
97
  "-b",
98
- "--ignore-blank-check",
99
- action="store_true",
100
- help="Ignore blank check before write (and skip erase).",
98
+ "--no-blank-check",
99
+ action="store_false",
100
+ dest="blank_check",
101
+ default=True,
102
+ help="Do not perform blank check before write (and skip erase).",
101
103
  )
102
104
  write_parser.add_argument(
103
105
  "-f",
@@ -154,9 +156,8 @@ def create_erase_parser(parser):
154
156
  erase_parser.add_argument(
155
157
  "-b",
156
158
  "--blank-check",
157
- action="store_false",
158
- default=True,
159
- dest="ignore_blank_check",
159
+ action="store_true",
160
+ dest="blank_check",
160
161
  help="Do a blank check after erase.",
161
162
  )
162
163
 
@@ -336,14 +337,11 @@ def create_oe_ce_args(parser):
336
337
 
337
338
 
338
339
  def build_arg_flags(args):
339
- ignore_blank_check = (
340
- args.ignore_blank_check if "ignore_blank_check" in args else False
341
- )
342
-
340
+ blank_check = getattr(args, "blank_check", True)
343
341
  force = args.force if "force" in args else False
344
342
  verbose = args.verbose if "verbose" in args else False
345
343
  vpe_as_vpp = args.vpe_as_vpp if "vpe_as_vpp" in args else False
346
- flags = build_flags(ignore_blank_check, force, vpe_as_vpp, verbose)
344
+ flags = build_flags(blank_check, force, vpe_as_vpp, verbose, skip_erase=not blank_check)
347
345
 
348
346
  if "input_enable" in args:
349
347
  flags |= 0 if args.input_enable else FLAG_OUTPUT_ENABLE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: firestarter
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: EPROM programmer software for the Relatively Universal ROM Programmer
5
5
  Author-email: Henrik Olsson <henols@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/henols/firestarter_app
@@ -75,6 +75,8 @@ Support and discussions forum at [Discord](https://discord.com/invite/kmhbxAjQc3
75
75
  - [Using the Adapter Configuration](#using-the-adapter-configuration)
76
76
  - [Contributing](#contributing)
77
77
  - [License](#license)
78
+ - [Support me](#support-me)
79
+
78
80
 
79
81
  ## Installation
80
82
  To install the Firestarter Python program and the firmware on the Arduino, follow the steps below:
@@ -477,3 +479,7 @@ Please make sure to update tests as appropriate.
477
479
  ## License
478
480
  [MIT](https://raw.githubusercontent.com/henols/firestarter_app/main/LICENSE)
479
481
 
482
+ ## Support me
483
+ Support me on ko-fi to keep me motivated to continue to develop Firestarter.
484
+
485
+ [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E21I2WWW)
@@ -1 +0,0 @@
1
- __version__ = "2.0.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes