Skip to content
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

Building in WinAvr on WindowsXP #6

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Open

Building in WinAvr on WindowsXP #6

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi,
I have used your make file and it worked fine.  Now I am trying to add 
additonal code to your project.  I have the lastest version of WinAvr 
4.16.638 installed on a Windows XP system  I'm using a Atmega168p.

I have added all the required files.  I also created a f_osc.h to add the 
f_osc 16000000 to the project to prevent the f_osc errors when building 

I would like to add more features to your base program to monitor a home 
test project. (humidity and pwm fan control) I am a newbie to AVRs and 
programming.  So I was trying to get the your base program to work as is 
before proceeding.  

When I try to rebuild all I get the following warnings and errors. 

Build started 29.7.2009 at 07:14:57
avr-gcc -I"C:\WinAVR\usbtemp" -I"C:\WinAVR\usbtemp\usbdrv" -
I"C:\WinAVR\avr\include" -I"C:\WinAVR\avr\include\avr" -
I"C:\WinAVR\avr\include\compat" -I"C:\WinAVR\avr\include\util"  -
mmcu=atmega168p -gdwarf-2 -std=gnu99 -Wall        -DF_CPU=16000000UL -Os -f
signed-char -MD -MP -MT usbtemp.o -MF dep/usbtemp.o.d  -
c  ../usbtemp/usbtemp.c

../usbtemp/usbtemp.c: In function 'print_temp':
../usbtemp/usbtemp.c:191: warning: pointer targets in passing argument 2 
of 'itoa' differ in signedness
../usbtemp/usbtemp.c:194: warning: pointer targets in passing argument 1 
of 'strlen' differ in signedness
../usbtemp/usbtemp.c:195: warning: pointer targets in passing argument 1 
of 'uart_puts' differ in signedness
../usbtemp/usbtemp.c: In function 'enable_status_led':
../usbtemp/usbtemp.c:240: error: 'PB2' undeclared (first use in this 
function)
../usbtemp/usbtemp.c:240: error: (Each undeclared identifier is reported 
only once
../usbtemp/usbtemp.c:240: error: for each function it appears in.)
../usbtemp/usbtemp.c: In function 'disable_status_led':
../usbtemp/usbtemp.c:245: error: 'PB2' undeclared (first use in this 
function)
make: *** [usbtemp.o] Error 1
Build failed with 4 errors and 3 warnings...

What steps will reproduce the problem?
1. Configure program in WinAVR and try to build or rebuild.

Thanks
Bowen Pratt
[email protected]

Original issue reported on code.google.com by [email protected] on 29 Jul 2009 at 1:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant