I'm using mspgcc for programming an x2618 mcu. I've had to make a few changes to the header files for this chip. Below is the diff for these files, compared to a CVS snapshot from just minutes ago, and I'll attach these files as well in case the server doesn't strip them. If someone could review these and put these in CVS I'm sure they may be useful to others.
Also, I'm trying to compile the new CVS code, and I'm having a problem compiling Insight/GDB. I've had this problem for a while now, and have just been ignoring it. gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -I. -I. -I../common -I run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lnsl libsim.a(sim-load.o): In function `LSSEXT32': ../common/sim-n-bits.h:180: undefined reference to `sim_io_error' libsim.a(sim-load.o): In function `MSSEXT32': ../common/sim-n-bits.h:196: undefined reference to `sim_io_error' I'm not dead without Insight, but it would be kind of nice. I used to use DDD with GDB when I was working on x4618 chips, but I've just been using the MSPGCC downloader with a USBFET for the x2618 chips. I wouldn't mind trying to get a debugger running again. Thanks, TonyB [r...@tonyb packaging]# diff ../../msp430/include/msp430x261x.h /data/msp430x261x.h 11a12,13 > * 2008-06-04 - TonyB (tony.borr...@gmail.com) > * - Defined __MSP430_HAS_PORT7_R__ and __MSP430_HAS_PORT8_R__ 35a38,39 > #define __MSP430_HAS_PORT7_R__ > #define __MSP430_HAS_PORT8_R__ [r...@tonyb packaging]# diff ../../msp430/include/msp430/gpio.h /data/gpio.h 9a10,13 > * > * 2008-06-04 - TonyB (tony.borr...@gmail.com) > * - for msp430x2618 (and possibly others) > * - define __MSP430_HAS_PORT7_R__ and __MSP430_HAS_PORT7_R__ 28a33 > __MSP430_HAS_PORT5_R__ - if device has port 5 with pull-downs 29a35 > __MSP430_HAS_PORT6_R__ - if device has port 6 with pull-downs 30a37 > __MSP430_HAS_PORT7_R__ - if device has port 7 with pull-downs 31a39 > __MSP430_HAS_PORT8_R__ - if device has port 8 with pull-downs 214c222 < #if defined(__MSP430_HAS_PORT7__) --- > #if defined(__MSP430_HAS_PORT7__) || defined(__MSP430_HAS_PORT7_R__) 222a231,234 > #if defined(__MSP430_HAS_PORT7_R__) > #define P7REN_ 0x0014 /* Port 7 Resistor enable */ > sfrb(P7REN, P7REN_); > #endif 225c237 < #if defined(__MSP430_HAS_PORT8__) --- > #if defined(__MSP430_HAS_PORT8__) || defined(__MSP430_HAS_PORT8_R__) 233a246,249 > #if defined(__MSP430_HAS_PORT8_R__) > #define P8REN_ 0x0015 /* Port 8 Resistor enable */ > sfrb(P8REN, P8REN_); > #endif
gpio.h
Description: Binary data
msp430x261x.h
Description: Binary data