From 4f957b6824a122b8db5b0008d7e4707d4a38154c Mon Sep 17 00:00:00 2001 From: Will Hedgecock Date: Thu, 27 Jun 2024 15:23:58 -0500 Subject: [PATCH] Reduce optimization level for better BLE stability --- software/firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/firmware/Makefile b/software/firmware/Makefile index f4682116..9a3db23e 100644 --- a/software/firmware/Makefile +++ b/software/firmware/Makefile @@ -257,7 +257,7 @@ LIBS += AmbiqSDK/mcu/$(PART)/hal/mcu/gcc/bin/libam_hal.a CFLAGS = -mthumb -mcpu=$(CPU) -mfpu=$(FPU) -mfloat-abi=$(FABI) CFLAGS+= -ffunction-sections -fdata-sections -fomit-frame-pointer -CFLAGS+= -MMD -MP -std=c99 -Wall -O3 +CFLAGS+= -MMD -MP -std=c99 -Wall -O0 CFLAGS+= $(DEFINES) CFLAGS+= $(INCLUDES)