# HG changeset patch # User Mychaela Falconia # Date 1532065913 0 # Node ID 6738273be0b3f8fb2911d89a81863ad574d4174a # Parent d076885a06693d795d716ad9be062531fa463c5f Nucleus gcc assembly modules compile diff -r d076885a0669 -r 6738273be0b3 components/nucleus_intram --- a/components/nucleus_intram Fri Jul 20 05:40:33 2018 +0000 +++ b/components/nucleus_intram Fri Jul 20 05:51:53 2018 +0000 @@ -35,3 +35,12 @@ SRCDIR=$SRC/nucleus/tms470 asm_file $SRCDIR/tmt.s fi + +if [ "$COMPILER" = gcc ] +then + ASMFLAGS=-mthumb-interwork + + SRCDIR=$SRC/nucleus/gcc + asm_file $SRCDIR/tct.S + asm_file $SRCDIR/tmt.S +fi diff -r d076885a0669 -r 6738273be0b3 src/nucleus/gcc/tct.S --- a/src/nucleus/gcc/tct.S Fri Jul 20 05:40:33 2018 +0000 +++ b/src/nucleus/gcc/tct.S Fri Jul 20 05:51:53 2018 +0000 @@ -82,7 +82,6 @@ */ #include "asm_defs.h" -#include "../include/config.h" .code 32 @@ -967,7 +966,7 @@ BNE TCT_Schedule_Thread @ Found an HISR LDR r0,[r3, #0] @ Pickup highest priority Task ptr CMP r0,#0 @ Is there a task active? -#if CONFIG_INCLUDE_L1 +#if 1 /* was CONFIG_INCLUDE_L1 in Citrine */ BEQ _GSM_Small_Sleep #else BEQ TCT_Schedule_Loop @ If not, continue the search