This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hello World for STM32

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

Parents
  • 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?

Reply
  • 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?

Children