Commit Graph

3569 Commits

Author SHA1 Message Date
Stefan Rueger
f027e70cdf Rework butterfly_paged_load()
- Return correct value (number of bytes loaded)
 - Do not use m->desc for memory type: use mem_is_...(m)
2024-04-18 18:05:02 +01:00
Stefan Rueger
9305dae3f5 Move static cache to PDATA for butterfly_read_byte_flash() 2024-04-18 18:05:02 +01:00
Stefan Rueger
7de846054a Provide meaningful program_enable() method
It is customary for progammers to provide an enter-programming-mode method
in  the program_enable() and a leave-programming-mode in disable(). The
former was missing and might be useful for libavrdude applications.
2024-04-18 18:05:02 +01:00
Stefan Rueger
7c958ea306 Change error message in butterfly_vfy_cmd_sent() 2024-04-18 18:05:02 +01:00
Stefan Rueger
470d07c959 Explicitly ignore error checks for butterfly_drain() 2024-04-18 18:05:01 +01:00
Stefan Rueger
cfb040f184 Check return value of butterfly_recv() calls for errors 2024-04-18 18:05:01 +01:00
Stefan Rueger
e579554874 Check return value of butterfly_send() calls for errors 2024-04-18 18:04:49 +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
Dreg
a5035c09a2 pup->pullups 2024-04-05 10:21:14 +02: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
David Reguera Garcia
d9391883bc Update doc for buspirate hiz and pullups 2024-04-05 02:33:15 +02:00
David Reguera Garcia
93ed53733b Add hiz and pullups feature for buspirate binary mode 2024-04-05 02:30:33 +02:00
Stefan Rueger
cb61171598 Merge pull request #1724 from stefanrueger/progress-reporting
Document progress reporting in source code
2024-03-30 09:26:27 +13:00
Stefan Rueger
82e45130b8 Merge branch 'main' into progress-reporting 2024-03-30 09:19:22 +13:00
stefanrueger
840a098e29 Update NEWS 2024-03-30 09:16:44 +13:00
Stefan Rueger
22a7bf9be9 Merge pull request #1728 from stefanrueger/msg2_left_margin
Provide lmsg_xyz() functions to start message at left margin
2024-03-30 09:14:14 +13:00
mcuee
9b7d4d832b To use Static Libs for macOS arduino_packing build
This is pointed out by @umbynos during the review of PR #1690
2024-03-29 18:47:17 +08:00
Stefan Rueger
0f216357a6 Merge branch 'main' into msg2_left_margin 2024-03-29 23:24:53 +13:00
Joerg Wunsch
67867a6776 Update NEWS 2024-03-29 11:05:29 +01:00