avrdudes / avrdude

AVRDUDE is a utility to program AVR microcontrollers
GNU General Public License v2.0
734 stars 136 forks source link

github action MSVC build #1007

Closed mcuee closed 2 years ago

mcuee commented 2 years ago

It will be good to copy the avrdude.conf file in the same directory as the avrdude.exe file.

C:\work\avr\binary\build-msvc-x64\src\RelWithDebInfo> .\avrdude.exe -p m328p -c pickit2 -P usb -vvvv
executable_abspath = C:/work/avr/binary/build-msvc-x64/src/RelWithDebInfo/avrdude.exe
executable_abspath_len = 64
executable_dirpath = C:/work/avr/binary/build-msvc-x64/src/RelWithDebInfo
executable_dirpath_len = 52
sys_config =
sys_config_found = false

avrdude.exe: Version 7.0-20220619 (1aa59aa)
             Copyright (c) Brian Dean, http://www.bdmicro.com/
             Copyright (c) Joerg Wunsch

             System wide configuration file is ""
avrdude.exe: can't open config file "": Invalid argument
avrdude.exe: error reading system wide configuration file ""
mcuee commented 2 years ago

Files copy from latest github action. https://github.com/avrdudes/avrdude/actions/runs/2524832038

No issues with MSYS2 build.

mariusgreuel commented 2 years ago

The build artifacts (build-*) are just a complete dump of the CMake build folder. I would rather keep the build folder unmodified, as it is indented for build debugging.

If you want the executables, there are separate artifacts (avrdude-*), which in case of MSVC contain the exe, conf, and symbols.

mcuee commented 2 years ago

No problem. I will close this issue.