Closed dwillmore closed 2 years ago
Hi,
I missed a commit from upstream .
Could you please check if it is working for you ?
Just pulled v1.07-54-g6337918 and it failed.
I cannot reproduce it with my tool chain.
I'm using Microchip's ( Atmel ) current tool chain gcc version 5.4.0 (AVR_8_bit_GNU_Toolchain_3.6.2_1778) . I can build the firmware in Debian and in Windows ( Cygwin64 ) with no problem.
regards,
Closed for no feedback
I'm attempting to build from source on a Fedora 32 system (64 bit).
For this task, I have installed: avr-binutils-2.35-3.fc32.x86_64.rpm avr-gcc-10.2.0-1.fc32.x86_64.rpm avr-libc-2.0.0-10.fc32.noarch
cd into the firmware directory and type "make main.hex" results in most files compiling to object files. The link step errors out with:
ispTransmit seems to be a function pointer and I don't see anywhere in the code where it's defined, but two places where it's assigned.
The short solution I performed was to remove the definition of the variable from isp.h and move it to isp.c. I also added a copy to main.c, but marked that one as 'extern'. At that point everything compiled smoothly and resulted in a binary. I'm not sure if that's how you want this fixed, so I didn't make a pull request.