Commit Graph

3583 Commits

Author SHA1 Message Date
stefanrueger
d5af013cc2 Provide str_frq() returning malloc'd frequency string with unit 2024-04-25 14:15:20 +00:00
Stefan Rueger
e014cfc9b0 Render double teardown() harmless in avrftdi.c 2024-04-22 16:15:32 +01:00
Stefan Rueger
9278b5655d Return LIBAVRDUDE_EXIT instead of exit() 2024-04-22 16:12:22 +01:00
Stefan Rueger
73eb16f3c8 Simplify FTDI port printing 2024-04-17 18:36:33 +01:00
Stefan Rueger
33525eff91 Simplify printed string length computation 2024-04-17 18:36:32 +01:00
Stefan Rueger
a65486b756 Simplify snprintf format 2024-04-17 18:36:32 +01:00
Stefan Rueger
bd42d5c07b Reduce scope of pinno variable 2024-04-17 18:36:32 +01:00
Stefan Rueger
be1f7ea5f1 Simplify interface expression 2024-04-17 18:36:32 +01:00
Stefan Rueger
faa1e22fc9 Introduce mmt_free() to free mmt_...() allocated memory 2024-04-17 18:36:31 +01:00
Stefan Rueger
c30a7b2005 Update error message for failed memory allocation 2024-04-17 18:36:31 +01:00
Stefan Rueger
3a41205507 Use mmt_malloc() for PDATA allocation 2024-04-17 18:36:31 +01:00
Stefan Rueger
6d41e6baa3 Move static struct pindef_t valid_pins_others to PDATA 2024-04-17 18:36:31 +01:00
Stefan Rueger
05b1226765 Move static struct pindef_t valid_pins[4] to PDATA 2024-04-17 18:36:30 +01:00
Stefan Rueger
925cb7c8af Adjust white space to exiting costum 2024-04-17 18:36:30 +01:00
Stefan Rueger
47fa0d2dff Move static struct pindef_t valid_pins to PDATA 2024-04-17 18:36:30 +01:00
Stefan Rueger
8fddac70eb Ensure valid buf access 2024-04-17 18:36:30 +01:00
Stefan Rueger
f6842c9000 Bring avrftdi's messaging into the msg_...() fold 2024-04-17 18:36:29 +01:00
Stefan Rueger
a3189140e1 Simplify format selection 2024-04-17 18:35:41 +01:00
Stefan Rueger
b71c29897b Protect buffer from potential overflow 2024-04-17 17:49:30 +01:00
Stefan Rueger
1bfbc2771d Move static char str[] to PDATA 2024-04-17 17:49:12 +01:00
Stefan Rueger
1ae28a7efa Make static functions greppable 2024-04-17 12:18:33 +01:00
Stefan Rueger
8fe729f0a2 Update NEWS 2024-04-17 00:40:54 +01:00
Stefan Rueger
5858898846 Merge pull request #1750 from stefanrueger/static-buspirate
Move static buffer to PDATA region in buspirate.c
2024-04-17 00:38:52 +01:00
Stefan Rueger
6aece29a34 Merge pull request #1749 from stefanrueger/deprecated
Remove deprecated ucr2 part
2024-04-17 00:38:37 +01:00
Stefan Rueger
4761a701ad Merge pull request #1725 from mhei/support-for-libgpiodv2
Add support for libgpiod v2+ API
2024-04-17 00:38:24 +01:00
Stefan Rueger
8231b36f85 Merge pull request #1733 from therealdreg/buspirate-hiz-and-pullups
Add buspirate hiz and pullups feature
2024-04-17 00:37:48 +01:00
Stefan Rueger
b00d601f92 Use mmt_malloc() macro instead of cfg_malloc() function 2024-04-17 00:25:07 +01:00
Stefan Rueger
c930a27871 Introduce magic memory tree 2024-04-17 00:23:39 +01:00
Dreg
cfc5c937d7 Update avrdude.texi 2024-04-16 02:39:52 +02:00
Dreg
97cd1aa541 Update avrdude.texi better doc
better doc
2024-04-16 02:37:35 +02:00
Stefan Rueger
9850a8f484 Use cfg_malloc() instead of calloc() 2024-04-16 00:54:59 +01:00
Stefan Rueger
cff9d889ed Make static const array local 2024-04-15 11:53:04 +01:00
Stefan Rueger
a5a94a08df Make static functions greppable 2024-04-15 11:42:22 +01:00
Stefan Rueger
af8d832f38 Make string variables local const 2024-04-15 11:39:20 +01:00
Stefan Rueger
94561c8205 Move static buffer to PDATA region 2024-04-14 22:56:18 +01:00
Michael Heimpold
ea701bc2f5 Add support for libgpiod v2+ API
libgpiod in version 2 or above introduced an API change which results
in compile error with the current code.

This commit adds some glue magic for the newer versions and
tries to detect the used libgpiod version based on the information
available in the pkg-config files.

At the moment, this eliminates the possibility to statically link
against this library.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-04-14 23:45:26 +02:00
Stefan Rueger
6488cb6102 Remove deprecated ucr2 part
It's been deprecated for a while now.
2024-04-14 22:24:12 +01: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