Commit Graph

4277 Commits

Author SHA1 Message Date
Stefan Rueger
6490c18078 Merge pull request #1865 from stefanrueger/avrdude.pdf
Provide current avrdude.pdf documentation in repo root
2024-08-08 01:11:16 +01:00
Stefan Rueger
6f20b5d767 Merge pull request #1857 from ndim/doc-stop-building-dvi-and-ps
doc: Stop building and installing .ps and .dvi
2024-08-08 01:10:56 +01:00
Stefan Rueger
3cfce5ddb6 Merge pull request #1695 from ndim/improve-autotools-build-part-2
Improve autotools build (part 2/n)
2024-08-08 01:10:33 +01:00
Stefan Rueger
b28f24b222 Merge pull request #1637 from ndim/file-locations-in-docs
Use correct file locations in the documentation
2024-08-08 01:10:09 +01:00
Hans Ulrich Niedermann
c4d903e155 Use cmake libavrdude SOVERSION/VERSION for autotools
This transfers the information from the CMakeLists.txt
libavrdude VERSION and SOVERSION into the autotools
configure script and (partly) uses the information to
build the libavrdude.la libtool library.

At this time, VERSION must always be SOVERSION.0.0 for
this to work (and that is checked).
2024-08-07 00:53:50 +02:00
Hans Ulrich Niedermann
dfe14e63ae Only build and use libavrdude as a libtool library
As libtool is supposed to be able to build libraries for every
target system, we delegate library building to libtool and stop
building our own static libavrdude.a library.

You can control whether the static/dynamic library is built by
using the --(disable|enable)-(static|dynamic) configure flags.
2024-08-07 00:52:31 +02:00
Hans Ulrich Niedermann
a74c58b32a Keep workaround for no-dist-built-files not being available
As no-dist-built-files was only introduced in Automake 1.16.4,
we cannot rely on that feature being present and need to continue
using our own workaround.

This hooks the dist-hook in a more robust fashion in the face
of multiple dist-hook targets (and versioninfo.mk already uses
one).
2024-08-07 00:37:14 +02:00
Hans Ulrich Niedermann
0b82a1f124 CI: no need to install gettext for linux autotools test 2024-08-07 00:37:14 +02:00
Hans Ulrich Niedermann
50751ee5b3 configure.ac: Guard macros with m4_pattern_forbid
Guard m4 macro calls with m4_pattern_forbid for all
macros which do not come with Autoconf/Automake.

All other macros might not be present on the system,
and it is better to m4_pattern_forbid them and have
autoreconf fail, than to have autoreconf generate a
malformed broken configure script which then always
fails with a weird error message.
2024-08-07 00:37:14 +02:00
Hans Ulrich Niedermann
ef441f58d3 Elaborate comments on versioninfo_*
Elaborate a bit more on the VERSIONINFO_* and versioninfo_*
m4 macros. This should help me get back into things when I
come back to this in a year or so and have forgotten most
of the details.
2024-08-07 00:37:14 +02:00
mcuee
f06b436fe7 Update build.yml to add missing libusb-compat for macOS Homebrew 2024-08-06 15:52:41 +08:00
Stefan Rueger
af80e729d9 Provide current avrdude.pdf documentation in repo root 2024-08-03 16:55:00 +01:00
Stefan Rueger
0f4715441c Update News 2024-08-03 16:47:16 +01:00
Stefan Rueger
a4be96415e Merge pull request #1864 from stefanrueger/serno-jtag3
Provide -P usb:vid:pid for USB hid i/f and allow long -P usb:serno
2024-08-03 16:30:25 +01:00
Stefan Rueger
420c59f26a Merge pull request #1862 from stefanrueger/auto-erase
Refine auto-erase strategy
2024-08-03 16:29:38 +01:00
Stefan Rueger
3b9fc405dc Merge branch 'main' into auto-erase 2024-08-03 16:25:33 +01:00
Stefan Rueger
1c9996b4c7 Merge pull request #1859 from stefanrueger/lockbits-tpi-jpag3
Fix byte writes to TPI lockbits for jpag3.c
2024-08-03 16:22:41 +01:00
Stefan Rueger
b8ceffc040 Merge pull request #1856 from ndim/accept-pdcurses-as-ncurses
cmake: LIB_NCURSES also accept pdcurses
2024-08-03 16:21:31 +01:00
Stefan Rueger
bad3742af8 Merge pull request #1855 from MCUdude/ch342
Add more WCH USB to serial chips
2024-08-03 16:20:44 +01:00
Stefan Rueger
92d4db7262 Provide -P usb:vid:pid for USB hid i/f and allow long -P usb:serno 2024-08-03 16:14:45 +01:00
Stefan Rueger
375c406d23 Merge pull request #1853 from MCUdude/x-E-docs
Add missing documentation from #1844
2024-08-03 15:14:12 +01:00
Stefan Rueger
25e0ea3cba Merge pull request #1849 from stefanrueger/signature
Update look and feel
2024-08-03 15:12:43 +01:00
Stefan Rueger
fa587c291d Print return code as (rc = %d) in messages 2024-08-03 02:30:29 +01:00
Stefan Rueger
f3674c3a77 Move some selected _info() msgs to _notice() 2024-08-03 02:27:02 +01:00
Stefan Rueger
a91c0dbce4 Review imgs_ continuation messages 2024-08-03 01:54:16 +01:00
Stefan Rueger
ba29f69b74 Fix upper/lower case in messages 2024-08-03 01:04:29 +01:00
Stefan Rueger
385c2e6b10 Refine auto-erase strategy 2024-08-02 19:02:33 +01:00
Stefan Rueger
8132abbf71 Fix byte writes to TPI lockbits for jpag3.c 2024-08-02 14:11:49 +01:00
Stefan Rueger
0610c87f11 Compare verbose with symbolic MSG_ names 2024-08-02 00:44:06 +01:00
Stefan Rueger
a1b4c66447 Replace some function names in strings with __func__ 2024-08-02 00:20:32 +01:00
Stefan Rueger
d7702dc87d Move selected notice messages to other levels 2024-08-01 23:36:06 +01:00
Stefan Rueger
4374b44f60 Move selected notice2 messages to debug level 2024-08-01 22:57:10 +01:00
Hans Ulrich Niedermann
7ccd4bc7b8 doc: Stop building and installing .ps and .dvi
Building info, pdf, and HTML is enough.

ps and dvi are not needed any more.
2024-08-01 21:38:31 +02:00
MCUdude
08f5d260a3 Fix typo 2024-08-01 19:39:47 +02:00
MCUdude
850a19a490 Add more WCH SUB to serial chips
USB PIDs found here: https://github.com/WCHSoftGroup/ch343ser_linux/blob/main/driver/ch343.c
2024-08-01 19:34:13 +02:00
MCUdude
1a98ec4547 Add CH342 serial adapter 2024-08-01 19:05:39 +02:00
MCUdude
040ccc48e1 Add -E exitspec section 2024-08-01 15:34:06 +02:00
MCUdude
90caab6653 Tweak grammar 2024-08-01 15:30:38 +02:00
MCUdude
3e28f6fe10 add new -x parameters 2024-08-01 11:00:41 +02:00
MCUdude
62f808be1a Add exitspec section and add new -x parameters 2024-08-01 10:23:57 +02:00
Hans Ulrich Niedermann
cec14ad8ed cmake: LIB_NCURSES also accept pdcurses
The Fedora mingw environment comes with pdcurses, which states

> Note that ncurses is not available for MinGW / Windows.
> Applications which need curses functionality can use this
> package, provided they don't use any of the extensions
> specific to ncurses.

This at least allows the cross compile build to succeed, I
have not tested the executable under Windows or Wine.
2024-08-01 03:25:03 +02:00
Stefan Rueger
1e1ec0bdad Silence compiler warning 2024-08-01 01:25:44 +01:00
Stefan Rueger
d13a821159 Merge branch 'avrdudes:main' into signature 2024-08-01 01:20:44 +01:00
Stefan Rueger
cf0822bb71 Update look and feel 2024-08-01 01:17:24 +01:00
Stefan Rueger
6bb8b521d3 Silence compiler warnings 2024-07-31 23:07:31 +01:00
Stefan Rueger
42adfbd4e3 Fix typo 2024-07-31 22:53:27 +01:00
Stefan Rueger
f5117fffe0 Merge branch 'avrdudes:main' into signature 2024-07-31 20:47:20 +01:00
Stefan Rueger
20891991d2 Update NEWS 2024-07-31 17:29:30 +01:00
Stefan Rueger
bf3ca02fe0 Merge pull request #1850 from ndim/remove-svn-tags
Remove obsolete SVN $Id$ tags from source files
2024-07-31 17:03:11 +01:00
Stefan Rueger
0fe0470cfe Merge pull request #1844 from MCUdude/avr109-autorst
Extended parameters (`-x` and `-E`) improvements
2024-07-31 17:02:18 +01:00