arm demos under KEIL

tns1 wrote on Wednesday, October 15, 2008:

Having a problem building any of the non-Cortex ARM demos under Keil RealView compiler uVision3 V3.62c.
The embedded assy in the file \Source\portable\Keil\ARM7\portmacro.h generates many syntax errors:

Source\portable\Keil\ARM7\portmacro.h(131): error:  #40: expected an identifier
Source\portable\Keil\ARM7\portmacro.h(131): error:  #666: "asm" must be used with a function definition
Source\portable\Keil\ARM7\portmacro.h(131): error:  #65: expected a ";"

Could someone else verify this? thanks

davedoors wrote on Wednesday, October 15, 2008:

Start with a demo from the page. The Keil demo in the main download uses the old Keil compiler, not the realview compiler.

tns1 wrote on Thursday, October 16, 2008:

Thanks. I got the LPC2138_Keil_RVDS_MCB2130_FD project to build once I added an ro-base value. The SAM7 project would probably build too if I wasn’t using the size limited eval.