view components/misc_na7_db_fl @ 605:07d0dc4431f4

bootloader.s: same MEMIF fix as in int.s plus DPLL BYPASS fix Both MEMIF and DPLL settings are now the same between int.s and bootloader.s assembly code paths. Previously bootloader.s was setting DPLL BYPASS /2 mode, which persisted until _INT_Initialize code with the bootloader body omitted, or was changed to /1 in the hardware init function in the bootloader.lib:start.obj module.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 17 Jun 2019 18:40:32 +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