Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 633172 Details for
Bug 717610
sys-devel/gcc: not compatible with newlib-3.3.0 for msp430-* targets
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
MSP430 test program for TI launchpad with MSP430G2553
main.c (text/x-csrc), 547 bytes, created by
tomtom69
on 2020-04-16 10:42:31 UTC
(
hide
)
Description:
MSP430 test program for TI launchpad with MSP430G2553
Filename:
MIME Type:
Creator:
tomtom69
Created:
2020-04-16 10:42:31 UTC
Size:
547 bytes
patch
obsolete
>#include <msp430.h> > >#define LED0 BIT0 >#define LED1 BIT6 >#define LED_DIR P1DIR >#define LED_OUT P1OUT > > >long i; > >int main(void) { > WDTCTL = WDTPW + WDTHOLD; // Stop WDT >// Clock init > DCOCTL = 0; > BCSCTL1 = CALBC1_8MHZ; > DCOCTL = CALDCO_8MHZ; >// Ports init > LED_DIR |= LED0 + LED1; //Set LED pins as outputs > while(1) > { > LED_OUT ^= LED0; > for (i=0 ; i < 500000 ; i++); > LED_OUT ^= LED1; > for (i=0 ; i < 500000 ; i++); > } >} >
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 717610
: 633172