|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DSP&EMBEDDED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHY
DO WE ALWAYS FEEL DEFEATED IN EMBEDDED SYSTEM DEVELOPING? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHAT?
TOO EXPENSIVE? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TRY
THIS ONE => |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
YET
ANOTHER PROBLEM, A COMPILER IS NECESSARY ... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If
you got quite lot of money, then you can contact WindRiver for the TONADO
IDE system. It's ideal for embedded developing. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If
you didn't, or if you want to put your money on a MiniCooper, Then try our
way ... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FIRST
---------- get a complete set of GNU C compiler source file [Binary
utilities] [GCC compiler] [Newlib] [GDB debuger]. You can get them on www.gnu.org.
I will describe this in detail on another aticle. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
THEN
----------- compile them with your specified target and host environment.
For example,here we use mips-tx39-elf as target, and i686-pc-cygwin as host.
After successful compiling , you will get the full set of binary tools under
the ../bin/ directry, including binary utilities, C/C++ compile, linker,
library compiler etc. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You
may feel amazed if you are beginer for embedded developing, but don't worry,
followin this link => HOW TO BUILD
A BASIC TOOL CHAIN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OK
--------------- if you are native user of UNIX system, then these tools
are enough to begin your first project. But if you are more familiar with
Microsoft Windows, then you'd better get an IDE with graphic user interface.
The VIDE is an open source integrated development environment, and just
great! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FOR
MOST APPLICATION YOU NEED AN OS... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MOST
people use the VxWorks, because we are not
the MOST people, we decide to ask help from the lovely Penguin... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|