Commit Graph

4742 Commits

Author SHA1 Message Date
Stefan Rueger
d8c8cf1379 Update version to 8.0 v8.0 2024-08-24 21:51:00 +01:00
Stefan Rueger
943ee419b6 Update NEWS 2024-08-24 19:14:15 +01:00
Stefan Rueger
821d5b0ad1 Merge pull request #1911 from stefanrueger/jtagmkII
Iron out some problems in jtagmkII
2024-08-24 19:11:25 +01:00
Stefan Rueger
ac5c4b9ccd Merge pull request #1910 from ndim/guard-against-zombie-problems
Add checks for zombie sourcecode problems
2024-08-24 19:10:45 +01:00
Stefan Rueger
706336c40c Merge pull request #1888 from ndim/ci-test-running-built-avrdude
CI: test running the built avrdude executable
2024-08-24 19:10:08 +01:00
Stefan Rueger
ca6e0793f5 Merge pull request #1874 from ndim/parport-build-test
Parport build test
2024-08-24 19:09:51 +01:00
Stefan Rueger
19279e33f8 Fix flash paged r/w for jtagmkII
There were several problems with page_erase():
  - Read cache not invalidated on writes to boot and apptable
  - PDI apptable and boot memories paged access can get addresses wrong
2024-08-24 18:04:18 +01:00
Stefan Rueger
0c463fad92 Fix page erase for jtagmkII
There were several problems with page_erase():
 - Not working on UPDI eeprom/usersig memories: write a page of 0xff instead
 - Read cache not invalidated on page erase
 - PDI apptable and boot memories page erase possibly erases wrong page
2024-08-24 17:56:41 +01:00
Stefan Rueger
93b512de70 Change memory category for classic page erase in jtag3.c 2024-08-24 17:47:00 +01:00
Hans Ulrich Niedermann
c677974137 ci: Where possible, dryrun tests on uninstalled avrdude
This tries running the uninstalled avrdude executable, both
with -? and for test-avrdude.

Tests on installed avrdude are kept where they exist,
but not added for all possible platforms.

Quick table showing

  * -? testing of built avrdude (print the usage)
  * dryrun testing of built avrdude before installation
  * installation of avrdude
  * dryrun testing of installed avrdude

and whether that happens/succeeds/fails:

                              run    test              test
                               -?    built   install   installed
    linux-x86_64-autotools  | yes  | succ  | yes     | succ
    linux-x86_64            | yes  | succ  | yes     | succ
    linux (cross-compile)   | yes# | n/a   | no      | <--
    macos-x86_64            | yes  | succ  | no      | <--
    macos-x86_64-autotools  | yes  | succ  | no      | <--
    msvc                    | yes* | succ  | broken  | <--
    mingw                   | yes  | fail  | no      | <--

 # Only on i386, as the armhf and arm64 executables are not runnable
   on the ubuntu-latest x86_64 worker.

 * Works on x86 and x64. Skipped on arm64 at this time.

   The arm64 executable is not runnable, possibly due to the
   old problem of an exe being built for the wrong architecture
   (which @mcuee mentioned somewhere).

In summary, this should run as much as is possible at this time
without introducing failures.

In the future, after these failures are fixed, more tests can be
added for a more complete coverage.
2024-08-24 18:46:03 +02:00
Stefan Rueger
b407731473 Refrain from using page_erase on -U eeprom:w 2024-08-24 17:43:37 +01:00
Hans Ulrich Niedermann
415b397bc9 ci: Use ${{env.BUILD_TYPE}} instead of hardcoded value 2024-08-24 18:36:57 +02:00
Hans Ulrich Niedermann
06032113cf ci: Run test-avrdude with -v to show avrdude output on errors 2024-08-24 18:36:57 +02:00
Hans Ulrich Niedermann
184b00db48 ci: disable distcheck (until am doc builds have been fixed)
The doc builds are a bit brittle at this time, and therefore
do not work reliably with "make distcheck".

Therefore this comments out "make distcheck" until the am doc
builds have been fixed.
2024-08-24 18:36:57 +02:00
Hans Ulrich Niedermann
6e2152f1b9 ci: Use printf(1) to avoid echo(1) problems
Use printf(1) to avoid possible echo(1) incompatibilities like
special escape sequences and the like.

Also, "\n\n" means two linefeeds, without any implicit linefeeds
being added.

Thought for the future: Perhaps test-avrdude should run isatty()
and, if it is not a TTY, not wait for linefeeds at all in the non-
interactive case?
2024-08-24 18:35:08 +02:00
Hans Ulrich Niedermann
fb74e288da ci: consistently rename macos -autotools build
Use the same suffix string "-autotools" for "macos-x86_64-autotools"
which the linux-x86_64-autotools build already uses.
2024-08-24 16:12:00 +02:00
Hans Ulrich Niedermann
16d7d0bbcb ci: Build parallel port code on supported systems
Build parallel port code on supported systems

Unsupported systems are:

  * Windows operating system
  * MacOS operating system

This means the CI can test

  * native Linux builds (yes, even for arm systems)

Untested at this time are the BSDs.

Removes the dysfunctional Windows (since Windows XP)  parallel port code,
and has the buildsystems fail Windows builds if parallel port builds are
requested (HAVE_PARPORT or --enable-parport).

https://github.com/avrdudes/avrdude/pull/1874#issuecomment-2275762550
2024-08-24 15:38:17 +02:00
Hans Ulrich Niedermann
89478179b4 function prototype consistency fix for ppiwin.c
mingw builds for Windows require a function prototype fix.
2024-08-24 15:37:04 +02:00
Hans Ulrich Niedermann
548c871194 Fix all remaining #include "ac_cfg.h" to use <ac_cfg.h> 2024-08-24 15:03:42 +02:00
Hans Ulrich Niedermann
5176d7b818 Add checks for zombie sourcecode problems
This adds checks for zombie sourcecode problems, i.e. problems
we have tried to eliminate but which might be or have been
resurrected.

The example check is for the problematic

    #include "ac_cfg.h"

with double quotes instead of <> which were identified as a
problem in https://github.com/avrdudes/avrdude/issues/1706
and then fixed.
2024-08-24 15:03:42 +02:00
Stefan Rueger
9e9825c988 Update NEWS/docu 2024-08-24 01:27:36 +01:00
Stefan Rueger
5f32f9d8c9 Merge pull request #1909 from stefanrueger/warnings
Silence compiler warnings
2024-08-24 00:57:12 +01:00
Stefan Rueger
5ab90751d1 Merge pull request #1908 from stefanrueger/documentation
Improve Documentation
2024-08-24 00:56:02 +01:00
Stefan Rueger
53cf5f29ee Merge pull request #1907 from stefanrueger/familyid
Improve messaging around locked UPDI parts
2024-08-24 00:54:26 +01:00
Stefan Rueger
5b1b5443c6 Merge pull request #1906 from funkeleinhorn/serprog-programmer
Remove known limitations comment from serprog.c
2024-08-24 00:53:31 +01:00
Stefan Rueger
43fc4ff81f Silence compiler warnings 2024-08-23 23:30:08 +01:00
Stefan Rueger
78464340f2 Update comment in avdude.pdf 2024-08-23 23:25:25 +01:00
Stefan Rueger
ceef6d7df2 Merge branch 'documentation' of github.com:stefanrueger/avrdude into documentation 2024-08-23 23:22:34 +01:00
Stefan Rueger
a9c692ed71 Remove section about memories from avrdude.1
This section breaks the flow of the man page on the options.
It is reasonable to refer to a longer manual for that.
2024-08-23 23:17:46 +01:00
Stefan Rueger
3e9672481c Reduce use of upload/download terms 2024-08-23 23:16:39 +01:00
Stefan Rueger
ae31a6bb5f Create avrstats.texi for statistics used in the docu 2024-08-23 23:09:27 +01:00
Stefan Rueger
173c3d4e90 Improve messaging around locked UPDI parts 2024-08-23 22:02:49 +01:00
Stefan Rueger
371dc3823d Remove section about memories from avrdude.1 2024-08-23 21:49:57 +01:00
Stefan Rueger
97cc672fcb Reduce use of upload/download terms 2024-08-23 20:57:29 +01:00
Funkeleinhorn
8fdd0c7277 Remove known limitations comment from serprog.c
Connecting over tcp is already possible by specifying net:<host>:<port>
as a port. Performance is already good and further improvements would
require custom AVR read/write logic to batch operations which seems
not worth the maintenance effort for now.
2024-08-23 19:35:06 +02:00
Stefan Rueger
79f85d048f Update NEWS 2024-08-23 02:27:33 +01:00
Stefan Rueger
284612f875 Merge pull request #1897 from stefanrueger/avr_write_byte_default
Fix avr_write_byte()
2024-08-23 02:21:23 +01:00
Stefan Rueger
720d21fec0 Merge pull request #1903 from stefanrueger/test8-e
Add -e exe option to test8
2024-08-23 02:20:34 +01:00
Stefan Rueger
2cd9e5b8d4 Merge pull request #1901 from mcuee/windows_arm64_build
Update build.yml to re-enable Windows on ARM64 MSVC build
2024-08-23 02:19:44 +01:00
Stefan Rueger
5c16beeffb Remove bmequ() macro 2024-08-23 02:18:37 +01:00
Stefan Rueger
ab66d35516 Merge pull request #1896 from stefanrueger/fix-deprecated-types
Fix deprecated types in libavrdude.i
2024-08-23 02:12:07 +01:00
Stefan Rueger
422b3784e2 Merge pull request #1902 from mcuee/document
Document: use macOS to replace MacOS, no support of Parallel Port under macOS
2024-08-23 02:09:48 +01:00
Stefan Rueger
42589c02eb Merge pull request #1895 from stefanrueger/avrdude.pdf
Add detail to part and programmer lists in avrdude.pdf
2024-08-23 02:09:09 +01:00
Stefan Rueger
13879ba8b4 Move list of memories into an appendix 2024-08-23 01:56:05 +01:00
Stefan Rueger
b7d690b04a Change @samp{option} to @code{option} 2024-08-23 00:47:16 +01:00
Stefan Rueger
79109b4f6b Remove multiple -x help explanations 2024-08-23 00:41:04 +01:00
Stefan Rueger
ffb9b8c001 Update introduction of avrdude.pdf 2024-08-23 00:17:19 +01:00
Stefan Rueger
5613de5a69 Add @cindex terms for programmers 2024-08-22 23:15:09 +01:00
Stefan Rueger
d1667f705f Refine programmer listing for avrdude.pdf 2024-08-22 23:14:30 +01:00
Stefan Rueger
c1433c9fc4 Fix .sed file dependencies in src/doc/Makefile.am 2024-08-22 20:11:42 +01:00