Commit Graph

4688 Commits

Author SHA1 Message Date
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
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
Stefan Rueger
1113b641fd Reformat spacing/comments in src/xbee.h 2024-08-18 01:54:37 +01:00
Stefan Rueger
94fa54663e Reformat spacing/comments in src/xbee.c 2024-08-18 01:54:37 +01:00
Stefan Rueger
59a58b77fb Reformat spacing/comments in src/wiring.h 2024-08-18 01:54:37 +01:00
Stefan Rueger
a8ee4d010f Reformat spacing/comments in src/wiring.c 2024-08-18 01:54:36 +01:00
Stefan Rueger
2cd6209dba Reformat spacing/comments in src/whereami.h 2024-08-18 01:54:36 +01:00
Stefan Rueger
a4f6cb8c75 Reformat spacing/comments in src/whereami.c 2024-08-18 01:54:36 +01:00
Stefan Rueger
1f32f6260e Reformat spacing/comments in src/usbtiny.h 2024-08-18 01:54:36 +01:00
Stefan Rueger
7e76388fe9 Reformat spacing/comments in src/usbtiny.c 2024-08-18 01:54:35 +01:00
Stefan Rueger
ce5a8289ac Reformat spacing/comments in src/usbdevs.h 2024-08-18 01:54:35 +01:00
Stefan Rueger
43845fa344 Reformat spacing/comments in src/usbasp.h 2024-08-18 01:54:35 +01:00
Stefan Rueger
0e269536da Reformat spacing/comments in src/usbasp.c 2024-08-18 01:54:35 +01:00
Stefan Rueger
3fefc9027a Reformat spacing/comments in src/usb_libusb.c 2024-08-18 01:54:34 +01:00
Stefan Rueger
ca1a5879a8 Reformat spacing/comments in src/usb_hidapi.c 2024-08-18 01:54:34 +01:00
Stefan Rueger
e16286b976 Reformat spacing/comments in src/urclock_private.h 2024-08-18 01:54:34 +01:00
Stefan Rueger
8e4474058a Reformat spacing/comments in src/urclock.c 2024-08-18 01:54:34 +01:00
Stefan Rueger
c25105064b Reformat spacing/comments in src/updi_state.h 2024-08-18 01:54:33 +01:00
Stefan Rueger
8e76d31f44 Reformat spacing/comments in src/updi_state.c 2024-08-18 01:54:33 +01:00
Stefan Rueger
09ddba79ab Reformat spacing/comments in src/updi_readwrite.h 2024-08-18 01:54:33 +01:00
Stefan Rueger
1798e82f72 Reformat spacing/comments in src/updi_readwrite.c 2024-08-18 01:54:32 +01:00
Stefan Rueger
baeb1c00b7 Reformat spacing/comments in src/updi_nvm_v5.h 2024-08-18 01:54:32 +01:00