diff components/bootloader @ 167:5b0e7f9b3d05

components: new -D additions from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Jun 2019 03:57:35 +0000
parents b6c8dd9a1b02
children
line wrap: on
line diff
--- 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"