Joerg Wunsch
6440aa73d3
Review comments: stylistic changes in libavrdude.h
...
Remove obsolete avrdude_message().
Place inline comments at position 32.
2024-04-14 10:33:45 +02:00
Joerg Wunsch
22e4b5b3ce
Add some (exemplary) warnings about dangerous fuse values
...
Some fuse settings on some devices may be dangerous, like
disabling ISP, or changing the /RESET pin into a GPIO.
This adds some warning examples. Still does not consider
the actual programmer connection, but that could be added
in future.
2024-04-14 10:27:30 +02:00
Joerg Wunsch
4ab7e197ea
Merge branch 'main' into swig_libavrdude
2024-04-14 00:28:17 +02:00
Joerg Wunsch
4013eed998
Remove modality on help window
...
That way, users can operate the GUI while the help window is
displaying.
2024-04-14 00:14:58 +02:00
Stefan Rueger
428ea42634
Update NEWS
2024-04-13 12:41:16 +01:00
Stefan Rueger
1d3f028a0b
Merge pull request #1747 from stefanrueger/update-avrintel
...
Update avrintel files
2024-04-13 12:36:50 +01:00
Stefan Rueger
e10370e5fb
Merge pull request #1746 from stefanrueger/locate_programmer_starts_set
...
Check all programmer ids for exact match
2024-04-13 12:36:17 +01:00
Stefan Rueger
2ee89824e0
Merge pull request #1745 from stefanrueger/override-signature-check
...
Consult -F option when signature cannot be read
2024-04-13 12:35:08 +01:00
Stefan Rueger
b302e708be
Merge pull request #1741 from dl8dtl/msg_debug_fixes
...
Fix message levels in jtag3_print_data()
2024-04-13 12:34:22 +01:00
mcuee
d441501505
Adding arduino_packing_release github action ( #1690 )
...
Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com >
2024-04-13 12:33:09 +01:00
Stefan Rueger
ece8652162
Include <ac_cfg.h> instead of "ac_cfg.h"
...
See 9616b3709c
2024-04-13 00:59:26 +01:00
Stefan Rueger
1a46faaa6e
Check all ids of a programmer for exact match
2024-04-13 00:30:24 +01:00
Stefan Rueger
c53a3ed866
Match programmer names irrespective of case
2024-04-13 00:19:01 +01:00
Stefan Rueger
5361668c0e
No longer warn when part configuration disables SPI interface
...
SPI programming cannot disable SPI programming for the part configuration.
Hence. when another programming interface disables SPI that very same
interface can enable SPI again. The warning disabling SPI might brick the
part is therefore incorrect.
2024-04-12 23:28:35 +01:00
Stefan Rueger
3129ba277b
Update avrintel based on current atdf
2024-04-12 23:22:17 +01:00
Stefan Rueger
fdfa0ac10e
Consult -F option when signature cannot be read
2024-04-12 17:22:22 +01:00
Joerg Wunsch
82928d377d
Fix message levels in jtag3_print_data()
...
These are debugging functions, and not supposed to print at
MSG_INFO level.
2024-04-08 22:20:15 +02:00
Joerg Wunsch
5227dbe689
Fix message levels in jtag3_print_data()
...
These are debugging functions, and not supposed to print at
MSG_INFO level.
2024-04-08 22:17:51 +02:00
Joerg Wunsch
89d959b6bb
Workaround for a quite strange UnicodeDecodeError
...
Not really understood, but with level MSG_TRACE2, on a Curiosity Nano
board, I get two instances of unicode decode errors within the trace
messages. Trying to debug them did not yield any useful result, but
catching the exception, and enforcing the type to be "str" appear to
be able to continue.
Maybe an internal bug of my Python interpreter, don't know.
2024-04-08 22:03:30 +02:00
Joerg Wunsch
058f900ed2
Enlarge the fuses dialog
...
Virtually none of the messages would have fit into the small
initial size. Still looking for a more automatic solution,
but enlarging it might be a good first step to get things
better visible.
2024-04-07 23:43:16 +02:00
Joerg Wunsch
e39ad2c1ca
Our probe is actually for SWIG + Python3
...
Indicate so in the final configuration overview.
2024-04-07 23:20:59 +02:00
Joerg Wunsch
57bab83374
Replace deprecated Python distutils by "site" module.
2024-04-07 15:32:45 +02:00
Joerg Wunsch
aab76b9f29
First attempt of establishing an installation process
...
It installs the Python and .ui files under datadir/avrdude/
(e.g. /usr/bin/share/avrdude/), and a batch or shell script
to call it as avrdude-gui into the normal bin directory.
2024-04-07 13:52:55 +02:00
Joerg Wunsch
01ed0174d5
If the fuse has an alias name, use that as display name
...
avrX uses names like 'syscfg0' and so on in the datasheet, but
we refer to them as 'fuse<N>' internally.
2024-04-07 10:40:45 +02:00
Joerg Wunsch
56246e5c1c
Use correct Python3 CMake variables
2024-04-07 10:09:11 +02:00
Joerg Wunsch
9a8d5c1328
Replace PYTHONLIBS by PYTHON3 in CMakeLists.txt
...
https://cmake.org/cmake/help/latest/module/FindPython3.html
2024-04-07 09:55:15 +02:00
Joerg Wunsch
b39332d636
Probe for both, PySide6 as well as PySide2
...
The GUI is supposed to work on both versions.
2024-04-07 08:25:00 +02:00
Joerg Wunsch
b800d16481
Make the AVR logo class-internal data
...
This allows it to place it at the bottom of the file, so
the top area is not cluttered with lots of binary data.
2024-04-07 08:19:07 +02:00
Joerg Wunsch
6fb142dfee
Mention the % pattern in fuse file names.
2024-04-07 08:16:44 +02:00
Joerg Wunsch
0be9a8865d
Add help text
2024-04-07 01:07:04 +02:00
Joerg Wunsch
5f3dc74553
Handle fuse names of avrX devices
...
For avrX devices, fuses are named according to the datasheet,
rather than their internal naming "fuse<N>". So instead, use
the "memoffset" (which corresponds to <N>).
2024-04-07 00:15:32 +02:00
Joerg Wunsch
c03480a7d9
Initialize self.pgm and self.dev
2024-04-06 13:15:27 +02:00
Joerg Wunsch
69672a8470
Handle AVRMEM_ALIAS
...
Aliases are interesting for generic vs. datasheet names of
avrX fuses
2024-04-05 21:58:41 +02:00
mcuee
306d948bc5
No longer need to use CMAKE_VERBOSE_MAKEFILE
2024-04-05 20:24:56 +08:00
stefanrueger
f2b1c7e6cd
Update NEWS
2024-04-05 17:13:23 +13:00
Stefan Rueger
89768468be
Merge pull request #1731 from mcuee/avrdude_packing_fix
...
To use Static Libs for macOS arduino_packing build
2024-04-05 17:11:48 +13:00
Stefan Rueger
a8097eaee3
Merge pull request #1729 from stefanrueger/timestamp
...
Change return type for avr_(ms|us)timestamp() to uint64_t
2024-04-05 17:10:00 +13:00
stefanrueger
08f70fe666
Update NEWS
2024-04-05 16:54:16 +13:00
Joerg Wunsch
74f5ec3c65
Add a fuse configuration popup
...
When activating the context menu in one of the fuse value lineedit
fields, a popup is constructed that shows all the options for this
fuse, as an array of comboboxes. The data for this is from
avrintel.c.
2024-04-04 13:51:48 +02:00
Joerg Wunsch
e03820be72
Add default_fuse() helper
...
Synthesizes default fuse value
2024-04-04 13:50:06 +02:00
Joerg Wunsch
2efc3712f8
Fix 'invalid escape sequence' warning
...
Backslash in regular expression is best used by writing a raw
string.
2024-04-04 07:56:51 +02:00
Joerg Wunsch
ccaa3ddae7
Add layout to askfuse.ui
2024-04-03 21:25:48 +02:00
Joerg Wunsch
dd131bb616
Add layout to about.ui
2024-04-03 21:24:28 +02:00
Joerg Wunsch
926a776fd2
Add layouts for device and programmer selection
2024-04-03 21:23:34 +02:00
Joerg Wunsch
dafff152a3
Layout the device info popup
2024-04-03 21:09:07 +02:00
Joerg Wunsch
2bd7512739
Add layouts to memories.ui
2024-04-03 19:20:19 +02:00
Joerg Wunsch
0a45c8af6a
Add layout to adgui.ui
...
Also remove status bar - we use our logging area anyway.
2024-04-03 17:50:21 +02:00
Joerg Wunsch
35e1ad8c8f
Arrange the loglevel.ui into a layout
2024-04-03 17:46:32 +02:00
Joerg Wunsch
b86120cfa3
Add some examples how to deal with that configuration list
...
Nice way to analyze and synthesize fuse values.
2024-04-03 09:38:00 +02:00
Joerg Wunsch
3cedbee2e7
Make the loglevel popup a modal one.
...
No need being able to operate elswhere while it is up.
2024-04-03 09:27:39 +02:00