Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FreeRTOS/Source
Submodule Source updated 511 files
46 changes: 37 additions & 9 deletions FreeRTOS/Test/CMock/message_buffer/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,43 @@
# Indent with spaces
# indent with spaces
.RECIPEPREFIX := $(.RECIPEPREFIX) $(.RECIPEPREFIX)

# Do not move this line below the include
MAKEFILE_ABSPATH := $(abspath $(lastword $(MAKEFILE_LIST)))
MAKEFILE_ABSPATH := $(abspath $(lastword $(MAKEFILE_LIST)))
include ../makefile.in

# SUITES lists the suites contained in subdirectories of this directory
SUITES += size_mismatch
SUITES += message_buffer
# PROJECT_SRC lists the .c files under test
PROJECT_SRC := stream_buffer.c

# PROJECT_DEPS_SRC list the .c file that are dependencies of PROJECT_SRC files
# Files in PROJECT_DEPS_SRC are excluded from coverage measurements
PROJECT_DEPS_SRC :=

# PROJECT_HEADER_DEPS: headers that should be excluded from coverage measurements.
PROJECT_HEADER_DEPS := FreeRTOS.h

# SUITE_UT_SRC: .c files that contain test cases (must end in _utest.c)
SUITE_UT_SRC := message_buffer_utest.c

# SUITE_SUPPORT_SRC: .c files used for testing that do not contain test cases.
# Paths are relative to PROJECT_DIR
SUITE_SUPPORT_SRC :=

# List the headers used by PROJECT_SRC that you would like to mock
MOCK_FILES_FP := $(KERNEL_DIR)/include/task.h
MOCK_FILES_FP += $(UT_ROOT_DIR)/config/fake_assert.h
MOCK_FILES_FP += $(UT_ROOT_DIR)/config/fake_port.h

# List any addiitonal flags needed by the preprocessor
CPPFLAGS += -DportUSING_MPU_WRAPPERS=0

# List any addiitonal flags needed by the compiler
CFLAGS +=

# Try not to edit beyond this line unless necessary.

# Project is determined based on path: $(UT_ROOT_DIR)/$(PROJECT)
PROJECT := $(lastword $(subst /, ,$(dir $(abspath $(MAKEFILE_ABSPATH)))))

# PROJECT and SUITE variables are determined based on path like so:
# $(UT_ROOT_DIR)/$(PROJECT)/$(SUITE)
PROJECT := $(lastword $(subst /, ,$(dir $(abspath $(MAKEFILE_ABSPATH)))))
export

include ../subdir.mk
include ../testdir.mk
45 changes: 0 additions & 45 deletions FreeRTOS/Test/CMock/message_buffer/message_buffer/Makefile

This file was deleted.

142 changes: 0 additions & 142 deletions FreeRTOS/Test/CMock/message_buffer/size_mismatch/FreeRTOSConfig.h

This file was deleted.

45 changes: 0 additions & 45 deletions FreeRTOS/Test/CMock/message_buffer/size_mismatch/Makefile

This file was deleted.

Loading