Commit Graph

1594 Commits

Author SHA1 Message Date
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
Yegor Yefremov 8374564665 CMake: enable dynamic-link library for libavrdude
Add on option BUILD_SHARED_LIBS to also build a DLL variant
of the libavrdude library. Turn it off by default to preserve
current behavior.
2022-01-11 12:02:36 +01:00
Joerg Wunsch ea29434568 Mention PR #814 and the issues it closes 2022-01-09 20:33:05 +01:00
Jörg Wunsch 5746bb2670
Merge pull request #814 from dl8dtl/notify-open-failure
Notify user about open failure

Closes #813 (also closes #471)
2022-01-09 20:30:10 +01:00
Marius Greuel f043e1b484 Work around choco failure in build.yml 2022-01-09 20:13:11 +01:00
Joerg Wunsch a182ef5a26 Notify user if pgm->open() failes
This is supposed to fix issue #813
2022-01-08 22:02:25 +01:00
Jörg Wunsch a447673b07
Merge branch 'avrdudes:main' into main 2022-01-08 21:46:12 +01:00
Joerg Wunsch e3338c428f Add PR #810 2022-01-08 18:27:48 +01:00
Jörg Wunsch f1dbb2aae8
Merge pull request #810 from yegorich/ignore-ac-cfg-h-in
Ignore ac_cfg.h.in~
2022-01-08 18:27:12 +01:00
Yegor Yefremov b13c61893b Ignore ac_cfg.h.in~
Ignore temporary ac_cfg.h.in~ file.
2022-01-08 18:06:39 +01:00
Marius Greuel d2ae6a824f Add C code alternative to __builtin_popcount. 2022-01-08 16:13:32 +01:00
Marius Greuel 21d7fc58b6 Add -Wall to CMake compiler options 2022-01-08 16:13:26 +01:00
Marius Greuel c71fab0889 Move README.md build instructions to wiki 2022-01-08 00:33:11 +01:00
Marius Greuel 47b5d1af73 Add build status to README.md 2022-01-08 00:30:48 +01:00
Marius Greuel 872f3a3a8d Add GitHub deploy action 2022-01-07 23:57:54 +01:00
Marius Greuel 428f5828b4 Add cross-compile to GitHub build actions 2022-01-07 23:57:54 +01:00
Marius Greuel b87b527b3a Add advapi32.lib to MSVC builds 2022-01-07 23:57:54 +01:00
Marius Greuel 80d53839dd Replace MSVC implementation of __builtin_popcount with C code 2022-01-07 23:57:54 +01:00
Marius Greuel e1221e22ff Fix -Wpointer-sign warning in micronucleus.c 2022-01-07 23:48:56 +01:00
Joerg Wunsch 7d574ccf0b PR #808 is done 2022-01-07 21:40:59 +01:00
Jörg Wunsch 366a368882
Merge pull request #808 from yegorich/fix-invalid-sscanf-arg-type
buspirate: fix invalidScanfArgType_int warning
2022-01-07 21:40:25 +01:00
Yegor Yefremov f2d6342d21 buspirate: fix invalidScanfArgType_int warning
"%x" specifies an unsigned int, hence change the type of spi_write, spi_read
accordingly.
2022-01-07 19:22:57 +01:00
Joerg Wunsch 11f7692cc0 Mention PR #798 - all those Windows changes 2022-01-07 18:31:54 +01:00
Jörg Wunsch 6a737a0c13
Merge pull request #798 from mariusgreuel/pr-msvc
Add MSVC builds and better WinUSB/FTDI support
2022-01-07 18:30:19 +01:00
Marius Greuel fc54ef5e59 Clean up legacy code 2022-01-07 17:57:02 +01:00
Marius Greuel fe6f08d48f Use alloca for stack based memory allocation 2022-01-07 17:54:36 +01:00
Marius Greuel d05c2db3fb Add a missing define to the MSVC compatiblity shim 2022-01-07 17:54:36 +01:00
Marius Greuel 1fb88c3040 Add external libraries to CMake project 2022-01-07 17:54:36 +01:00
Marius Greuel c035c91db5 Add compatibility shim for MSVC 2022-01-07 17:54:36 +01:00
Joerg Wunsch 3a3250322d Mention PR #807 2022-01-07 13:17:25 +01:00
Jörg Wunsch a91e389a5e
Merge pull request #807 from yegorich/src-typos
Fix typos all over the code
2022-01-07 13:15:14 +01:00
Yegor Yefremov f29b2a283a Fix typos all over the code 2022-01-07 11:31:16 +01:00
Joerg Wunsch 8c4c9d0090 Add PR #801 2022-01-07 09:23:49 +01:00
Jörg Wunsch 539eec79e6
Merge pull request #801 from dl8dtl/conffile-clean-up
Conffile clean up
2022-01-07 09:23:17 +01:00
Joerg Wunsch 32d78cc9a0 Mention new ATtinys supported 2022-01-07 09:10:30 +01:00
Joerg Wunsch 5cbd6a5160 Mention PR #802 2022-01-07 09:08:58 +01:00
Jörg Wunsch ac7a794b70
Merge pull request #802 from mariusgreuel/pr-teensy
Add support for Teensy bootloader
2022-01-07 09:07:40 +01:00
Marius Greuel f20c4bd9e6 Add support for Teensy bootloader 2022-01-06 23:39:17 +01:00
Joerg Wunsch 67df9b0782 Mention closed PR #803 (and its related issues) 2022-01-06 22:58:46 +01:00
Jörg Wunsch 118993a584
Merge pull request #803 from MCUdude/add-missing-targets
Add missing ATtiny targets to avrdude.conf
2022-01-06 22:51:57 +01:00
Joerg Wunsch 6cfdb3a04b Remove obsolete file 2022-01-06 22:39:36 +01:00
Joerg Wunsch fffbd09767 Mention PR #806 as fixed 2022-01-06 15:55:51 +01:00
Jörg Wunsch 75fd2d5ea4
Merge pull request #806 from yegorich/fix-realloc
term: fix memleakOnRealloc
2022-01-06 15:55:19 +01:00
Yegor Yefremov d5b2106644 term: fix memleakOnRealloc
Assign the newly allocated value to a temporary variable and in the
case where we cannot allocate memory, free the initial pointer.
2022-01-06 11:28:39 +01:00
Jörg Wunsch a61707bb65
Merge branch 'avrdudes:main' into main 2022-01-06 10:06:04 +01:00
Joerg Wunsch 7bf9711392 Mention PR #804 2022-01-05 22:46:36 +01:00
Jörg Wunsch 3069105134
Merge pull request #804 from yegorich/add-tags-to-gitignore
Ignore ctags index file
2022-01-05 22:43:29 +01:00
Yegor Yefremov a6ad88d9c4 Ignore ctags index file
ctags creates an index file called 'tags'.
2022-01-05 22:30:13 +01:00
Joerg Wunsch 8c1c803fb2 Mention PR #792 as closed 2022-01-05 17:54:49 +01:00
Jörg Wunsch 97c34f7b26
Merge pull request #792 from yegorich/ftdi-fix-deprecated-call
avrftdi: don't use the deprecated ftdi_usb_purge_buffers routine
2022-01-05 17:41:08 +01:00