Project

General

Profile

Compile-without-sercomm » History » Version 3

gnutoo, 02/19/2016 10:49 PM

1 1 gnutoo
Nuttx can be configured differently depending on what we want.
2
The possible configs are:
3 2 gnutoo
 * compal_e88/nsh_highram : for the gta02 using the osmocon for the romloader
4
 * compal_e99/nsh_highram : for the c155 using osmocon + loader.compalram.bin as a loader
5
 * compal_e99/nsh_compalram : for the c155 using osmocon to load it
6 1 gnutoo
7
nsh is the nuttx shell(nuttx can also run standalone apps without a shell).
8 3 gnutoo
9
== standalone nuttx ==
10
if you want a standalone nuttx(without linking to osmocombb for the drivers) do the following:
11
{{{
12
make clean
13
make distclean
14
}}}
15
16
Then apply manually the following pseudo-diff in nuttx/.config :
17
{{{
18
-CONFIG_DISABLE_ENVIRON=y
19
+CONFIG_DISABLE_ENVIRON=n
20
+CONFIG_STDIO_LINE_BUFFER=y
21
}}}
22
And then remove the following lines from nuttx/Make.defs:
23
{{{
24
  OSMODIR                 = $(TOPDIR)/../../osmocom-bb
25
  EXTRA_LIBS              = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
26
                            $(OSMODIR)/src/shared/libosmocore/build-target/src/.libs/libosmocore.a \
27
                            $(OSMODIR)/src/target/firmware/calypso/libcalypso.a \
28
                            $(OSMODIR)/src/target/firmware/comm/libcomm.a
29
                          # ^^^ Stupid hack! Why do I have to put it twice???
30
}}}
Add picture from clipboard (Maximum size: 48.8 MB)