Presently I am experimenting with the UART using mspgcc and a TI ez430-rf2560 kit. I noticed that there were some UART example programs in the CVS tree for mspgcc. And so I downloaded the examples:
# checkout examples from CVS cvs -z3 -d:pserver:anonym...@mspgcc.cvs.sourceforge.net:/cvsroot/mspgcc co examples I found that if I edited the Makefile in the examples/leds directory to change the CPU from msp430z1101 to msp430f5438a the compile is successful. Using "mspdebug rf2500" I can load the leds.elf file to my microcontroller and the LEDs blink. However, if I try the same procedure with the uart_test example I receive a large number of compile errors: main.c: In function ‘main’: main.c:61:5: error: ‘IE1’ undeclared (first use in this function) main.c:61:5: note: each undeclared identifier is reported only once for each function it appears in main.c:62:5: error: ‘IE2’ undeclared (first use in this function) main.c:63:5: error: ‘ME1’ undeclared (first use in this function) [...] Moreover I notice the unmodified code produces a compile error as well: main.c:86:14: error: ‘SSEL_SMCLK’ undeclared (first use in this function) How can I go about debugging this code for my particular processor? Does anyone else have some experience porting these examples to different development kits like the ez430-rf2560? Thank you in advance. Best, Priyasheel ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users