Commit Graph

2589 Commits

Author SHA1 Message Date
Stefan Rueger
6c8f7e10fd Support AT89S51, AT89S52, AT902323 and ATtiny22
In `avrdude.conf.in` this PR
  - Adds AT89S51 and AT89S52
  - Adds AT902323 and ATtiny22 by inheritance from AT902343
  - Changes AT90S4433 to inherit from AT90S2333 (same datasheet)

Changes in `avrintel.[ch]` are needed to add the two new `mucid`s
for AT89S51/52; as a "bycatch" a new version of avrintel.c is
deployed with corrections to UART interrupts

`config_gram.y` needed changing to suppress false warnings for the odd
address bit positions for AT89S51/52 SPI read signature commands.
2023-03-06 22:55:16 +00:00
Stefan Rueger
4019edf60d Update NEWS 2023-03-04 17:25:59 +00:00
Stefan Rueger
579927f020 Merge pull request #1308 from djacobow/dgj/extend_max_pin_number
extend max pin number to 1000
2023-03-04 17:19:34 +00:00
Stefan Rueger
cdaeb6423d Merge pull request #1301 from mariusgreuel/pr-build_sh-cmake-fix
build.sh: For compatibility with old CMake versions, use old syntax to generate build system
2023-03-04 17:19:02 +00:00
Stefan Rueger
ea938153cb Merge pull request #1294 from mariusgreuel/pr-hid-detection
CMake: Remove LIB_LIBHID from configuration is favor of hard-coding it
2023-03-04 17:15:31 +00:00
Stefan Rueger
1995ca6868 Merge pull request #1286 from MCUdude/xplainedmini-suffer
Add `extra_features` to easily identify a programmers special abilities
2023-03-04 17:11:08 +00:00
Stefan Rueger
4a47b10a41 Merge pull request #1285 from mariusgreuel/pr-verbal-cmake-options
CMake: Convert verbal switches into boolean expressions
2023-03-04 17:09:49 +00:00
Dave Jacobowitz
eb7c3ef95d extend max pin number to 1000
Some embedded computers with GPIO are using very
large pin numbers. For example, the pins on the
LePotato SBC use numbers in the 400's.

Extending this max value makes is possible for
users to make custom avrdude.conf additions that
use this pins.

Le Potato board:

https://libre.computer/products/aml-s905x-cc/

Le Potato pin numbering reference:
https://docs.google.com/spreadsheets/d/1U3z0Gb8HUEfCIMkvqzmhMpJfzRqjPXq7mFLC-hvbKlE
2023-03-02 17:00:13 -08:00
Marius Greuel
488da2642a build.sh: For compatibility with old CMake versions, use old syntax to generate build system 2023-02-04 17:54:18 +01:00
mcuee
dd7b359d6b Merge pull request #1297 from mcuee/revert_pr1280
Revert PR https://github.com/avrdudes/avrdude/pull/1280
2023-01-31 10:00:28 +08:00
mcuee
b00a768b18 Revert PR https://github.com/avrdudes/avrdude/pull/1280
This will fix issue https://github.com/avrdudes/avrdude/issues/1296
2023-01-30 21:11:36 +08:00
MCUdude
911aa04ffa Add HAS_VTARG_READ
This can be used to determine if a programmer is able to read the target voltage or not
2023-01-29 21:20:50 +01:00
MCUdude
89abc1375b Print info message when target power switch is off 2023-01-29 20:26:01 +01:00
Marius Greuel
7ebe5da8c5 GitHub build action: Remove CMAKE_BUILD_TYPE from msvc job to silence warning 2023-01-20 20:50:45 +01:00
Marius Greuel
61dccf4ad1 CMake: Add ncurses library when readline is present 2023-01-20 20:42:12 +01:00
Marius Greuel
c98a49bfcd CMake: Remove LIB_LIBHID from configuration 2023-01-20 20:41:36 +01:00
MCUdude
d02e82edac rename matches() to str_starts()
The function never checked for an actual match anyways
2023-01-15 16:43:29 +01:00
MCUdude
f7ed26cb67 Minor improvement based on feedback from @stefanrueger 2023-01-15 16:43:29 +01:00
MCUdude
eede6f9ff0 Fix typo 2023-01-15 16:43:28 +01:00
MCUdude
f4563e19b8 Update docs 2023-01-15 16:43:27 +01:00
MCUdude
3083183ab4 Fix typo 2023-01-14 22:08:40 +01:00
MCUdude
960375e593 Add corrections found by -c*/s 2023-01-14 22:08:36 +01:00
MCUdude
6b3dcf83b7 Merge main branch
had to deal with a merge confilict due to PR #1282
2023-01-14 19:23:57 +01:00
Marius Greuel
909276733d CMake: Convert verbal switches into boolean expressions 2023-01-14 19:17:34 +01:00
Stefan Rueger
5ec72e240b Update News 2023-01-14 14:46:17 +00:00
Stefan Rueger
347ecadae9 Merge pull request #1282 from stefanrueger/grammar
Reduce complexity of grammar
2023-01-14 14:36:20 +00:00
Stefan Rueger
7e5bfdeff0 Merge pull request #1277 from stefanrueger/silence
Silence gcc compiler warnings
2023-01-14 14:35:11 +00:00
Stefan Rueger
b89b79d332 Merge pull request #1276 from mcuee/document_fix
Fix documentation for avrftdi pin numbers to start with 0
2023-01-14 14:34:03 +00:00
Stefan Rueger
65686c7fed Merge pull request #1273 from stefanrueger/stk500_value_polling
Only send write flash cmd to STK500v2 programmers if page not empty
2023-01-14 14:29:59 +00:00
Stefan Rueger
a3b7072b7d Merge pull request #1272 from stefanrueger/mode_memdelay
Correct memory mode, delay and readback for classic parts
2023-01-14 14:29:19 +00:00
Stefan Rueger
1fa34c58a7 Print warnings for deprecated grammar use 2023-01-13 23:34:28 +00:00
Stefan Rueger
09c4b670c7 Shift simple part/memory components from grammar to config.c table 2023-01-13 23:34:18 +00:00
MCUdude
3eeba45d0a add -xsuffer and -xvtarg_switch to the docs 2023-01-13 22:18:22 +01:00
MCUdude
78d762b051 Add alterive id's to jtag3 compatible programmers 2023-01-13 20:56:24 +01:00
MCUdude
cb5f5956fc STK600 also has adjustable target power 2023-01-13 20:47:52 +01:00
mcuee
9cf4f55b87 Merge pull request #1280 from mcuee/configure_ac_readline
Update configure.ac to reflect HAVE_READLINE statue
2023-01-13 13:29:31 +08:00
mcuee
b3a29917b0 Merge pull request #1279 from mcuee/configure_ac_update
Update configure.ac for MinGW build
2023-01-13 13:29:14 +08:00
mcuee
6595f53425 Update configure.ac to reflect HAVE_READLINE statue 2023-01-13 11:05:16 +08:00
Stefan Rueger
0ae6c6543b Shift simple programmer components from grammar to config.c table 2023-01-12 23:59:45 +00:00
Stefan Rueger
f9c5c0cfbc Silence sign-cpmpare warnings in pickit2.c 2023-01-12 14:09:38 +00:00
mcuee
a22d379c03 Update configure.ac for MinGW build
Fix avrdudes#957.
Even though we are only supporting CMake build now, the fix is simple enough and not affecting CMake.
2023-01-12 21:06:36 +08:00
Stefan Rueger
22f9bc5260 Enable -Wextra -Wno-unused-parameter by default for gcc 2023-01-12 00:01:46 +00:00
Stefan Rueger
6088c9b98f Silence sign-compare warning in avr910.c 2023-01-11 23:55:07 +00:00
Stefan Rueger
e349cd1f6b Silence sign-compare warning in buterfly.c 2023-01-11 23:52:59 +00:00
Stefan Rueger
7ad5289d66 Silence sign-compare warnings in dfu.c 2023-01-11 23:50:26 +00:00
Stefan Rueger
b75e26bf6d Silence sign-compare warnings in flip1.c 2023-01-11 23:48:04 +00:00
Stefan Rueger
81f01939c2 Silence missing-field-initializers warning in flip1.c 2023-01-11 23:45:07 +00:00
Stefan Rueger
2a79faae86 Silence sign-compare warnings in flip2.c 2023-01-11 23:38:43 +00:00
Stefan Rueger
3c51fb6aae Silence sign-compare warnings in ft245r.c 2023-01-11 23:34:14 +00:00
Stefan Rueger
3b7f0d2c55 Use portable %lu and cast for size_t 2023-01-11 23:25:13 +00:00