Commit Graph

4675 Commits

Author SHA1 Message Date
mcuee
ce0dbc453d Update build.yml to re-enable Windows on ARM64 MSVC build 2024-08-22 17:07:14 +08: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
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
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
Stefan Rueger
5d661e6fa2 Reformat spacing/comments in src/updi_nvm_v5.c 2024-08-18 01:54:32 +01:00
Stefan Rueger
9abfb74167 Reformat spacing/comments in src/updi_nvm_v4.h 2024-08-18 01:54:32 +01:00
Stefan Rueger
19494c199d Reformat spacing/comments in src/updi_nvm_v4.c 2024-08-18 01:54:31 +01:00
Stefan Rueger
5014fcd9b2 Reformat spacing/comments in src/updi_nvm_v3.h 2024-08-18 01:54:31 +01:00
Stefan Rueger
cda18ab6aa Reformat spacing/comments in src/updi_nvm_v3.c 2024-08-18 01:54:31 +01:00
Stefan Rueger
763e809743 Reformat spacing/comments in src/updi_nvm_v2.h 2024-08-18 01:54:31 +01:00
Stefan Rueger
51b36dad2a Reformat spacing/comments in src/updi_nvm_v2.c 2024-08-18 01:54:30 +01:00
Stefan Rueger
9ab4e7524c Reformat spacing/comments in src/updi_nvm_v0.h 2024-08-18 01:54:30 +01:00
Stefan Rueger
5b4543c865 Reformat spacing/comments in src/updi_nvm_v0.c 2024-08-18 01:54:30 +01:00
Stefan Rueger
5f4c0d764f Reformat spacing/comments in src/updi_nvm.h 2024-08-18 01:54:30 +01:00
Stefan Rueger
526017304d Reformat spacing/comments in src/updi_nvm.c 2024-08-18 01:54:29 +01:00
Stefan Rueger
a175a8b24d Reformat spacing/comments in src/updi_link.h 2024-08-18 01:54:29 +01:00
Stefan Rueger
4f88ce6c6b Reformat spacing/comments in src/updi_link.c 2024-08-18 01:54:29 +01:00