Commit Graph

3549 Commits

Author SHA1 Message Date
Stefan Rueger
c930a27871 Introduce magic memory tree 2024-04-17 00:23:39 +01: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
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
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
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
Jörg Wunsch
8516243630 Merge pull request #1730 from stefanrueger/remove_avrdude_message
Remove unused avrdude_message()

Fixes #1719
2024-03-29 11:04:34 +01:00
Joerg Wunsch
39eea9649d Add note about why avrdude_message2() is named that way. 2024-03-29 10:23:08 +01:00
Joerg Wunsch
674128cebc Update NEWS for recent PR/issue 2024-03-29 10:18:43 +01:00
Jörg Wunsch
0ff5e84f10 Merge pull request #1727 from dl8dtl/fix-1726
Replace msg_info() by msg_debug() in jtag3_prmsg() and jtag3_prevent()

Closes #1726
2024-03-29 10:17:32 +01:00
stefanrueger
d91a48242e Remove unused avrdude_message() 2024-03-29 19:55:34 +13:00
stefanrueger
f027493e3f Change return type for avr_(ms|us)timestamp() to uint64_t 2024-03-29 19:42:07 +13:00
stefanrueger
a26c4343dc Keep vertical tab at start of format string as conditional new line 2024-03-29 13:56:17 +13:00
stefanrueger
7f9f82de2e Add MSG2_LEFT_MARGIN flag in lieu of \v messaging convention
Some messaging needs a functionality to end an open line, so that the next
message starts at the left margin, ie, the ability to print a \n if and
only if the last printed character was not already a \n.

This used to be effected by \v as first char in the message format.

This commit introduces a dedicated lmsg_xyz() set of messaging functions
that utilises a MSG2_LEFT_MARGIN flag to enforce a left margin start for
the message.
2024-03-29 13:43:22 +13:00
Joerg Wunsch
b00c284289 Replace msg_info() by msg_debug() in jtag3_prmsg() and jtag3_prevent()
Both these functions are called at verbosity level DEBUG and above,
so they must not produce INFO level messages.

Supposed to fix issue #1726
2024-03-28 10:18:31 +01:00
stefanrueger
07669a9d40 Document progress reporting in source code 2024-03-27 14:07:07 +13:00
stefanrueger
34366a6b9d Update test-avrdude help message 2024-02-29 20:26:57 +13:00
stefanrueger
27eb695c21 Update NEWS 2024-02-29 11:46:58 +13:00
Stefan Rueger
076e2e90cd Merge pull request #1709 from stefanrueger/benchmark
Add benchmark option `-b` for `test-avrdude`
2024-02-29 11:41:38 +13:00
Stefan Rueger
e5304a4d59 Merge pull request #1707 from ndim/fix-cmake-builds-related-to-ac_cfg.h
Fix cmake build errors related to ac_cfg.h
2024-02-29 11:41:17 +13:00
stefanrueger
71a9cb47b3 Keep case of part in test-avrdude -b -p "-p part ..." 2024-02-28 23:27:38 +13:00
stefanrueger
e35714b1ce Change 1-byte file upload for emulated chip erase 2024-02-28 22:14:28 +13:00
stefanrueger
64c5d1da0b Remove avrbench and generate 4-number benchmark table with legend 2024-02-28 22:07:18 +13:00
stefanrueger
61ed3dd18f Mention avrbench legend in test-avrdude -b summary 2024-02-27 23:14:31 +13:00
stefanrueger
82c001bab4 Drop chip erase and checking test for test-avrdude -b 2024-02-27 23:10:01 +13:00
stefanrueger
efd6bab19c Widen chip erase tests to also capture -c urclock emulation 2024-02-27 22:51:36 +13:00