summaryrefslogtreecommitdiffstats
path: root/testsuite/usb01/README
blob: 75cd72c0a2d854810ed1fd003cdf0f09294769ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

> + Sebastian.. any test code that would initialize all this?
> Any advice and/or sample code on this is really valued
> as this is the next step.
>
> Basically anything that would help me get this initialized
> and have some confidence before I make it available.

Attached are two source files of a simple USB demo.

https://www.rtems.org/bugzilla/show_bug.cgi?id=1601

The FreeBSD initialization is performed in mi_startup() (file
init_main.c).  Use the demo and single step through this with the
debugger.  A lot is done with linker sets, e.g. the driver initialization.

Look at c/src/lib/libbsp/arm/shared/startup/linkcmds.base and search for
"_bsd".

See (with links in "SEE ALSO"):

http://www.freebsd.org/cgi/man.cgi?query=SYSINIT&sektion=9&apropos=0&manpath=FreeBSD+9-current