Hi
Details about configuring for other LM3Xxxxx devices is contained in the following document:
http://www.utasker.com/docs/LM3Sxxxx/uTaskerLM3SXXXX_Ports.PDFFor the LM3S811:
1) In
app_hw_lm3sxxxx.h you can add a new configuration for the board with these settings:
#define _LM3S811
#define CRYSTAL_FREQ 8000000
#define PLL_OUTPUT_FREQ 50000000 // highest speed possible
#define PART_CODE CODE_LM3S811
#define PIN_COUNT PIN_COUNT_48_PIN
#define PACKAGE_TYPE PACKAGE_LQFP2) In
LM3Sxxxx.h you can add the chip's details (this is an old chip - SANDSTORM class)
a) The chip's ID
#define CODE_LM3S811 (0x32 << 16)b) The part's details:
#elif PART_CODE == CODE_LM3S811
#define PART_DC0 (0x001f001f) // 64k FLASH, 8k SRAM
#define PART_DC1 (0x001132bf)
#define PART_DC2 (0x01071013)
#define PART_DC3 (0xbf0f01ff)
#define PART_DC4 (0x0000001f)
#define PART_DC5 (0x00000000) // dummy
#define PART_DC6 (0x00000000)
#define PART_DC7 (0x00000000)
#define PART_DC8 (0x00000000)This will configure all peripherals based on these values.
If the simulator is used you will need to add a port configuration file like:
LM3S10X_port.h (but suitable for this chip - or something 'dummy' if the accuracy is not important).
3) Similarly for the LM3S611
#elif defined EK_LM3S611
#define _LM3S611
#define CRYSTAL_FREQ 8000000
#define PLL_OUTPUT_FREQ 50000000 // highest speed possible
#define PART_CODE CODE_LM3S611
#define PIN_COUNT PIN_COUNT_48_PIN
#define PACKAGE_TYPE PACKAGE_LQFPand
#define CODE_LM3S611 (0x23 << 16)and
#elif PART_CODE == CODE_LM3S611
#define PART_DC0 (0x001f000f) // 32k FLASH, 8k SRAM
#define PART_DC1 (0x001132bf)
#define PART_DC2 (0x00071013)
#define PART_DC3 (0xbf0f003f)
#define PART_DC4 (0x0000001f)
#define PART_DC5 (0x00000000) // dummy
#define PART_DC6 (0x00000000)
#define PART_DC7 (0x00000000)
#define PART_DC8 (0x00000000)Regards
Mark