Commit graph

4,867 commits

Author SHA1 Message Date
Stefan Rueger
12727150ea
Reformat spacing/comments in src/flip2.h 2024-08-18 01:54:13 +01:00
Stefan Rueger
a028d30e1b
Reformat spacing/comments in src/flip2.c 2024-08-18 01:54:13 +01:00
Stefan Rueger
9a3535531c
Reformat spacing/comments in src/flip1.h 2024-08-18 01:54:12 +01:00
Stefan Rueger
12c19e589f
Reformat spacing/comments in src/flip1.c 2024-08-18 01:54:12 +01:00
Stefan Rueger
6f98a6cd58
Reformat spacing/comments in src/fileio.c 2024-08-18 01:54:12 +01:00
Stefan Rueger
7b0ef6cc7a
Reformat spacing/comments in src/dryrun_private.h 2024-08-18 01:54:12 +01:00
Stefan Rueger
96aa32da4f
Reformat spacing/comments in src/dryrun.h 2024-08-18 01:54:11 +01:00
Stefan Rueger
cdef592e44
Reformat spacing/comments in src/dryrun.c 2024-08-18 01:54:11 +01:00
Stefan Rueger
16378014d8
Reformat spacing/comments in src/doc/avrdude.texi 2024-08-18 01:54:11 +01:00
Stefan Rueger
4dc273d990
Reformat spacing/comments in src/disasm.c 2024-08-18 01:54:11 +01:00
Stefan Rueger
c944770e6f
Reformat spacing/comments in src/dfu.h 2024-08-18 01:54:10 +01:00
Stefan Rueger
afdfe12dda
Reformat spacing/comments in src/dfu.c 2024-08-18 01:54:10 +01:00
Stefan Rueger
7c2894a23a
Reformat spacing/comments in src/developer_opts_private.h 2024-08-18 01:54:10 +01:00
Stefan Rueger
a1e9969780
Reformat spacing/comments in src/developer_opts.h 2024-08-18 01:54:09 +01:00
Stefan Rueger
b776c96619
Reformat spacing/comments in src/developer_opts.c 2024-08-18 01:54:09 +01:00
Stefan Rueger
ec68fc1766
Reformat spacing/comments in src/crc16.h 2024-08-18 01:54:09 +01:00
Stefan Rueger
0f1dc19d06
Reformat spacing/comments in src/crc16.c 2024-08-18 01:54:09 +01:00
Stefan Rueger
6977a3d674
Reformat spacing/comments in src/confwin.c 2024-08-18 01:54:08 +01:00
Stefan Rueger
eb8c70e8f7
Reformat spacing/comments in src/config_gram.y 2024-08-18 01:54:08 +01:00
Stefan Rueger
790d51bef9
Reformat spacing/comments in src/config.h 2024-08-18 01:54:08 +01:00
Stefan Rueger
c7e4060094
Reformat spacing/comments in src/config.c 2024-08-18 01:54:08 +01:00
Stefan Rueger
2b8af69c46
Reformat spacing/comments in src/ch341a.h 2024-08-18 01:54:07 +01:00
Stefan Rueger
a750b2475c
Reformat spacing/comments in src/ch341a.c 2024-08-18 01:54:07 +01:00
Stefan Rueger
04a045c433
Reformat spacing/comments in src/butterfly.h 2024-08-18 01:54:07 +01:00
Stefan Rueger
d31095cb02
Reformat spacing/comments in src/butterfly.c 2024-08-18 01:54:07 +01:00
Stefan Rueger
a6e9569ef0
Reformat spacing/comments in src/buspirate.h 2024-08-18 01:54:06 +01:00
Stefan Rueger
b832e56d53
Reformat spacing/comments in src/buspirate.c 2024-08-18 01:54:06 +01:00
Stefan Rueger
791697f453
Reformat spacing/comments in src/bitbang.h 2024-08-18 01:54:06 +01:00
Stefan Rueger
5331ae6bfb
Reformat spacing/comments in src/bitbang.c 2024-08-18 01:54:06 +01:00
Stefan Rueger
0d32ef7b88
Reformat spacing/comments in src/avrpart.c 2024-08-18 01:54:05 +01:00
Stefan Rueger
7c3549ad03
Reformat spacing/comments in src/avrftdi_tpi.h 2024-08-18 01:54:05 +01:00
Stefan Rueger
d430a8e1ad
Reformat spacing/comments in src/avrftdi_tpi.c 2024-08-18 01:54:05 +01:00
Stefan Rueger
4442867a98
Reformat spacing/comments in src/avrftdi_private.h 2024-08-18 01:54:05 +01:00
Stefan Rueger
76f3e9c8fe
Reformat spacing/comments in src/avrftdi.h 2024-08-18 01:54:04 +01:00
Stefan Rueger
cf3f38dd8f
Reformat spacing/comments in src/avrftdi.c 2024-08-18 01:54:04 +01:00
Stefan Rueger
5069f54438
Reformat spacing/comments in src/avrdude.h 2024-08-18 01:54:04 +01:00
Stefan Rueger
ec084bb539
Reformat spacing/comments in src/avrdude.1 2024-08-18 01:54:03 +01:00
Stefan Rueger
41ee6806db
Reformat spacing/comments in src/avrcache.c 2024-08-18 01:54:03 +01:00
Stefan Rueger
8a53ab4cef
Reformat spacing/comments in src/avr_opcodes.c 2024-08-18 01:54:03 +01:00
Stefan Rueger
742a401048
Reformat spacing/comments in src/avr910.h 2024-08-18 01:54:03 +01:00
Stefan Rueger
038843c48d
Reformat spacing/comments in src/avr910.c 2024-08-18 01:54:02 +01:00
Stefan Rueger
c393085013
Reformat spacing/comments in src/avr.c 2024-08-18 01:54:02 +01:00
Stefan Rueger
e80b03a773
Reformat spacing/comments in src/arduino.h 2024-08-18 01:54:02 +01:00
Stefan Rueger
0d83fce664
Reformat spacing/comments in src/arduino.c 2024-08-18 01:54:02 +01:00
Stefan Rueger
dc325d8828
Reformat spacing/comments in NEWS 2024-08-18 01:54:01 +01:00
Stefan Rueger
3baeab0b93
Update NEWS 2024-08-18 01:06:30 +01:00
Stefan Rueger
8c121cfadf
Merge pull request #1891 from ndim/test-avrdude-bugfixes
Some bugfixes for the tools/test-avrdude script
2024-08-18 01:04:06 +01:00
Hans Ulrich Niedermann
8f64d849a5 test-avrdude: Determine mem sizes without the full command
Determine the flash and ee memory sizes without invoking the full
${avrdude[@]} command with logging etc.

Slight adaptation of code by Stefan Rueger from
https://github.com/avrdudes/avrdude/pull/1891#issuecomment-2293314322
2024-08-16 16:27:05 +02:00
Hans Ulrich Niedermann
cef23e252e test-avrdude: Condense two info lines into one
Condense the information about the avrdude binary executable
and its version from two output lines into a single output line.

Slight adaptation of code by Stefan Rueger from
https://github.com/avrdudes/avrdude/pull/1891#issuecomment-2293314322
2024-08-16 16:17:19 +02:00
Hans Ulrich Niedermann
b8718e6b5d test-avrdude: Replace associative array with function call
Macos ships a quite old version of bash (3.x) which does not have
associative arrays (declare -A) yet.

As the test-avrdude script only uses one associative array
for a static mapping of one character strings to one word
strings, this can be easily replaced by a shell function
containing a "case" statement.

Before this fix:

2024-08-15T15:39:59.9596380Z Prepare "-cdryrun -pm2560" and press 'enter' or 'space' to continue. Press any other key to skip
2024-08-15T15:40:00.5796130Z    0.155 s: flash raw format -T/-U write/verify cola-vending-machine.raw
2024-08-15T15:40:00.7006170Z    0.111 s: flash extended address and hole test
2024-08-15T15:40:00.7057180Z ./tools/test-avrdude: line 322: declare: -A: invalid option
2024-08-15T15:40:00.7057750Z declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
2024-08-15T15:40:00.9218810Z    0.212 s: flash writing R numbers
2024-08-15T15:40:01.1793950Z    0.240 s: flash reading and verifying R numbers
2024-08-15T15:40:01.3661060Z    0.173 s: flash writing R numbers
2024-08-15T15:40:01.6317540Z    0.254 s: flash reading and verifying R numbers
2024-08-15T15:40:01.8235780Z    0.182 s: flash writing R numbers
2024-08-15T15:40:02.0724260Z    0.239 s: flash reading and verifying R numbers
2024-08-15T15:40:02.2713120Z    0.188 s: flash writing R numbers
2024-08-15T15:40:02.4497490Z    0.162 s: flash reading and verifying R numbers
2024-08-15T15:40:02.5897960Z    0.128 s: flash writing R numbers
2024-08-15T15:40:02.8667350Z    0.263 s: flash reading and verifying R numbers
2024-08-15T15:40:03.0635260Z    0.181 s: flash writing srec format
2024-08-15T15:40:03.2152560Z    0.142 s: flash reading and verifying srec format file

After this fix:

2024-08-15T17:23:24.5161820Z Prepare "-cdryrun -pm2560" and press 'enter' or 'space' to continue. Press any other key to skip
2024-08-15T17:23:25.1088990Z    0.162 s: flash raw format -T/-U write/verify cola-vending-machine.raw
2024-08-15T17:23:25.2742090Z    0.157 s: flash extended address and hole test
2024-08-15T17:23:25.4795650Z    0.196 s: flash writing binary numbers
2024-08-15T17:23:25.6721130Z    0.180 s: flash reading and verifying binary numbers
2024-08-15T17:23:25.8423490Z    0.161 s: flash writing octal numbers
2024-08-15T17:23:26.0901770Z    0.235 s: flash reading and verifying octal numbers
2024-08-15T17:23:26.2308860Z    0.127 s: flash writing decimal numbers
2024-08-15T17:23:26.4667010Z    0.228 s: flash reading and verifying decimal numbers
2024-08-15T17:23:26.6574670Z    0.180 s: flash writing hexadecimal numbers
2024-08-15T17:23:26.8651240Z    0.200 s: flash reading and verifying hexadecimal numbers
2024-08-15T17:23:27.0446640Z    0.168 s: flash writing R numbers
2024-08-15T17:23:27.3074230Z    0.250 s: flash reading and verifying R numbers
2024-08-15T17:23:27.4962750Z    0.179 s: flash writing srec format
2024-08-15T17:23:27.6594570Z    0.150 s: flash reading and verifying srec format file
2024-08-16 16:13:28 +02:00