diff options
author | danicampora <danicampora@gmail.com> | 2020-07-27 14:49:20 +0200 |
---|---|---|
committer | danicampora <danicampora@gmail.com> | 2020-07-27 14:49:20 +0200 |
commit | 5072e1c6934a5bdf52f6692e44987c0cc91a2b60 (patch) | |
tree | 76afcb098f62dc90fce0beebc8220f713732b463 | |
parent | 4d74a1a58ac499450507ff8b90dcfa57692f7b75 (diff) |
Makefile: Disable compilation of FreeRTOS.emil_tests
-rw-r--r-- | ports/stm32/Makefile | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 488549a3f..a781149d1 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -335,21 +335,21 @@ SRC_C = \ adc.c \ $(wildcard $(BOARD_DIR)/*.c) -ifeq ($(BOARD), codisc) -FREERTOS_SRC_C = $(addprefix FreeRTOS/Source/,\ - tasks.c \ - timers.c \ - queue.c \ - stream_buffer.c \ - portable/MemMang/heap_4.c \ - portable/GCC/ARM_CM4F/port.c \ - croutine.c \ - event_groups.c \ - list.c \ - stream_buffer.c \ - CMSIS_RTOS/cmsis_os.c \ - ) -endif +# ifeq ($(BOARD), codisc) +# FREERTOS_SRC_C = $(addprefix FreeRTOS/Source/,\ +# tasks.c \ +# timers.c \ +# queue.c \ +# stream_buffer.c \ +# portable/MemMang/heap_4.c \ +# portable/GCC/ARM_CM4F/port.c \ +# croutine.c \ +# event_groups.c \ +# list.c \ +# stream_buffer.c \ +# CMSIS_RTOS/cmsis_os.c \ +# ) +# endif SRC_O = \ $(STARTUP_FILE) \ @@ -537,7 +537,7 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_HAL:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_USBDEV:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_MOD:.c=.o)) ifeq ($(BOARD), codisc) -OBJ += $(addprefix $(BUILD)/, $(FREERTOS_SRC_C:.c=.o)) +# OBJ += $(addprefix $(BUILD)/, $(FREERTOS_SRC_C:.c=.o)) endif OBJ += $(BUILD)/pins_$(BOARD).o @@ -570,9 +570,9 @@ CFLAGS += -DMICROPY_MODULE_FROZEN_STR endif # define FreeRTOS as being used so that we handle PendSV interrupts differently later in the code -ifeq ($(BOARD), codisc) -CFLAGS += -DFREERTOS_USED -endif +# ifeq ($(BOARD), codisc) +# CFLAGS += -DFREERTOS_USED +# endif ifneq ($(FROZEN_MANIFEST)$(FROZEN_MPY_DIR),) # To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and |