Commit Graph

1667 Commits

Author SHA1 Message Date
Yegor Yefremov
acee6afa4e CMake: split configuration in two files
The main CMakeLists.txt file in the project's root directory takes
care of the main project settings like project name and version,
handling the options, finding dependencies, etc.

The src/CMakeLists.txt handles options that are necessary to build
libavrdude library and avrdude binary.
2022-01-23 21:22:07 +01:00
Jörg Wunsch
cce7a934d6 Merge pull request #815 from MCUdude/add-memory-sections
Add more memory sections to read from
2022-01-21 21:49:29 +01:00
Jörg Wunsch
490558049e Merge pull request #816 from andrewshadura/usbtiny-spi
Add SPI support to USBtiny
2022-01-21 21:40:00 +01:00
Jörg Wunsch
512cce405c Merge pull request #829 from yegorich/cmake-install-liavrdude
CMake: add initial support for installing lib and include files
2022-01-21 21:37:21 +01:00
Joerg Wunsch
0b1db09daf PR #944 merged 2022-01-21 21:28:15 +01:00
Jörg Wunsch
1b8b1d69e7 Merge pull request #844 from MCUdude/jtagmkii-retry-attempts
jtagmkii: Reduce the number of sync attempts to 10 + print number of attempts
2022-01-21 21:27:30 +01:00
Hans
d401b2224e Merge branch 'main' into jtagmkii-retry-attempts 2022-01-21 13:28:20 +01:00
Joerg Wunsch
950583323f PR #845 merged 2022-01-20 10:23:31 +01:00
Jörg Wunsch
0682af212c Merge pull request #845 from MCUdude/reduce-verbosity
Reduce verbosity when setting fuses and uploading programs
2022-01-20 10:22:52 +01:00
MCUdude
b1cbbfc9f0 Reduce verbosity when setting fuses and uploading programs
Affects commands with no -v flag and one -v flag
2022-01-20 09:45:34 +01:00
MCUdude
dbac0ecf8c Reduce the number of attempts to 10
+ print number of attempts
2022-01-19 23:25:47 +01:00
Joerg Wunsch
325604f970 PR #842 done 2022-01-19 22:56:47 +01:00
Yegor Yefremov
8be18c788e CMake: add initial support for installing lib and include files 2022-01-18 14:54:42 +01:00
Joerg Wunsch
090920298d PR #842 done 2022-01-18 13:26:52 +01:00
Jörg Wunsch
fa58267643 Merge pull request #842 from mariusgreuel/pr-ft232r
Add a new programmer ft232h
2022-01-18 13:25:25 +01:00
Marius Greuel
7b9f258806 Add a new programmer 'ft232h', similar to ft232r. Improve and correct pinout documentation for um232h and c232hm programmer. 2022-01-17 22:49:03 +01:00
MCUdude
0e451f73cf Print alias names if present 2022-01-17 21:34:09 +01:00
Joerg Wunsch
b3c76f3e54 PR #836 is merged, mention all new devices brought by that 2022-01-16 23:01:10 +01:00
Jörg Wunsch
54d143d4a5 Merge pull request #836 from MCUdude/add-missing-targets
Add missing tinyAVR-2, AVR DD and AVR EA targets
2022-01-16 22:59:41 +01:00
MCUdude
4453d54296 Add memory name aliases for AVR DA/DB
+ add sernum and tempsense memory sections to read from
2022-01-15 21:53:58 +01:00
MCUdude
9c08c0c164 Attempt to fix incorrect readsize values
Values copied AVR64DD__.atdf and AVR64EA__.atdf. The order atdf files doesn't exist at the moment
2022-01-15 12:47:58 +01:00
MCUdude
628c48aff6 Add AVR EA targets
This includes AVR8EA28/32, AVR16EA28/32/48, AVR32EA28/32/48 and AVR64EA28/32/64
2022-01-14 20:30:49 +01:00
MCUdude
8e47768600 Add AVR DD targets
This includes AVR16DD14/20/28/32, AVR32DD14/20/28/32 and AVR64DD14/20/28/32
2022-01-14 19:52:22 +01:00
Joerg Wunsch
e5edecf95e PR #811 is merged 2022-01-14 08:25:43 +01:00
Jörg Wunsch
b99687f33c Merge pull request #811 from dbuchwald/main
Added missing RTS/DTR management feature to serialupdi programmer
2022-01-14 08:24:58 +01:00
Joerg Wunsch
153031d6d6 Copy over description of extended parameters to avrdude.1 2022-01-14 08:18:56 +01:00
Joerg Wunsch
c31578cbbd Add cscope.out to list of ignored files 2022-01-13 22:43:03 +01:00
MCUdude
310fe49b73 Add missing tinyAVR-2 series targets
Includes ATtiny3224, ATtiny3226 and ATtiny3227
2022-01-13 22:29:22 +01:00
Joerg Wunsch
5c264992fc PR #832 is done 2022-01-13 21:47:53 +01:00
Jörg Wunsch
77a5703c5c Merge pull request #832 from MCUdude/add-even-more-missing-targets
Add missing ATmega and ATtiny targets
2022-01-13 21:26:43 +01:00
Joerg Wunsch
822578cffd Mention PR #809
Also fix signatures for ATmega169A, ATmega165 and ATmega165A.
2022-01-13 20:08:40 +01:00
Jörg Wunsch
d1634e4d96 Merge pull request #809 from MCUdude/add-missing-atmega-targets
Add missing ATmega__5 and ATmega__9 targets to avrdude.conf
2022-01-13 19:59:42 +01:00
MCUdude
99d8fa5d88 Add missing ATtiny targets
+ a little formatting
2022-01-13 19:45:45 +01:00
MCUdude
cc77f89953 Add missing ATmega targets
+ a little formatting
2022-01-13 19:45:30 +01:00
MCUdude
7064447378 Add all possible ATmega__5 and ATmega__9 targets
This includes the "non-P", A, P and PA suffixes
2022-01-13 18:27:36 +01:00
MCUdude
77ed8b98c5 Add ATmega165A/P targets 2022-01-13 18:27:36 +01:00
MCUdude
32232faa2b Add missing ATmega targets 2022-01-13 18:27:34 +01:00
Dawid Buchwald
ab57f38387 Replaced tabs by spaces 2022-01-13 10:01:01 +01:00
Dawid Buchwald
90d0fa7346 Merge remote-tracking branch 'avrdudes/main' into main 2022-01-13 09:57:42 +01:00
Marius Greuel
956a274abd Remove libreadline from GitHub build action 2022-01-12 23:19:28 +01:00
Marius Greuel
3fbac230b3 Enable printf %n format specifier for MSVC 2022-01-12 20:41:52 +01:00
Marius Greuel
0ba4d2eaee Change GitHub build action to create separate artifacts for executables 2022-01-12 18:16:02 +01:00
Joerg Wunsch
1faa02b9cb Mention PR #828 and issue #823 2022-01-11 22:13:57 +01:00
Jörg Wunsch
dc2f5b25a2 Merge pull request #828 from dl8dtl/fix-tpi-fuse-write
Fix for TPI fuse write (closes #823)
2022-01-11 22:12:37 +01:00
Joerg Wunsch
65d5cfadc1 Fix for TPI fuse write
In get_fuse_bitmask(), ensure the AVR_OP_READ and AVR_OP_WRITE
m->op[] fields are actually filled in, before referencing them.
If they are missing, just return a full byte mask (0xFF).

In avr_write(), for TPI memory, if the write consist of one byte onle
(which is the case for fuse byte writing), resort to avr_write_byte()
instead as it already implements everything needed. This leaves the
avr_write() implementation to handle full paged writes with an even
number of bytes only.
2022-01-11 22:00:22 +01:00
Joerg Wunsch
1049777283 PR #826 is done 2022-01-11 15:41:32 +01:00
Jörg Wunsch
4e1bbf07ac Merge pull request #826 from yegorich/cmake-dll
CMake: enable dynamic-link library for libavrdude
2022-01-11 15:40:58 +01:00
Yegor Yefremov
e72fa01073 Fix libavrdude library file name
CMake adds "lib" prefix to the library name and hence we get the
following name "liblibavrdude". Use set_target_properties to
set the prefix to "".
2022-01-11 14:58:40 +01:00
Joerg Wunsch
60bda0bcc4 PR #820 is merged 2022-01-11 12:45:04 +01:00
Jörg Wunsch
2d833e7ceb Merge pull request #820 from dl8dtl/libavrdude-remove-ac_cfg_h
Remove ac_cfg.h from libavrdude.h
2022-01-11 12:44:26 +01:00