Commit Graph

3214 Commits

Author SHA1 Message Date
Stefan Rueger
39751fba6c Update avrintel from device packs 2026-06-13 15:43:46 +01:00
Stefan Rueger
2fbe680e4d Merge pull request #2118 from stefanrueger/avrla
Add more AVR-LA support
2026-06-13 15:20:10 +01:00
Stefan Rueger
695b455093 Merge pull request #2116 from stefanrueger/gcc-warning
Suppress gcc compiler warning
2026-06-13 15:13:21 +01:00
Stefan Rueger
817e102cb2 Merge pull request #2110 from MCUdude/micronucleus
Improve Micronucleus info/warning/error messages
2026-06-13 15:13:02 +01:00
Stefan Rueger
6331ecd65b Add n_interrupts to .avr-lx and put in canonical order 2026-06-13 14:12:10 +01:00
Stefan Rueger
58cc6767fd Parent AVR32LA14 off .avr-lx 2026-06-13 14:03:21 +01:00
Stefan Rueger
f832c7b324 Update osccal16/20 osc16/20err memory documentation 2026-06-13 13:57:51 +01:00
Stefan Rueger
4b3827c485 Add osccal16/20 memories for AVR-LA parts 2026-06-13 13:56:07 +01:00
Stefan Rueger
01aed11f36 Move eeprom and sram into avr-lx stub 2026-06-13 13:46:02 +01:00
Stefan Rueger
eda076ee55 Fix signatures of AVR16LA* 2026-06-13 13:38:50 +01:00
Stefan Rueger
40c4e6c843 Show -p */d config file and lineno only with -v 2026-06-13 12:18:42 +01:00
Stefan Rueger
689179ac54 Fix osccfg/pincfg fuse documentation 2026-06-13 12:15:44 +01:00
Stefan Rueger
8730b145c8 Suppress gcc compiler warning
For some reason gcc thinks q+3 might be out of bounds below. It isn't, but
adding the strlen(q) >= 3 condition suppresses the warning.

In function ‘sa_snmatch’,
    inlined from ‘sa_snmatch’ at /home/srueger/etc/clock/avrdude/gcc-warning/src/serialadapter.c:56:12,
    inlined from ‘sa_num_matches_by_ids’ at /home/srueger/etc/clock/avrdude/gcc-warning/src/serialadapter.c:190:48,
    inlined from ‘sa_unique_by_ids’ at /home/srueger/etc/clock/avrdude/gcc-warning/src/serialadapter.c:203:61,
    inlined from ‘sa_list_specs’ at /home/srueger/etc/clock/avrdude/gcc-warning/src/serialadapter.c:239:8,
    inlined from ‘sa_print_specs’ at /home/srueger/etc/clock/avrdude/gcc-warning/src/serialadapter.c:253:19:
/home/srueger/etc/clock/avrdude/gcc-warning/src/serialadapter.c:57:63: warning: array subscript 3 is outside array bounds of ‘char[1]’ [-Warray-bounds=]
   57 |   return sn && (str_starts(sn, q) || (str_starts(q, "...") && str_ends(sn, q + 3)));
      |                                                               ^~~~~~~~~~~~~~~~~~~
2026-06-13 01:31:21 +01:00
MCUdude
9e87c7ac45 Replace capital letters with non-capital ones 2026-06-12 20:06:48 +02:00
Hans
7da6ccc52e Add support for the AVR-LA chip family (#2105) 2026-05-27 12:56:28 +08:00
Hans
789b897cd4 Add consistent support for -P USB (#2104) 2026-05-27 12:55:52 +08:00
MCUdude
c81badaafa Tweak certain error messages for better formatting and cleaner output 2026-05-26 20:29:41 +02:00
Thomas Petazzoni
5307a62d25 CMakeLists.txt: allow disabling Python support (#2051)
* CMakeLists.txt: allow disabling Python support

In some cases, even if Swig is found and Python3 is found, it may not
be desirable to build Python support in avrdude, so this commit adds
a FORCE_DISABLE_PYTHON_SUPPORTT option to be able to explicitly 
disable the Python support.

To preserve existing behavior, this option defaults to disabled (OFF).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Co-authored-by: Xiaofan Chen <xiaofanc@gmail.com>
2026-05-03 20:43:48 +08:00
Stefan Rueger
c9234ae8e5 Add tinyAVR 1-series automotive parts to avrdude.conf 2026-04-20 18:15:03 +01:00
Stefan Rueger
477c1298fb Add tinyAVR 1-series automotive parts to avrintel.c 2026-04-20 18:14:19 +01:00
Stefan Rueger
eca2c5f88e Merge pull request #2098 from MCUdude/parts-list
Only print the entire list of valid parts if the user requests this
2026-04-17 01:07:49 +01:00
Stefan Rueger
c9c10192d3 Merge pull request #2096 from stefanrueger/avrintel
Fix USART .adf errors of some XMEGAS
2026-04-17 01:06:49 +01:00
Stefan Rueger
a4459d1cfd Create systematic order of parts in avrintel.c 2026-04-17 00:55:33 +01:00
Stefan Rueger
14eaae2768 Rectify pin names for RSTDISBL and CLKOUT configurations 2026-04-17 00:50:07 +01:00
MCUdude
974dbcbf0b Replace else with if several places
This makes is possible to read a value first, and then set it afterwards
2026-04-16 14:32:10 +02:00
MCUdude
bf2f001a46 Make it possible to read and set the target voltage in the same command 2026-04-16 07:56:10 +02:00
MCUdude
c8f8e6343b Restructure -xvtarg handling for the stk500v1 2026-04-15 19:57:12 +02:00
MCUdude
c5fefb8f89 Only write to my.vtarg_data if the data is actually valid 2026-04-15 19:27:44 +02:00
MCUdude
f77644b52d Fix incorrect target voltage read command 2026-04-15 19:23:21 +02:00
MCUdude
d2ba2259f8 Adjustments based on feedback from PR #2094 2026-04-15 19:22:35 +02:00
MCUdude
720722edae Fix issue where programmers that can supply power couldn't read it using -x vtarg 2026-04-15 17:10:37 +02:00
MCUdude
5a618a0344 mention -p? in the help text if -p isn't present 2026-04-15 12:47:08 +02:00
MCUdude
f3508741c2 Only print the entire list of valid parts if the user requests this 2026-04-15 12:42:11 +02:00
Stefan Rueger
e307a47af8 Update avrduce.conf.in 2026-04-09 17:40:20 +01:00
Stefan Rueger
1bc0296680 Fix .atdf errors for some XMEGAs 2026-04-09 17:39:53 +01:00
MCUdude
5adce7f61d PICkit Basic does not support target voltage reading 2026-04-08 19:28:33 +02:00
MCUdude
02ef141d6f Update docs 2026-04-06 22:54:46 +02:00
MCUdude
5177b42510 Add support for -x vtarget to MPLAB programmers 2026-04-06 22:00:28 +02:00
MCUdude
ab535652aa Remove duplicate print 2026-04-06 21:31:51 +02:00
MCUdude
3bee10971b Replace capital letters with non-capital ones 2026-04-06 20:38:04 +02:00
MCUdude
6cfbf660b8 make sure "classic" stk500v2 programmers such as the AVRISPmkII also can utilize -x vtarg 2026-04-06 20:36:22 +02:00
MCUdude
475cf17a9a Let all stk500v2/jtag3 programmers read the target voltage using -x vtarg 2026-04-06 20:32:30 +02:00
MCUdude
71f8d3722e Fix duplicate Vtarget
Resolves issue #2093
2026-04-06 19:49:45 +02:00
Stefan Rueger
ff5e7630ce Merge pull request #2092 from stefanrueger/stk600-remove-tdi
Remove `PM_TPI` from `-c stk600` prog modes
2026-04-05 18:56:18 +01:00
Stefan Rueger
48cb4a9b28 Merge pull request #2090 from stefanrueger/dryboot
Make `-c dryboot` emulate `-c urclock -x nometadata`
2026-04-05 18:55:51 +01:00
Stefan Rueger
cf4793a2b2 Merge pull request #2087 from stefanrueger/buspirate
Simplify `buspirate_expect_bin_byte()` function
2026-04-05 18:55:16 +01:00
Stefan Rueger
83579e16a1 Merge pull request #2086 from stefanrueger/messages
Use verbosity levels consistently
2026-04-05 18:54:54 +01:00
Stefan Rueger
8a527c9bfe Merge pull request #2085 from stefanrueger/write_byte
Update single byte writes, ie, skip write if data already there
2026-04-05 18:53:28 +01:00
Stefan Rueger
6b694b0ff4 Furnish b/loader paged write with write protection 2026-04-05 18:48:43 +01:00
Stefan Rueger
ccf27a4736 Remove write protection from jmp-to-application vector
When serving a vector bootloader, both -c urclock and now -c dryboot used
to protect two vectors in the vector table, the reset vector and the
dedicated vector to jump to the application.

Only the reset vector needs protecting to avoid the vector bootloader to
be bricked. While overwriting the other vector might turn out not helpful,
it's the same as with many other interventions, so much so that the driver
should not prevent that. Hence, this commit withdraws the protection of
the jmp-to-application vector.
2026-04-05 09:49:19 +01:00