<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Attached is the re-vamped patch to add controller tables to AVR and ARM support. The compiler tree that this patch was grabbed from was tested in the embedded target with 3 CortexM3 devices, and 1 ARM7TDMI device (in native ARM mode.) [LM3S8962, LM3S2111, STM32F103RB and AT91SAM7S256] The program generated was a blinking LED program on 4 development boards.<br><br>Synopsis of changes:<br><br>1) rtl/embedded/arm - added files for lm3fury, lm3tempest [same file for now] AND thumb2bare.<br><br>2) compiler/<ARCH>/cpuinfo for ARM and AVR - include a common controllerunit definition from an include file<br><br>3) compiler/avr/cpuinfo for AVR - made changes to accommodate the new structure - and nothing more<br> - tested compiler against svn checkout - both broke at
same spot in compilation<br><br>4) compiler/arm/cpuinfo for ARM - changed to records vice arrays for cpu info. Added support for STM32F103RB, and a whole slew of Stellaris parts (not all, but quite a few)<br><br>5) compiler/system/t_embed.pas - removed static coded linker scripts on a per controller basis - switched to a master linker script that uses size information from controller table to generate linker information.<br><br>6) pmodules, globals, ncgutils, options files - changes to accommodate the switch to a record<br><br>7) added in root directory, sample buildarm.bat and buildthumb2.bat batch files - to show necessary command line options to build a compiler (obviously, site requirements will change directories - but I think this will prove useful.)<br><br>NOTE: The thumb2_bare target - this is a bare bones, no frills thumb2 target. The generated vector table comprises ONLY the core processor faults. There is a 2K
static array that gets used as the stack.<br><br>If there are no major objections or blatant errors I've missed, could someone post this to the repository - or give me some directions to do so.<br><br>Thanks,<br><br>John<br></div>
</div></body></html>