-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: min change #10
Commits on Feb 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5c891b3 - Browse repository at this point
Copy the full SHA 5c891b3View commit details -
Directly use AVRDUDE_FULL_VERSION string macro
Directly use the AVRDUDE_FULL_VERSION macro instead of first defining an initialized variable which is never changed and then using that variable. This means one less layer of indirection both for the computer and for the programmer to go through when trying to understand the code.
Configuration menu - View commit details
-
Copy full SHA for dfcd5cc - Browse repository at this point
Copy the full SHA dfcd5ccView commit details -
Fix cmake not finding generated ac_cfg.h
When there is no `src/ac_cfg.h` (e.g. a fresh `git clone` or after a working dir cleanup like `git -f -d -x`), running `cmake` will complain about not being able to find `ac_cfg.h`. This is probably because cmake looks for source files in the `CMAKE_CURRENT_SOURCE_DIR`, but when cmake creates `ac_cfg.h` it does so ´CMAKE_CURRENT_BINARY_DIR`, which is often different. Anyway, this makes the location of files generated by `configure_file` explicit as `CMAKE_CURRENT_BINARY_DIR`, and uses that same location in the source file list for the `libavrdude` target (instead of just `ac_cfg.h` with the implicit `CMAKE_CURRENT_SOURCE_DIR`) and adds the same source file to the `avrdude` target to allow cmake to determine the dependencies properly.
Configuration menu - View commit details
-
Copy full SHA for 92e2dd4 - Browse repository at this point
Copy the full SHA 92e2dd4View commit details -
Look for generated ac_cfg.h in builddir first
As it can happen that there is a leftover `src/ac_cfg.h` when running an out of tree cmake build (you might have run `cmake .` or `./src/bootstrap`), the out of tree cmake build must look for `ac_cfg.h` in its builddir first (e.g. `build_linux/src/`). Otherwise the cmake build picks up and uses whatever data happens to be in `src/ac_cfg.h`. Both the MSVC and GCC C processors are documented to look in the location of the `#include` directive for the included file first for double quoted includes, so the old `#include "ac_cfg.h"` was exactly the wrong thing to do. clang probably does the same, and ISO C specifies the sequence of places to look for include files as implementation defined. So this changes all occurrences of `#include "ac_cfg.h"` to `#include <ac_cfg.h>` which follows the sequence of `-I` or `/I` directives as cmake builds add via `include_directories` or `target_include_directories`. Fixes: avrdudes#1706
Configuration menu - View commit details
-
Copy full SHA for 9616b37 - Browse repository at this point
Copy the full SHA 9616b37View commit details
Commits on Feb 26, 2024
-
Add benchmark option -b to test-avrdude
This executes five tests for typical programming tasks: - Write/verify a "difficult" sketch to flash: two code sections and one data section separated by "holes" of different sizes - Dump all flash, eg, to make a backup - Write/verify a "difficult" eeprom data file with holes - Dump all eeprom, eg, to make a backup - Chip erase (bootloaders are expected to page erase flash apart from the bootloader itself) and spot check whether flash was erased The reported times are realistic times with overhead of starting avrdude, resetting the board via DTR/RTS, establishing comms, including erasing the flash before writing/verifying the sketch and disengaging the chip. $ test-avrdude -b -d 0 \ -p "u7.7/weu-jPrac -c urclock -P ch340 -p m328p -b 1000000" \ -p "u7.7/-eu-jPrac -c urclock -P ch340 -p m328p -b 1000000" Testing avrdude version 7.3-20240225 (2078871) Prepare "u7.7/weu-jPrac -c urclock -P ch340 -p m328p -b 1000000" and press 'enter' or 'space' to continue. Press any other key to skip ✅ 2.174 s: flash -U write/verify holes_rjmp_loops_32768B.hex ✅ 1.339 s: flash -U read all flash ✅ 1.415 s: eeprom -U write/verify holes_pack_my_box_1024B.hex ✅ 1.034 s: eeprom -U read all ✅ 1.604 s: chip erase and spot check flash is actually erased ✅ 7.566 s: benchmark for u7.7/weu-jPrac -c urclock -P ch340 -p m328p -b 1000000 Prepare "u7.7/-eu-jPrac -c urclock -P ch340 -p m328p -b 1000000" and press 'enter' or 'space' to continue. Press any other key to skip ✅ 2.001 s: flash -U write/verify holes_rjmp_loops_32768B.hex ✅ 1.333 s: flash -U read all flash ✅ 1.405 s: eeprom -U write/verify holes_pack_my_box_1024B.hex ✅ 1.029 s: eeprom -U read all ✅ 1.618 s: chip erase and spot check flash is actually erased ✅ 7.386 s: benchmark for u7.7/-eu-jPrac -c urclock -P ch340 -p m328p -b 1000000 Note the benchmark line with the cumulative time for all five tasks
Configuration menu - View commit details
-
Copy full SHA for 274ac34 - Browse repository at this point
Copy the full SHA 274ac34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e6404c - Browse repository at this point
Copy the full SHA 6e6404cView commit details
Commits on Feb 27, 2024
-
Lowercase variable names in test-avrdude
Uppercase names are typically used for environment variables in bash
Configuration menu - View commit details
-
Copy full SHA for 3b56768 - Browse repository at this point
Copy the full SHA 3b56768View commit details -
Add normalised avrbench number suitable for markdown tables
The cumulative time for typical user tasks depends on the flash and EEPROM size of the part. This commit computes a size-normalised time. Lower is better. This avrbench number still depends on the part, but less so than the cumulative time of the tasks. The summary line is put in vertical bars to make creation of markdown tables easier.
Configuration menu - View commit details
-
Copy full SHA for df3c67f - Browse repository at this point
Copy the full SHA df3c67fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f088a9b - Browse repository at this point
Copy the full SHA f088a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd41d2b - Browse repository at this point
Copy the full SHA cd41d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for efd6bab - Browse repository at this point
Copy the full SHA efd6babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c001b - Browse repository at this point
Copy the full SHA 82c001bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ed3dd - Browse repository at this point
Copy the full SHA 61ed3ddView commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 64c5d1d - Browse repository at this point
Copy the full SHA 64c5d1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e35714b - Browse repository at this point
Copy the full SHA e35714bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71a9cb4 - Browse repository at this point
Copy the full SHA 71a9cb4View commit details -
Merge pull request avrdudes#1707 from ndim/fix-cmake-builds-related-t…
…o-ac_cfg.h Fix cmake build errors related to ac_cfg.h
Configuration menu - View commit details
-
Copy full SHA for e5304a4 - Browse repository at this point
Copy the full SHA e5304a4View commit details -
Merge pull request avrdudes#1709 from stefanrueger/benchmark
Add benchmark option `-b` for `test-avrdude`
Configuration menu - View commit details
-
Copy full SHA for 076e2e9 - Browse repository at this point
Copy the full SHA 076e2e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27eb695 - Browse repository at this point
Copy the full SHA 27eb695View commit details
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 34366a6 - Browse repository at this point
Copy the full SHA 34366a6View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 07669a9 - Browse repository at this point
Copy the full SHA 07669a9View commit details
Commits on Mar 28, 2024
-
Replace msg_info() by msg_debug() in jtag3_prmsg() and jtag3_prevent()
Both these functions are called at verbosity level DEBUG and above, so they must not produce INFO level messages. Supposed to fix issue avrdudes#1726
Configuration menu - View commit details
-
Copy full SHA for b00c284 - Browse repository at this point
Copy the full SHA b00c284View commit details
Commits on Mar 29, 2024
-
Add MSG2_LEFT_MARGIN flag in lieu of \v messaging convention
Some messaging needs a functionality to end an open line, so that the next message starts at the left margin, ie, the ability to print a \n if and only if the last printed character was not already a \n. This used to be effected by \v as first char in the message format. This commit introduces a dedicated lmsg_xyz() set of messaging functions that utilises a MSG2_LEFT_MARGIN flag to enforce a left margin start for the message.
Configuration menu - View commit details
-
Copy full SHA for 7f9f82d - Browse repository at this point
Copy the full SHA 7f9f82dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a26c434 - Browse repository at this point
Copy the full SHA a26c434View commit details -
Configuration menu - View commit details
-
Copy full SHA for f027493 - Browse repository at this point
Copy the full SHA f027493View commit details -
Configuration menu - View commit details
-
Copy full SHA for d91a482 - Browse repository at this point
Copy the full SHA d91a482View commit details -
Merge pull request avrdudes#1727 from dl8dtl/fix-1726
Replace msg_info() by msg_debug() in jtag3_prmsg() and jtag3_prevent() Closes avrdudes#1726
Configuration menu - View commit details
-
Copy full SHA for 0ff5e84 - Browse repository at this point
Copy the full SHA 0ff5e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 674128c - Browse repository at this point
Copy the full SHA 674128cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39eea96 - Browse repository at this point
Copy the full SHA 39eea96View commit details -
Merge pull request avrdudes#1730 from stefanrueger/remove_avrdude_mes…
…sage Remove unused avrdude_message() Fixes avrdudes#1719
Configuration menu - View commit details
-
Copy full SHA for 8516243 - Browse repository at this point
Copy the full SHA 8516243View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67867a6 - Browse repository at this point
Copy the full SHA 67867a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f21635 - Browse repository at this point
Copy the full SHA 0f21635View commit details -
To use Static Libs for macOS arduino_packing build
This is pointed out by @umbynos during the review of PR avrdudes#1690
Configuration menu - View commit details
-
Copy full SHA for 9b7d4d8 - Browse repository at this point
Copy the full SHA 9b7d4d8View commit details -
Merge pull request avrdudes#1728 from stefanrueger/msg2_left_margin
Provide lmsg_xyz() functions to start message at left margin
Configuration menu - View commit details
-
Copy full SHA for 22a7bf9 - Browse repository at this point
Copy the full SHA 22a7bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 840a098 - Browse repository at this point
Copy the full SHA 840a098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82e4513 - Browse repository at this point
Copy the full SHA 82e4513View commit details -
Merge pull request avrdudes#1724 from stefanrueger/progress-reporting
Document progress reporting in source code
Configuration menu - View commit details
-
Copy full SHA for cb61171 - Browse repository at this point
Copy the full SHA cb61171View commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93ed537 - Browse repository at this point
Copy the full SHA 93ed537View commit details -
Configuration menu - View commit details
-
Copy full SHA for d939188 - Browse repository at this point
Copy the full SHA d939188View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f70fe - Browse repository at this point
Copy the full SHA 08f70feView commit details -
Merge pull request avrdudes#1729 from stefanrueger/timestamp
Change return type for avr_(ms|us)timestamp() to uint64_t
Configuration menu - View commit details
-
Copy full SHA for a8097ea - Browse repository at this point
Copy the full SHA a8097eaView commit details -
Merge pull request avrdudes#1731 from mcuee/avrdude_packing_fix
To use Static Libs for macOS arduino_packing build
Configuration menu - View commit details
-
Copy full SHA for 8976846 - Browse repository at this point
Copy the full SHA 8976846View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2b1c7e - Browse repository at this point
Copy the full SHA f2b1c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5035c0 - Browse repository at this point
Copy the full SHA a5035c0View commit details
Commits on Apr 8, 2024
-
Fix message levels in jtag3_print_data()
These are debugging functions, and not supposed to print at MSG_INFO level.
Configuration menu - View commit details
-
Copy full SHA for 82928d3 - Browse repository at this point
Copy the full SHA 82928d3View commit details
Commits on Apr 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fdfa0ac - Browse repository at this point
Copy the full SHA fdfa0acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3129ba2 - Browse repository at this point
Copy the full SHA 3129ba2View commit details -
No longer warn when part configuration disables SPI interface
SPI programming cannot disable SPI programming for the part configuration. Hence. when another programming interface disables SPI that very same interface can enable SPI again. The warning disabling SPI might brick the part is therefore incorrect.
Configuration menu - View commit details
-
Copy full SHA for 5361668 - Browse repository at this point
Copy the full SHA 5361668View commit details -
Configuration menu - View commit details
-
Copy full SHA for c53a3ed - Browse repository at this point
Copy the full SHA c53a3edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a46faa - Browse repository at this point
Copy the full SHA 1a46faaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ece8652 - Browse repository at this point
Copy the full SHA ece8652View commit details
Commits on Apr 13, 2024
-
Adding
arduino_packing_release
github action (avrdudes#1690)Co-authored-by: Umberto Baldi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d441501 - Browse repository at this point
Copy the full SHA d441501View commit details -
Merge pull request avrdudes#1741 from dl8dtl/msg_debug_fixes
Fix message levels in jtag3_print_data()
Configuration menu - View commit details
-
Copy full SHA for b302e70 - Browse repository at this point
Copy the full SHA b302e70View commit details -
Merge pull request avrdudes#1745 from stefanrueger/override-signature…
…-check Consult -F option when signature cannot be read
Configuration menu - View commit details
-
Copy full SHA for 2ee8982 - Browse repository at this point
Copy the full SHA 2ee8982View commit details -
Merge pull request avrdudes#1746 from stefanrueger/locate_programmer_…
…starts_set Check all programmer ids for exact match
Configuration menu - View commit details
-
Copy full SHA for e10370e - Browse repository at this point
Copy the full SHA e10370eView commit details -
Merge pull request avrdudes#1747 from stefanrueger/update-avrintel
Update avrintel files
Configuration menu - View commit details
-
Copy full SHA for 1d3f028 - Browse repository at this point
Copy the full SHA 1d3f028View commit details -
Configuration menu - View commit details
-
Copy full SHA for 428ea42 - Browse repository at this point
Copy the full SHA 428ea42View commit details
Commits on Apr 14, 2024
-
It's been deprecated for a while now.
Configuration menu - View commit details
-
Copy full SHA for 6488cb6 - Browse repository at this point
Copy the full SHA 6488cb6View commit details -
Add support for libgpiod v2+ API
libgpiod in version 2 or above introduced an API change which results in compile error with the current code. This commit adds some glue magic for the newer versions and tries to detect the used libgpiod version based on the information available in the pkg-config files. At the moment, this eliminates the possibility to statically link against this library. Signed-off-by: Michael Heimpold <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea701bc - Browse repository at this point
Copy the full SHA ea701bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94561c8 - Browse repository at this point
Copy the full SHA 94561c8View commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af8d832 - Browse repository at this point
Copy the full SHA af8d832View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a94a0 - Browse repository at this point
Copy the full SHA a5a94a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cff9d88 - Browse repository at this point
Copy the full SHA cff9d88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9850a8f - Browse repository at this point
Copy the full SHA 9850a8fView commit details
Commits on Apr 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 97cd1aa - Browse repository at this point
Copy the full SHA 97cd1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfc5c93 - Browse repository at this point
Copy the full SHA cfc5c93View commit details -
Configuration menu - View commit details
-
Copy full SHA for c930a27 - Browse repository at this point
Copy the full SHA c930a27View commit details -
Configuration menu - View commit details
-
Copy full SHA for b00d601 - Browse repository at this point
Copy the full SHA b00d601View commit details -
Merge pull request avrdudes#1733 from therealdreg/buspirate-hiz-and-p…
…ullups Add buspirate hiz and pullups feature
Configuration menu - View commit details
-
Copy full SHA for 8231b36 - Browse repository at this point
Copy the full SHA 8231b36View commit details -
Merge pull request avrdudes#1725 from mhei/support-for-libgpiodv2
Add support for libgpiod v2+ API
Configuration menu - View commit details
-
Copy full SHA for 4761a70 - Browse repository at this point
Copy the full SHA 4761a70View commit details -
Merge pull request avrdudes#1749 from stefanrueger/deprecated
Remove deprecated ucr2 part
Configuration menu - View commit details
-
Copy full SHA for 6aece29 - Browse repository at this point
Copy the full SHA 6aece29View commit details -
Merge pull request avrdudes#1750 from stefanrueger/static-buspirate
Move static buffer to PDATA region in buspirate.c
Configuration menu - View commit details
-
Copy full SHA for 5858898 - Browse repository at this point
Copy the full SHA 5858898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fe729f - Browse repository at this point
Copy the full SHA 8fe729fView commit details
Commits on Apr 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6067c07 - Browse repository at this point
Copy the full SHA 6067c07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca431e - Browse repository at this point
Copy the full SHA 1ca431eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d874e0b - Browse repository at this point
Copy the full SHA d874e0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c49f0 - Browse repository at this point
Copy the full SHA 31c49f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2d1fac - Browse repository at this point
Copy the full SHA f2d1facView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90dbaa1 - Browse repository at this point
Copy the full SHA 90dbaa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e99921e - Browse repository at this point
Copy the full SHA e99921eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f40617d - Browse repository at this point
Copy the full SHA f40617dView commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e569767 - Browse repository at this point
Copy the full SHA e569767View commit details -
Configuration menu - View commit details
-
Copy full SHA for aff70c4 - Browse repository at this point
Copy the full SHA aff70c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98dc910 - Browse repository at this point
Copy the full SHA 98dc910View commit details