# HG changeset patch # User Mychaela Falconia # Date 1560916655 0 # Node ID 5b0e7f9b3d05d44224c39abb2f9fc6c82640a766 # Parent 7409b22cac61d6a42831bb021e8b47582a0ee01c components: new -D additions from Magnetite diff -r 7409b22cac61 -r 5b0e7f9b3d05 components/bootloader --- a/components/bootloader Sun Apr 07 00:56:07 2019 +0000 +++ b/components/bootloader Wed Jun 19 03:57:35 2019 +0000 @@ -17,6 +17,13 @@ ASMFLAGS="$ASMFLAGS -dOP_WCP=0" ASMFLAGS="$ASMFLAGS -dWCP_PROF=0" +if [ "$RF" = 12 ] +then + ASMFLAGS="$ASMFLAGS -dVCXO_26MHZ=1" +else + ASMFLAGS="$ASMFLAGS -dVCXO_26MHZ=0" +fi + asm_file $SRCDIR/bootloader.s ASMFLAGS="-mt -me" diff -r 7409b22cac61 -r 5b0e7f9b3d05 components/drivers_flash --- a/components/drivers_flash Sun Apr 07 00:56:07 2019 +0000 +++ b/components/drivers_flash Wed Jun 19 03:57:35 2019 +0000 @@ -2,7 +2,7 @@ CFLAGS="-me -pw2 -mn -x -mt -o2 -mw" CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" -CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470 -DMMI=$MMI" # Includes diff -r 7409b22cac61 -r 5b0e7f9b3d05 components/main --- a/components/main Sun Apr 07 00:56:07 2019 +0000 +++ b/components/main Wed Jun 19 03:57:35 2019 +0000 @@ -91,6 +91,13 @@ ASMFLAGS="$ASMFLAGS -dC155_TARGET=0" fi +if [ "$RF" = 12 ] +then + ASMFLAGS="$ASMFLAGS -dVCXO_26MHZ=1" +else + ASMFLAGS="$ASMFLAGS -dVCXO_26MHZ=0" +fi + asm_file $SRCDIR/int.s fi