view components/misc_na7_db_fl @ 466:1524d182a2b2

linker script for large flash: reserve the first 0x100 bytes of IRAM so we can experiment with routing interrupts through the internal ROM
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Mar 2018 00:58:51 +0000
parents b257154f1406
children
line wrap: on
line source

# Building misc_na7_db_fl.lib using the GPF source bits we got with TCS211

CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"

# Defines

CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH"

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/misc"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"

# Source modules

SRCDIR=$SRC/gpf2/misc

cfile_plain $SRCDIR/printtofile.c
cfile_plain $SRCDIR/tok.c
cfile_plain $SRCDIR/tools.c
cfile_plain $SRCDIR/misc_version.c