[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #9127] Support for CH341A programmer.
From: |
Max Gorb |
Subject: |
[avrdude-dev] [patch #9127] Support for CH341A programmer. |
Date: |
Sat, 3 Dec 2016 05:15:34 +0000 (UTC) |
User-agent: |
Opera/9.80 (Windows NT 5.1) Presto/2.12.388 Version/12.18 |
Follow-up Comment #1, patch #9127 (project avrdude):
Compiled at Raspbian-Jessie some warnings
[code]
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/usr/local/etc\" -Wall
-Wno-pointer-sign -g -O2 -MT libavrdude_a-ch341a.o -MD -MP -MF
.deps/libavrdude_a-ch341a.Tpo -c -o libavrdude_a-ch341a.o `test -f 'ch341a.c'
|| echo './'`ch341a.c
ch341a.c: In function 'ch341a_spi_transfer':
ch341a.c:272:14: warning: unused variable 'bytestransferred'
[-Wunused-variable]
int ret, bytestransferred;
^
ch341a.c:272:9: warning: unused variable 'ret' [-Wunused-variable]
int ret, bytestransferred;
^
ch341a.c: In function 'ch341a_initpgm':
ch341a.c:381:25: warning: assignment from incompatible pointer type
pgm->spi = ch341a_spi;
^
ch341a.c: At top level:
ch341a.c:269:12: warning: 'ch341a_spi_transfer' defined but not used
[-Wunused-function]
static int ch341a_spi_transfer(PROGRAMMER * pgm, const unsigned char *cmd,
unsigned char *res) {
^
[/code]
Succesful maked it works with UsbAsp but not works with ch341a.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9127>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [patch #9127] Support for CH341A programmer.,
Max Gorb <=