CVS: libraries/mspgcc flash_lock.c, 1.1, 1.2 makefile, 1.5, 1.6

Chris Liechti <[email protected]> Tue, 22 Jul 2008 16:41:44 -0700
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/libraries/mspgcc
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2532

Modified Files:
	flash_lock.c makefile 
Log Message:
- flash_lock_segmentA was missing in library
- fixed compile error


Index: flash_lock.c
===================================================================
RCS file: /cvsroot/mspgcc/libraries/mspgcc/flash_lock.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- flash_lock.c	27 Dec 2005 22:00:08 -0000	1.1
+++ flash_lock.c	22 Jul 2008 23:41:40 -0000	1.2
@@ -1,5 +1,6 @@
 
 #include <signal.h>
+#define __MSP430_HAS_FLASH2__ //required for the LOCKA definition
 #include <msp430/flash.h>
 
 // this function is used to lock or unlock SegmentA on F2xx devices

Index: makefile
===================================================================
RCS file: /cvsroot/mspgcc/libraries/mspgcc/makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- makefile	24 Mar 2008 16:04:33 -0000	1.5
+++ makefile	22 Jul 2008 23:41:41 -0000	1.6
@@ -2,7 +2,7 @@
 LIBRARYNAME     = mspgcc
 CSOURCES        = hexdump.c lineeditor.c simple_readline.c fll.c checksum_xor.c \
                   ringbuffer_put.c ringbuffer_get.c ringbuffer_clear.c ringbuffer_len.c \
-                  flash_erase_segment.c flash_write_byte.c flash_write_word.c \
+                  flash_erase_segment.c flash_lock.c flash_write_byte.c flash_write_word.c \
                   hex_decode_inline.c hex_decode.c hex_encode.c hex_fromdigit.c \
                   hexdigits.c escape_encode.c escape_decode.c \
                   eventhandler_find.c event_scheduler.c


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/