stefanrueger
d4308096a9
Differentiate LIBAVRDUDE_EXIT_FAIL and ..._EXIT_OK
...
LIBAVRDUDE_EXIT was introduced to allow driver function to tell main.c
that all is done and avrdude should exit(0) indicating success. For
example, processing the -x help options in the driver should exit.
There have been increasingly more situations when the driver function
needed to return and suppress error messages from the caller; for these
LIBAVRDUDE_EXIT was used but now avrdude wrongly indicated success to the
shell when it should indicate an error.
This commit replaces LIBAVRDUDE_EXIT with LIBAVRDUDE_EXIT_FAIL or
LIBAVRDUDE_EXIT_OK as appropriate indicating error or success to the
shell, respectively.
2025-10-31 20:02:37 +01:00
stefanrueger
635027289e
Update NEWS and avrdude.pdf
2025-10-31 19:19:17 +01:00
Stefan Rueger
e72ef9d2b2
Merge pull request #2060 from stefanrueger/bus-device
...
Ignore leading zeros in -P usb:<bus>:<device> numbers and improve `-P` documentation
2025-10-31 19:11:03 +01:00
Stefan Rueger
d25eaf796f
Merge branch 'main' into bus-device
2025-10-30 11:17:00 +01:00
stefanrueger
0e87b1f7c9
Improve error messaging for serial number mismatch
...
As advised by @MX682X
2025-10-30 10:31:28 +01:00
stefanrueger
e73695f013
Use symbolic return values in pickit5_open()
2025-10-30 10:28:23 +01:00
stefanrueger
7fa03f8306
Adjust spacing
2025-10-30 10:20:56 +01:00
stefanrueger
03b6a55af8
Mention programmers that ignore -P option in documentation
2025-10-27 11:29:09 +01:00
stefanrueger
e499f0ba5e
Rename bus:device to busdir:devicefile in documentation
2025-10-27 11:22:43 +01:00
stefanrueger
6e8d2f6b2a
Rename bus:device to busdir:devicefile for usbtiny.c
2025-10-27 11:22:12 +01:00
stefanrueger
4390275fc1
Rename bus:device to busdir:devicefile for usbasp.c
2025-10-27 11:21:52 +01:00
stefanrueger
1e29892abe
Reword serial number message
2025-10-27 11:21:01 +01:00
stefanrueger
a76b1b8773
Rename bus:device to busdir:devicefile for micronucleus.c
2025-10-27 11:20:01 +01:00
stefanrueger
0aeaa69ca9
Rename bus:device to busdir:devicefile for dfu.c
2025-10-27 11:19:23 +01:00
stefanrueger
ca36e3c47f
Warn that -P option is ignored for teensy
2025-10-24 11:36:28 +02:00
stefanrueger
6e59b6dd10
Warn that -P option is ignored for pickit2
2025-10-24 11:35:03 +02:00
stefanrueger
009aa3615f
Unify xxx_open() debug message for urclock
2025-10-24 11:33:00 +02:00
stefanrueger
37ef71b5a6
Unify xxx_open() debug message for ft245r
2025-10-24 11:25:32 +02:00
stefanrueger
f197504b80
Unify xxx_open() debug message for flip1/2
2025-10-24 11:24:04 +02:00
stefanrueger
d296cb5bee
Unify xxx_open() notice for jtagmkII
2025-10-24 10:39:22 +02:00
stefanrueger
df5c1734ea
Warn that -P option is ignored for ch341a
2025-10-24 10:29:25 +02:00
stefanrueger
af58933372
Warn that -P option is ignored for avrftdi
2025-10-24 10:27:37 +02:00
stefanrueger
d412131df5
Improve messaging
2025-10-23 23:39:59 +02:00
stefanrueger
f084de37e6
print notice when dfu device found
2025-10-23 15:51:53 +02:00
stefanrueger
0982d8d149
Print error message on wrong -P use for usbasp
2025-10-23 15:33:58 +02:00
stefanrueger
37a52cc401
Utilise str_busdev_eq() in dfu.c
2025-10-23 15:23:16 +02:00
stefanrueger
d759b35a71
Document pickit5 -P port use
2025-10-23 15:00:48 +02:00
stefanrueger
f44301d5bc
Allow pickit5 vid/pid be specified as 0
2025-10-23 14:44:12 +02:00
stefanrueger
a6553e80d3
Sharpen test for bus/device number
2025-10-23 13:39:40 +02:00
stefanrueger
f3009e7348
Document that usbasp serial number is matched from end
2025-10-23 12:35:46 +02:00
stefanrueger
2d63a1947a
Simplify usbasp -P port parsing
2025-10-23 12:32:36 +02:00
stefanrueger
7af83b47ce
Simplify usbtiny -P port parsing
2025-10-23 12:28:36 +02:00
stefanrueger
982af16f72
Simplify micronucleus -P port handling
2025-10-23 12:07:08 +02:00
stefanrueger
ae742bda5f
Remove unnecessary -P port parsing
2025-10-23 12:06:58 +02:00
stefanrueger
27a5434b59
Indent AVRISP-TPI-conection table
2025-10-22 23:49:53 +02:00
stefanrueger
5f4afb21f9
Indent Dragon PDI adapter table
2025-10-22 23:25:12 +02:00
stefanrueger
01f8b9c4a3
Indent JTAG ICE PDI adapter table
2025-10-22 23:23:51 +02:00
stefanrueger
4af43494f4
Indent default-port table
2025-10-22 23:17:43 +02:00
stefanrueger
0af648f129
Indent data suffix table
2025-10-22 23:16:08 +02:00
stefanrueger
ef3e37d37a
Indent data type table
2025-10-22 22:47:34 +02:00
stefanrueger
cda38d2876
Ensure memory segments stay within bounds
2025-10-22 22:40:42 +02:00
stefanrueger
c2e86d2229
Expand addr/len table for memory intervals
2025-10-22 22:35:55 +02:00
stefanrueger
48abc96d2b
Indent and beautify the pickit2 connection table
2025-10-22 20:46:57 +02:00
stefanrueger
c35c5f3074
Indent and beautify the rawfreq table
2025-10-22 20:45:18 +02:00
stefanrueger
ab784e9eda
Indent spifreq table
2025-10-22 20:43:13 +02:00
stefanrueger
22e3befe2b
Stylistic changes in texinfo documentation
2025-10-22 17:40:04 +02:00
stefanrueger
475a507f91
Replace @var with @code for literal constants
2025-10-22 15:39:46 +02:00
stefanrueger
b046c2514e
Clarify documentation on -P
2025-10-22 14:12:22 +02:00
stefanrueger
4303a45f74
Update multiple-USB-programmers troubleshooting
2025-10-22 13:29:42 +02:00
stefanrueger
4f35f929cf
Indent JTAG to ISP pin table
2025-10-22 13:01:51 +02:00