Hi Nathan,
I am trying to run hello world on my solox sabresd board.
I am using Eclipse IDE and when I compile the code I get a .elf file:
10:57:41 **** Incremental Build of configuration Release for project helloworldtest ****
make all
Invoking: Cross ARM GNU Print Size
arm-none-eabi-size --format=berkeley "helloworldtest.elf"
text data bss dec hex filename
8252 2396 260 10908 2a9c helloworldtest.elf
Finished building: helloworldtest.siz
10:57:43 Build Finished (took 2s.387ms)
Code:
/*
============================================================================
Name : main.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C
============================================================================
*/
#include <stdio.h>
/*
*
* Print a greeting message on standard output and exit.
* On embedded platforms this might require semi-hosting or similar.
* For example, for toolchains derived from GNU Tools for Embedded,
* to enable semi-hosting, the following was added to the linker:
*
* --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group
*
* Adjust it for other toolchains.
*
*/
int
main(void)
{
printf("Hello ARM World!" "\n");
return 0;
}
My question is how can I get hello world to print?
Thanks.