From 575acb8a1ae0055c620acc173712e956ecc73330 Mon Sep 17 00:00:00 2001 From: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Date: Thu, 18 Nov 2021 12:47:04 -0800 Subject: Enable C89 flag for unit tests (#718) Signed-off-by: Gaurav Aggarwal --- FreeRTOS/Source | 2 +- FreeRTOS/Test/CMock/testdir.mk | 2 +- manifest.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FreeRTOS/Source b/FreeRTOS/Source index 78da9cb26..e13f99038 160000 --- a/FreeRTOS/Source +++ b/FreeRTOS/Source @@ -1 +1 @@ -Subproject commit 78da9cb261787895bb3eb9c1d0753072498544d6 +Subproject commit e13f9903850a57ed5cdf3fc330f5faf4d3096d1b diff --git a/FreeRTOS/Test/CMock/testdir.mk b/FreeRTOS/Test/CMock/testdir.mk index 139cae80a..25fe2ba20 100644 --- a/FreeRTOS/Test/CMock/testdir.mk +++ b/FreeRTOS/Test/CMock/testdir.mk @@ -131,7 +131,7 @@ $(PROJ_DIR)/%.i : $(KERNEL_DIR)/%.c # compile the project objects with coverage instrumented $(PROJ_DIR)/%.o : $(PROJ_DIR)/%.i - $(CC) -c $< $(CPPFLAGS) $(CFLAGS) $(INCLUDE_DIR) $(GCC_COV_OPTS) -o $@ + $(CC) -c $< $(CPPFLAGS) $(CFLAGS) $(INCLUDE_DIR) $(GCC_COV_OPTS) -Wall -Wextra -Werror -pedantic -std=c89 -o $@ # Build mock objects $(SCRATCH_DIR)/mock_%.o : $(MOCKS_DIR)/mock_%.c diff --git a/manifest.yml b/manifest.yml index 8503070a6..892d5eda1 100644 --- a/manifest.yml +++ b/manifest.yml @@ -4,7 +4,7 @@ description: "This is the standard distribution of FreeRTOS." dependencies: - name: "FreeRTOS-Kernel" - version: "78da9cb" + version: "e13f990" repository: type: "git" url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git" -- cgit v1.2.1