Commit Graph

4708 Commits

Author SHA1 Message Date
Stefan Rueger
43fc4ff81f Silence compiler warnings 2024-08-23 23:30:08 +01: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
Stefan Rueger
7a6cfab35f Add Wiki urls for Appendix B 2024-08-22 18:50:27 +01:00
Stefan Rueger
b389e8b89f Add -e exe option to test8 2024-08-22 17:43:37 +01:00
mcuee
0b397b0b15 Document: avrdude does not support Parallel Port under macOS 2024-08-22 17:32:17 +08:00
mcuee
a0c0e4872e Document: use macOS to replace MacOS in document 2024-08-22 17:29:59 +08:00
mcuee
ce0dbc453d Update build.yml to re-enable Windows on ARM64 MSVC build 2024-08-22 17:07:14 +08:00
Stefan Rueger
a6e927a31e Fix avr_write_byte() 2024-08-22 02:00:42 +01:00
Stefan Rueger
325170c94c Fix deprecated types in libavrdude.i 2024-08-22 01:54:06 +01:00
Stefan Rueger
1774b09ec1 Merge branch 'avrdude.pdf' of github.com:stefanrueger/avrdude into avrdude.pdf 2024-08-22 01:46:37 +01:00
Stefan Rueger
a503e09208 Show more detail for the programmer list in avrdude.pdf 2024-08-22 01:45:50 +01:00
Stefan Rueger
5453843848 Show more detail for -c\? programmer descriptions 2024-08-22 01:03:05 +01:00
Stefan Rueger
b0e117b802 Shorten some programmer descriptions 2024-08-22 01:01:58 +01:00
mcuee
a9594622e2 Document: remove one more place where Windows parallel ports are mentioned 2024-08-22 07:42:12 +08:00
mcuee
138bd514f1 Document: AVRDUDE does not support parallel ports on Windows
Adopted the document change of PR #1874.
2024-08-22 07:31:42 +08:00
mcuee
aff15d3721 Document: remove the mentioning of 16bit Windows system directory 2024-08-22 07:28:47 +08:00
Stefan Rueger
dc1191a7b3 Merge branch 'avrdude.pdf' of github.com:stefanrueger/avrdude into avrdude.pdf 2024-08-21 23:49:57 +01:00
Stefan Rueger
c6d29a1689 Move debug command line line after opening the log file 2024-08-21 23:26:51 +01:00
Stefan Rueger
b49fe93402 Enlarge set of special shell characters 2024-08-21 23:25:36 +01:00
Stefan Rueger
50662bb852 Show command line with -vvv 2024-08-21 17:06:23 +01:00
Stefan Rueger
da4de26c5f Provide str_quote_bash() and str_ccsharg() 2024-08-21 17:05:43 +01:00
Stefan Rueger
e740dc19ef Add debug statements for avr_...() I/O functions 2024-08-21 16:06:06 +01:00
Stefan Rueger
cdc0b9f0d8 Provide str_ccaddress() 2024-08-21 15:59:52 +01:00
Stefan Rueger
03fd7cf93d Remove no longer needed parts.cmake 2024-08-21 01:10:07 +01:00
Stefan Rueger
92258e205e Show more detail for the part list in avrdude.pdf 2024-08-21 01:06:20 +01:00
Stefan Rueger
b8e5c3a927 Show more detail for -p ? 2024-08-21 01:04:36 +01:00
Stefan Rueger
7219f5f529 Crisp up programmer descriptions 2024-08-20 00:37:42 +01:00
Stefan Rueger
596a4a8ac9 Crisp up programmer type descriptions 2024-08-19 23:18:44 +01:00
Stefan Rueger
8aa01a4054 Add cindex terms 2024-08-19 22:35:59 +01:00
Stefan Rueger
1fe0857e7f Update NEWS 2024-08-19 21:30:45 +01:00
Stefan Rueger
81d15b5058 Merge pull request #1893 from stefanrueger/space-the-final-frontier
Space: the final frontier

Reformatting most of the source: The created avrdude executable stays invariant except for the source line numbers that errors and warnings emit with -vv. To prove this check out git main, replace all occurrences of __LINE__ in avrdude.h and jtagmkII.c with 07654321. Compile the executable avrdude and disassemble using objdump -d $(which avrdude) >ad.S. Then do the same with this PR and convince yourself that the ensuing .S files are identical. OK, I only checked under Linux but have every reason to believe that the semi-automated method of this PR will also leave the fraction of the code invariant that isn't seen by a Linux compilation.

Tools used:

$ indent -as -nsaf -nsai -nsaw -nut -bap -bacc -bad -bbb -brs -nbc -br -brf -nbs -c33 -cd33 -cp33 -ncdb -cdw -ce -ci2 -cli0 -d0 -di1 -neei -nfc1 -i2 -il-2 -ppi0 -nip -l130 -lc130 -nlp -npcs -npsl -nsc -sob -nlps -nprs -par

Then polish with a set of sed scripts to ensure the correct spacing of
  - switch(i)
  - a? b: c
  - type *p
  - single-line comments just so // Note the space and capital letter at the start and
  - Multi-line comments such as
    /*
     * Multi-line comments which
     *  - Tend to be about larger code regions
     *  - Contain vital algorithmic information
     *  - Deserve visual attention and prominence
     *  - Help users utilise functions and code thereafter
     */

Also 
  - Change PDATA(pgm)-> to my.
  - Change xxx->prog_modes & PM_ABCD to is_abcd(xxx)
2024-08-19 21:23:45 +01:00
Stefan Rueger
de2b5bba89 Pass -a additional parameters also when prepping part 2024-08-19 20:45:22 +01:00
Stefan Rueger
00422f3f29 Change xxx->prog_modes & PM_ABCD to is_abcd(xxx) 2024-08-18 16:25:34 +01:00
Stefan Rueger
6d6b0fa861 Replace PDATA(pgm)-> with my. 2024-08-18 15:56:29 +01:00
Stefan Rueger
347ca085c3 Change spacing around parentheses 2024-08-18 15:29:52 +01:00
Stefan Rueger
8f73bc4b1a Remove unnecessary breaks 2024-08-18 02:26:56 +01:00