Simple "Hello World" project?
I am using CrossWorks for the very first time (30 day trial). I was surprised to find that there isn't a wizard that gives you a simple empty or "Hello World" type application. Instead there is "combining project" and "staging project" that doesn't seem to have any source code in them. I tried adding a main.cpp file to a project created using these templates, but I couldn't get it to build.
How do I get to the point where I'm building a simple "Hello World" executable?
-
Never mind; I figured out I needed to download a "target" Package; that gave me some other project templates to choose.
However, after doing that, I tried creating a project using an appropriate template for my hardware. This project did not build, even before I made any kind of change to it at all. It had many link errors, all saying "xyz is too large to fit in SRAM memory segment".
What am I doing wrong there?
I'd really just like to build one simple Hello World application to run on my Arm9 processor.
-
Which ARM9 are you using?
By way of an example, to build and run the examples for the AT91RM9200-EK :
1. Click "Tools > Package Manager", right click on the "Atmel AT91RM9200-EK Board Support Package" link and select "Install Selected Packages", click "Next" followed by "Next" to install the support packages for this part.
2. Click "Tools > Show Installed Packages", then click on the "Atmel AT91RM9200-EK Board Support Package" link followed by the "Atmel AT91RM9200-EK Evaluation Board Samples" link to load the example solution.
3. Press F5 to build one of the example projects.
Please sign in to leave a comment.
Comments
2 comments