From 57a437780986bac4b40e92f607bc4a450564d87b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Tue, 10 Apr 2018 12:14:02 +0200 Subject: [PATCH] Pick the loop implementation that favors performance over code size. --- devices/MK22F51212/gcc/startup_MK22F51212.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/MK22F51212/gcc/startup_MK22F51212.S b/devices/MK22F51212/gcc/startup_MK22F51212.S index 47a23cd..a4fe34e 100644 --- a/devices/MK22F51212/gcc/startup_MK22F51212.S +++ b/devices/MK22F51212/gcc/startup_MK22F51212.S @@ -353,7 +353,7 @@ Reset_Handler: ldr r2, =__data_start__ ldr r3, =__data_end__ -#if 1 +#if 0 /* Here are two copies of loop implemenations. First one favors code size * and the second one favors performance. Default uses the first one. * Change to "#if 0" to use the second one */