Hi,
I am working on MCB2300 Board (LPC2368 chip) and using newest Keil uVision3. I would like to use GNU to compile. But right now, I can't find the startup.s and link file for the LPC2368 chip.
Please give me a hand
Thanks
Hello Hoan Tran,
GNU support in uVision is now available via CodeSourcery. See: http://www.keil.com/appnotes/docs/apnt_199.asp
Best Regards, Martin Guenther
Thank for your reply!
But I have a problem: I compile a program for LPC2368 (MCB2300 Board) using startup.s and arm.ld of MCB2130 Blinky examle. It compiles well, but when I load to the board. It can not run.
Regards Tran Hoan
PS: here is program's code:
#include <LPC23xx.h>
/* Function that initializes LEDs */ void LED_Init(void) { PINSEL10 = 0; /* Disable ETM interface, enable LEDs */ FIO2DIR = 0x000000FF; /* P2.0..7 defined as Outputs */ FIO2MASK = 0x00000000; }
/* Function that turns on requested LED */ void LED_On (char num) { FIO2SET = FIO2SET | num; }
/* Function that turns off requested LED */ void LED_Off (char num) { FIO2CLR = FIO2CLR | num; }
int main(void) { int i = 0;
LED_Init();
while(1){ LED_On(0xFF); for(i = 0; i < 1000000; i++); LED_Off(0xFF); for(i = 0; i < 1000000; i++); } }
This has been a frequent question recently:
http://www.keil.com/forum/docs/thread12535.asp http://www.keil.com/forum/docs/thread12663.asp http://www.keil.com/forum/docs/thread12720.asp
Maybe the link to Codesourcery needs to be made (more) obvious on the ARM products page?
Is it?
According to the Codesourcery site, the only version with "Support" is the Professional Edition: www.codesourcery.com/.../editions.html
So, is this "Support" a special deal for uVision users only? Or do you have to buy the Codesourcery Professional Edition?
What is the level of support provided?
Support is mis-leading. What it really means is that you may run the Code Sourcery GNU implementation in the uVision IDE.
We cannot provide GNU with code examples as we do for our commercial RealView Compiler.