Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 320472 Details for
Bug 429994
avr-ld cannot find crtcan32.o:
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
simple main program compiled
main.c (text/plain), 475 bytes, created by
Jean-Marc Beaune
on 2012-08-05 17:58:03 UTC
(
hide
)
Description:
simple main program compiled
Filename:
MIME Type:
Creator:
Jean-Marc Beaune
Created:
2012-08-05 17:58:03 UTC
Size:
475 bytes
patch
obsolete
>#define F_CPU 1000000UL >#include <avr/io.h> >#include <util/delay.h> > >#define LED_PORT PORTC >#define LED PC4 >#define LED_DDR DDRC >#define LED_LOW() ( LED_PORT &= (~(1 << LED)) ) >#define LED_HIGH() ( LED_PORT |= (1 << LED) ) >#define LED_PORT_DIR_OUT() (LED_DDR |= (1 << LED)) >#define LED_PORT_DIR_IN() (LED_DDR &= (~(1 << LED))) > >int main(){ > // Make PB0 an output > LED_PORT_DIR_OUT(); > > while(1){ > LED_HIGH(); > _delay_ms(10); > LED_LOW(); > _delay_ms(900); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 429994
:
320470
| 320472