From 7fad01e939f72195c3a0af76f878ddb488b545b7 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 7 Jun 2024 07:36:24 -0400 Subject: go os-less; filter in sram; consider dynamic freq --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bfd4c37..e08fa19 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # Compiler options here. ifeq ($(USE_OPT),) - USE_OPT = -O3 -ggdb -fomit-frame-pointer -falign-functions=16 -fno-stack-protector + USE_OPT = -O3 -fomit-frame-pointer -falign-functions=16 -fno-stack-protector endif # C specific options here (added to USE_OPT). @@ -102,10 +102,11 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32g0xx.m include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/ports/STM32/STM32G0xx/platform.mk #include $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_G071RB/board.mk -include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk +#include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk +include $(CHIBIOS)/os/hal/osal/os-less/ARMCMx/osal.mk # RTOS files (optional). -include $(CHIBIOS)/os/nil/nil.mk -include $(CHIBIOS)/os/common/ports/ARMv6-M/compilers/GCC/mk/port.mk +#include $(CHIBIOS)/os/nil/nil.mk +#include $(CHIBIOS)/os/common/ports/ARMv6-M/compilers/GCC/mk/port.mk ## Auto-build files in ./source recursively. #include $(CHIBIOS)/tools/mk/autobuild.mk ## Other files (optional). -- cgit v1.2.3