annotate target-utils/helloapp/Makefile @ 1014:961efadd530a default tip

fc-shell TCH DL handler: add support for CSD modes TCH DL capture mechanism in FC Tourmaline firmware has been extended to support CSD modes in addition to speech - add the necessary support on the host tools side. It needs to be noted that this mechanism in its present state does NOT provide the debug utility value that was sought: as we learned only after the code was implemented, TI's DSP has a misfeature in that the buffer we are reading (a_dd_0[]) is zeroed out when the IDS block is enabled, i.e., we are reading all zeros and not the real DL bits we were after. But since the code has already been written, we are keeping it - perhaps we can do some tests with IDS disabled.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Nov 2024 06:27:43 +0000
parents bfddfecc52b2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= arm-elf-gcc
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -Os -fno-builtin
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CPPFLAGS=-I../include
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 LD= arm-elf-ld
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 OBJCOPY=arm-elf-objcopy
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
520
bfddfecc52b2 target-utils: removed duplicated mygetchar.c modules
Mychaela Falconia <falcon@freecalypso.org>
parents: 516
diff changeset
7 BOOTROM_OBJS= crt0.o cmdtab.o main-bootrom.o
bfddfecc52b2 target-utils: removed duplicated mygetchar.c modules
Mychaela Falconia <falcon@freecalypso.org>
parents: 516
diff changeset
8 IRDA_OBJS= crt0.o cmdtab.o main-fixeduart.o uartbase-irda.o
bfddfecc52b2 target-utils: removed duplicated mygetchar.c modules
Mychaela Falconia <falcon@freecalypso.org>
parents: 516
diff changeset
9 MODEM_OBJS= crt0.o cmdtab.o main-fixeduart.o uartbase-modem.o
516
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
10
103
40dea2dbc7e6 target-utils: helloapp converted to our own libc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
11 LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a ../libbase/libbase.a \
40dea2dbc7e6 target-utils: helloapp converted to our own libc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
12 ../libc/libc.a
40dea2dbc7e6 target-utils: helloapp converted to our own libc
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
13 LIBGCC= `${CC} -print-file-name=libgcc.a`
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 LDS= ../env/iram.lds
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
516
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
16 all: helloapp-bootrom.srec helloapp-irda.srec helloapp-modem.srec
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
17
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
18 .SUFFIXES: .elf .srec
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
19
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
20 .elf.srec:
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
21 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
477
58d3a0634272 target-utils/*/Makefile: better construct for crt0.S symlink
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
23 crt0.S:
58d3a0634272 target-utils/*/Makefile: better construct for crt0.S symlink
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
24 ln -s ../env/crt0.S .
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
516
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
26 helloapp-bootrom.elf: ${BOOTROM_OBJS} ${LIBS} ${LDS}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 ${LD} -N --defsym Base_addr=0x800750 --defsym stack_bottom=0x83FFFC \
516
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
28 -T ${LDS} -o $@ ${BOOTROM_OBJS} ${LIBS} ${LIBGCC}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
516
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
30 helloapp-irda.elf: ${IRDA_OBJS} ${LIBS} ${LDS}
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
31 ${LD} -N --defsym Base_addr=0x820000 --defsym stack_bottom=0x83FFFC \
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
32 -T ${LDS} -o $@ ${IRDA_OBJS} ${LIBS} ${LIBGCC}
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
33
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
34 helloapp-modem.elf: ${MODEM_OBJS} ${LIBS} ${LDS}
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
35 ${LD} -N --defsym Base_addr=0x820000 --defsym stack_bottom=0x83FFFC \
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 477
diff changeset
36 -T ${LDS} -o $@ ${MODEM_OBJS} ${LIBS} ${LIBGCC}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 clean:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 rm -f *.o *errs *core *.elf *.bin *.srec crt0.S
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 FRC: