From 611011c6b4cd29cd56d7918568c2f024c6671d9c Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Tue, 28 Jun 2022 12:31:12 -0400 Subject: [PATCH 1/4] Fix #1263, update cmake_minimum_required Remove the extra/unneded cmake_minimum_required that was triggering a deprecation warning. This will just inherit the minimum version of the parent. --- src/unit-test-coverage/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/unit-test-coverage/CMakeLists.txt b/src/unit-test-coverage/CMakeLists.txt index 390918203..6ec040168 100644 --- a/src/unit-test-coverage/CMakeLists.txt +++ b/src/unit-test-coverage/CMakeLists.txt @@ -15,7 +15,6 @@ # NO ARTEFACTS FROM THIS BUILD SHOULD EVER INTERMINGLE WITH THE REAL TARGET BUILD # -cmake_minimum_required(VERSION 2.6.4) project(OSALCOVERAGE C) # Ask to generate a "make test" target From ba43d1301f0badfa7e762448c7fdaf90c36d2e93 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Tue, 5 Jul 2022 11:12:47 -0600 Subject: [PATCH 2/4] Fix #1263, Update minimum required cmake version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c406884a..f7b3f09c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ # OSAL resources. # ###################################################################### -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.5) project(OSAL C) # The "OSAL_EXT_SOURCE_DIR" cache variable may be set to a path From 02aa1d285a6cd6cc2203b8a20bd57f31f3796e9e Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 29 Jun 2022 11:15:22 -0400 Subject: [PATCH 3/4] Fix #1150, Set OSAL Loader unit test number of modules to OSAL_CONFIG_MAX_MODULES. --- src/unit-tests/osloader-test/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/unit-tests/osloader-test/CMakeLists.txt b/src/unit-tests/osloader-test/CMakeLists.txt index 1c3159d9f..dbaece6ac 100644 --- a/src/unit-tests/osloader-test/CMakeLists.txt +++ b/src/unit-tests/osloader-test/CMakeLists.txt @@ -9,8 +9,9 @@ add_osal_ut_exe(osal_loader_UT ${TEST_MODULE_FILES}) # build many copies of the test module # we need to have unique modules to load up to OS_MAX_MODULES -# This will cover up to 32 -- extras are ignored. If needed this can be increased. -set(MOD 32) +# This will cover up to $OSAL_CONFIG_MAX_MODULES + 1. If needed +# this can be increased by increasing $OSAL_CONFIG_MAX_MODULES. +math(EXPR MOD "${OSAL_CONFIG_MAX_MODULES} + 1") while(MOD GREATER 0) math(EXPR MOD "${MOD} - 1") add_library(MODULE${MOD} SHARED ut_module.c) From a07b5e83f9663b01cda7ac26960d25eca0a57b00 Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 7 Jul 2022 10:17:26 -0400 Subject: [PATCH 4/4] Bump to v6.0.0-rc4+dev93 --- README.md | 5 +++++ src/os/inc/osapi-version.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23b69ae33..4af63a4ea 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ The autogenerated OSAL user's guide can be viewed at and + ### Development Build: v6.0.0-rc4+dev87 - Add OS_StatusToString API diff --git a/src/os/inc/osapi-version.h b/src/os/inc/osapi-version.h index 5b85d8228..56e8e0264 100644 --- a/src/os/inc/osapi-version.h +++ b/src/os/inc/osapi-version.h @@ -34,7 +34,7 @@ /* * Development Build Macro Definitions */ -#define OS_BUILD_NUMBER 87 +#define OS_BUILD_NUMBER 93 #define OS_BUILD_BASELINE "v6.0.0-rc4" /*