Dear Kassey Lee,

In message <cakwpuozgokv65xp-6m_u-4h+jl1hibdktv7hkb6pbv7pix0...@mail.gmail.com> 
you wrote:
> 
>              I've tried the examples/standalone/hello_world.c, it
> works on my platform!

Good.

>              but when i add more functions in
> examples/standalone/hello_world.c, for example
>              it will take the test function as the entry, but ignore
> the hello_world ? can i have more than one functions in a standalone
> application C source code ? thanks

You can have as many functions as you like, but there is usually only
one entry point.  Also, please pay attention on the documented,
mandatory entry sequence (including using app_startup() ).

>              and what's more, can we use IRQ on arm platform for
> standalone application that is already supported by u-boot?

The infrastructure is in place, so it should be possible, but I think
not all ARM systems actually implement interrupt support, so please
checn the architecture specific code for your CPU.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
No journaling file system can recover your data if the disk dies.
                                 - Steve Rago in <d4cw1p....@plc.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to