|
From: | Juergen Harms |
Subject: | [avr-chat] Support for JTAGICE3 on avrdude |
Date: | Sat, 31 May 2014 11:06:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
But, building 6.1 on my Mandriva platform (for a plain install from the tarball and, evidently also for building an rpm package) failed due to compiler errors in the modules flip1.c and flip2.c - which use uint32_t in declarations, but uint32_t is not defined.
Is this a known problem? Intuitively, I added a "typedef int uint32_t", which made the problem go away (easier to implement than expicitely changing all instances of the uint32_t declarations) - or is there an include that should be added?. Result: the programmer works again as it should.
Note: it appears that the upgrade also changed the USB ID from 03eb:2110 to 03eb:2140 - there is also the need to change the udev rules correspondingly, possibly also in the rpm package in case that adds the rule for the JTAGICE3
Question: I do not like to depend on intuition - is this a proper way to fix the compilation problem in avrdude 6.1?
Juergen
[Prev in Thread] | Current Thread | [Next in Thread] |