annotate components/uart_drv @ 27:cb3f6fe694e1 default tip

README: document SE K2x0 addition
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 21 Dec 2023 21:44:43 +0000
parents d0c841cb75c7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building uart_drv.lib
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-mn -mt -o -x -mw -me -pw2"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 #if [ "$SERIAL_DYNAMIC_SWITCH" = 1 ]
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 #then
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 # CPPFLAGS="$CPPFLAGS -DSERIAL_DYNAMIC_SWITCH"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 #fi
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 # Includes
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -I.."
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -I../config"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 #CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 #CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 # Source modules
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 SRCDIR=$SRC/cs/drivers/drv_app/uart
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 c_file $SRCDIR/serialswitch.c
d0c841cb75c7 components/uart_drv added for serialswitch.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 #c_file $SRCDIR/uartfax.c