# HG changeset patch # User Mychaela Falconia # Date 1531968975 0 # Node ID c56f1d6202f5070e2bf96ab7ea1cc6bc0eb3e43f # Parent d2074d1102e0cb097bde42ef759385927477448b l1_small.c: disable TMS470 assembly for gcc diff -r d2074d1102e0 -r c56f1d6202f5 src/cs/layer1/cfile/l1_small.c --- a/src/cs/layer1/cfile/l1_small.c Thu Jul 19 01:04:05 2018 +0000 +++ b/src/cs/layer1/cfile/l1_small.c Thu Jul 19 02:56:15 2018 +0000 @@ -99,6 +99,7 @@ extern volatile Bool bspI2c_busLocked[BSP_I2C_NUM_DEVICES] ; #endif +#ifndef __GNUC__ /* NEW COMPILER MANAGEMENT * With compiler V3.00, the .text section must be explicitely * defined. @@ -106,6 +107,7 @@ * The change is applied to all compilers. */ asm(" .sect \".text\" "); +#endif UWORD8 *mode_authorized = &(l1s.pw_mgr.mode_authorized); @@ -221,6 +223,7 @@ /* Called by TCT_Schedule main loop of Nucleus */ /*-------------------------------------------------------*/ +#ifndef __GNUC__ asm(" .def INT_Small_Sleep "); asm("INT_Small_Sleep "); @@ -354,3 +357,4 @@ #endif #endif // OP_L1_STANDALONE +#endif /* __GNUC__ */