Hello I am an ARM newbie I found a simple example, a hello world program for LP2100. I want to use this example, but with STM32F103ze, but I have not found the correct files for this (I am triying to put #include <stm32f10x_lib.h> instead of #include <LPC21xx.H> and so, but I get errors )
What should I do ?
Thanks
why don't you start with a working sample for your processor instead of doing all kinds of strange things that cannot (by definition) work? what is wrong with this program? "..\Keil\ARM\Boards\Keil\MCBSTM32\Blinky" ?
Ok. I want to use gcc compiler, so I am using codesourcery g++ eabi tool-chain, and I am using a Blinky example (apn199_examples)
I have commented all the code about lcd and adc, and I have written " printf("hello world"); " in main programm.
And I get this warning: arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-isatty.o): warning: IO function '_isatty' used.
Should I change my linker script? Or what is the problem?
I guess it has something to do with semihosting. I am not familiar with your processor, so I suggest you have a look at the manual.
So that's not Keil, is it?
For CodeSourcery questions, you need to go to CodeSourcery!
Or try ST's STM32 Forum: www.st.com/.../forumsid-23.html
Note that the ST Firmware Library includes a whole load of examples - have you tried them?
www.st.com/.../modules.php
One thing's for sure: the LP2100 is an entirely different beast; it is certainly not a sensible starting point - especially for a novice!
Start with something that's specifically made for the chip in question!
It's not to do with the processor - it's to do with the Toolchain.
Since the Toolchain is not Keil, this isn't the right place to come...
Keil almost certainly is different from CodeSourcery in this respect - so Keil-specific advice will not be of any use.