Jörg Wunsch
22e6c4b325
Merge pull request #818 from yegorich/pindefs-fix-warning
...
pindefs: conform to the function declaration
2022-01-10 21:33:04 +01:00
Joerg Wunsch
a3bf6cc4c5
Fix names of Logic Green devices
...
There's some confusion as the datasheet calls the device family
LGT8FX8P but the devices itself are LGT8F88P through LGT8F328P.
Obviously, the "X" is actually a wildcard denoting the flash size.
2022-01-10 21:29:09 +01:00
Jörg Wunsch
0a4193f742
Merge pull request #817 from mariusgreuel/pr-print-expected-part
...
Print expected part
2022-01-10 21:25:39 +01:00
Yegor Yefremov
1a85e01b63
pindefs: conform to the function declaration
...
The last parameter in the pins_check() routine is declared as
"const bool". Add the missing "const" specifier.
2022-01-09 15:57:45 +01:00
Marius Greuel
f67cb3c224
Preserve the insertion order of programmers and parts when parsing the avrdude.conf file
2022-01-09 11:52:52 +01:00
Marius Greuel
1297098eae
When the specified part has a matching signature, print the specified part instead of one from the parts list
2022-01-09 11:52:47 +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
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
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
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
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
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
Jörg Wunsch
539eec79e6
Merge pull request #801 from dl8dtl/conffile-clean-up
...
Conffile clean up
2022-01-07 09:23:17 +01:00
Marius Greuel
f20c4bd9e6
Add support for Teensy bootloader
2022-01-06 23:39:17 +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
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
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
Joerg Wunsch
1529277477
When finding LIBFTDI, don't clobber LIBS but extend it
2022-01-05 17:26:39 +01:00
MCUdude
50e15a5cf8
Add missing ATtiny targets
...
ATtiny48, 87, 102, 104, 167 and 828
2022-01-05 11:50:31 +01:00
Hans
4b76ccc951
Merge branch 'main' into main
2022-01-05 08:05:38 +01:00
Jörg Wunsch
e27990bd54
Merge pull request #786 from mariusgreuel/pr-micronucleus
...
Add support for Micronucleus bootloader
2022-01-04 23:52:00 +01:00
Jörg Wunsch
b8c825c9af
Merge pull request #795 from MCUdude/add-pkobn_updi-vtarg
...
Add target voltage adjustment for Curiosity Nano boards
2022-01-04 23:50:20 +01:00
Joerg Wunsch
124ef7fe3d
Move the backslash replacement out into a separate function
2022-01-04 23:10:14 +01:00
Joerg Wunsch
6a87a110cc
Move the config file names out as #define into avrdude.h
2022-01-04 23:03:47 +01:00
Joerg Wunsch
374861f62e
Move the system config file search after option processing
...
For one, this allows us to use MSG_DEBUG in order to emit debug
messages (requires -v processing).
As another effect, if the -C conffile option was given, there is no
need at all to run through all the process of looking up a system
config file - it's right there already.
Also, move it after the logfile creation if -l logfile was given, so
the respective debug message can go to the logfile.
2022-01-04 22:45:47 +01:00
Marius Greuel
3747db516a
Add support for Micronucleus bootloader
2022-01-04 18:37:57 +01:00
Joerg Wunsch
863f77d827
Fix a (valid) warning about comparison of char vs. int against EOF
...
Closes PR #796
2022-01-04 13:48:11 +01:00
Joerg Wunsch
f9ea588525
Update the man page to reflect the search order for avrdude.conf
2022-01-03 23:53:51 +01:00
Kristof Mulier
5c896992cd
Find 'avrdude.conf' based on absolute path to executable ( #780 )
...
* Find 'avrdude.conf' based on absolute path to executable
* Update coding style
* Update coding style
* Update 'src/doc/avrdude.texi' to reflect the new search method for 'avrdude.conf'
2022-01-03 23:20:31 +01:00
MCUdude
ecca860972
Add target voltage adjustment for Curiosity Nano boards
...
in Avrdude terminal mode
2022-01-03 18:51:33 +01:00
Yegor Yefremov
dc1fed40bf
avrftdi: don't use the deprecated ftdi_usb_purge_buffers routine
...
Since commit ed46f09c1ccd1351e003a200ba50e3e4778ac478 (Implement
tc[io]flush methods & deprecate broken purge_buffers methods.)
ftdi_usb_purge_buffers() routine is deprecated. Use HAVE_FTDI_TCIOFLUSH
macro to invoke the newly introduced ftdi_tcioflush() routine.
2022-01-03 17:59:05 +01:00
Marius Greuel
4d5af6370d
Change version URL from Savannah to GitHub
2022-01-03 15:13:00 +01:00
Marius Greuel
12a67554d9
Derive program version from last commit
2022-01-03 15:04:25 +01:00
Marius Greuel
e843db55ae
Use yacc/byacc as an alternative to bison
2022-01-03 13:10:54 +01:00
MCUdude
f96b98e9df
Mute "flash and boot" warning if s UPDI programmer is used
...
Currently, no UPDI compatible AVR has a dedicated boot section like the Xmegas do
2022-01-02 19:20:05 +01:00
MCUdude
dcd5374ae9
Print meaningful error if programmer doesn't support target
2022-01-02 12:57:42 +01:00
MCUdude
b9f03b1377
Fix typo in URL
2022-01-02 12:13:15 +01:00
MCUdude
f5bec43812
Add jtag2updi programmer to docs
2022-01-02 12:13:15 +01:00
MCUdude
a2a276a8cc
Add support for UPDI devices though jtag2updi
...
'Hack' borrowed from https://github.com/facchinm/avrdude
2022-01-02 12:13:15 +01:00