FreeCalypso > hg > ffs-editor
comparison components/uart_drv @ 7:d0c841cb75c7
components/uart_drv added for serialswitch.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 02:41:47 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:6a05d91d1435 | 7:d0c841cb75c7 |
---|---|
1 # Building uart_drv.lib | |
2 | |
3 CFLAGS="-mn -mt -o -x -mw -me -pw2" | |
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" | |
5 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" | |
6 | |
7 #if [ "$SERIAL_DYNAMIC_SWITCH" = 1 ] | |
8 #then | |
9 # CPPFLAGS="$CPPFLAGS -DSERIAL_DYNAMIC_SWITCH" | |
10 #fi | |
11 | |
12 # Includes | |
13 | |
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
15 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" | |
16 CPPFLAGS="$CPPFLAGS -I.." | |
17 CPPFLAGS="$CPPFLAGS -I../config" | |
18 #CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" | |
19 #CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" | |
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
39 | |
40 # Source modules | |
41 | |
42 SRCDIR=$SRC/cs/drivers/drv_app/uart | |
43 | |
44 c_file $SRCDIR/serialswitch.c | |
45 #c_file $SRCDIR/uartfax.c |