It is currently Sat May 18, 2013 6:49 am
       


All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: AVR Studio
PostPosted: Mon Apr 26, 2010 12:30 pm 
Offline
New User

Joined: Mon Apr 26, 2010 12:25 pm
Posts: 4
ik krijg 2 warnings bij het aanmaken van een nieuw project. er staat
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
dus the header is verouderd? ik zou niet weten of dit iets uit maakt dus ik zet het maar op het forum om zeker te zijn.
wil aub iemand iets laten weten moest je hierover iets weten. ik heb alles gedaan zoals op de pps stond van Arexx-Henk

groetjes
memoriam

Build started 26.4.2010 at 13:25:22
avr-gcc -mmcu=atmega8 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT asuro.o -MF dep/asuro.o.d -c ../asuro.c
In file included from ../asuro.h:34,
from ../asuro.c:29:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
avr-gcc -mmcu=atmega8 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT test.o -MF dep/test.o.d -c ../test.c
In file included from ../asuro.h:34,
from ../test.c:1:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
avr-gcc -mmcu=atmega8 asuro.o test.o -o SecondTry.elf
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature SecondTry.elf SecondTry.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex SecondTry.elf SecondTry.eep || exit 0

AVR Memory Usage
----------------
Device: atmega8

Program: 4114 bytes (50.2% Full)
(.text + .data + .bootloader)

Data: 9 bytes (0.9% Full)
(.data + .bss + .noinit)


Build succeeded with 2 Warnings...


Top
 Profile E-mail  
 
 Post subject: Re: AVR Studio
PostPosted: Mon Apr 26, 2010 8:34 pm 
Offline
arexx.com user
User avatar

Joined: Wed Apr 07, 2010 4:36 pm
Posts: 6
Location: Hoogerheide, NB
De betreffende warning is te verhelpen door de volgende regel in 'Asuro.h' te verwijderen:

Code:
#include <avr/signal.h>


het kan geen kwaad om het te laten zoals het is maar 'signal.h' is overbodig geworden.

Groetjes,

David


Top
 Profile E-mail  
 
 Post subject: Re: AVR Studio
PostPosted: Tue May 04, 2010 9:36 am 
Offline
New User

Joined: Mon Apr 26, 2010 12:25 pm
Posts: 4
bedankt :-) nu krijg ik geen errors meer :-)
nog een vraagje, welke code of functie moet je gebruiken om je robot te laten draaien na ongeveer 1 meter of na 10 seconden?

groetjes


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group