annotate components/misc_na7_db_fl @ 212:7f3266e247d6

audio mode load: gracefully handle mode files of wrong AEC version Irrespective of which AEC policy we adopt for FC Selenite (keep L1_NEW_AEC disabled like in Magnetite or enable it like in Tourmaline), we MUST gracefully handle the case of wrong AEC version on audio mode load: disable AEC instead of loading garbage. Therefore, we apply the same change to src/cs/services/audio/audio_mode_load.c as we made in Tourmaline and Magnetite last year.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 31 Oct 2022 00:31:30 +0000
parents 5c4db73d289a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building misc_na7_db_fl.lib using the GPF source bits we got with TCS211
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
103
1155be085fc1 components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 50
diff changeset
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 # Defines
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
105
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
10 if [ "$MEMSUPER" != 0 ]
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
11 then
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
12 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
13 fi
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
14
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 # Includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
17 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/misc"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
18 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
32
b6c8dd9a1b02 components: switch to new Nucleus
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
19 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
20 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 # Source modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
24 SRCDIR=$SRC/gpf/misc
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
26 c_file $SRCDIR/printtofile.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
27 c_file $SRCDIR/tok.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
28 c_file $SRCDIR/tools.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
29 c_file $SRCDIR/misc_version.c