Merge pull request #3223 from cesanta/zephyr

Improve 4.2 test time
This commit is contained in:
Sergio R. Caprile
2025-07-29 11:22:56 -03:00
committed by GitHub
6 changed files with 14 additions and 8 deletions
+4 -3
View File
@@ -25,12 +25,13 @@ endif
update:
$(DOCKER) $(REPO) /bin/sh -c 'cd $(DOCKER_ZEPHYR_PATH) && west update'
# starting from 4.2.0, Zephyr uses CMSIS 6 https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html#cmsis
minify:
ifeq ("$(REVNO)","--mr v3.7-branch")
$(YQ) -i eval '(.manifest.defaults, .manifest.remotes, .manifest.projects[] | select(.name == "cmsis" or .name == "hal_stm32" or .name == "mbedtls" or .name == "mcuboot" or .name == "picolibc" | del(.null) ), .manifest.self) as $$i ireduce({};setpath($$i | path; $$i)) | del(.manifest.projects.[].null) | del(..|select(length==0))' zephyrproject/zephyr/west.yml
endif
#ifneq ("$(REVNO)","--mr v3.7-branch")
# $(YQ) -i eval '(.manifest.defaults, .manifest.remotes, .manifest.group-filter, .manifest.projects[] | select(.name == "cmsis" or .name == "hal_stm32" or .name == "mbedtls" or .name == "mcuboot" or .name == "picolibc" | del(.null) ), .manifest.self) as $$i ireduce({};setpath($$i | path; $$i)) | del(.manifest.projects.[].null) | del(..|select(length==0))' zephyrproject/zephyr/west.yml
#endif
ifneq ("$(REVNO)","--mr v3.7-branch")
$(YQ) -i eval '(.manifest.defaults, .manifest.remotes, .manifest.group-filter, .manifest.projects[] | select(.name == "cmsis_6" or .name == "hal_stm32" or .name == "mbedtls" or .name == "mcuboot" or .name == "picolibc" | del(.null) ), .manifest.self) as $$i ireduce({};setpath($$i | path; $$i)) | del(.manifest.projects.[].null) | del(..|select(length==0))' zephyrproject/zephyr/west.yml
endif
zephyr: init minify update
+2 -1
View File
@@ -11,7 +11,8 @@
K_SEM_DEFINE(run, 0, 1);
static void zeh(struct net_mgmt_event_callback *cb,
#if ZEPHYR_VERSION_CODE < 0x40000
// https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html#networking
#if ZEPHYR_VERSION_CODE < 0x40200
uint32_t mgmt_event,
#else
uint64_t mgmt_event,
+2 -1
View File
@@ -93,7 +93,8 @@ static void timer_fn(void *arg) {
K_SEM_DEFINE(run, 0, 1);
static void zeh(struct net_mgmt_event_callback *cb,
#if ZEPHYR_VERSION_CODE < 0x40000
// https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html#networking
#if ZEPHYR_VERSION_CODE < 0x40200
uint32_t mgmt_event,
#else
uint64_t mgmt_event,
+2 -1
View File
@@ -73,7 +73,8 @@ static void timer_fn(void *arg) {
K_SEM_DEFINE(run, 0, 1);
static void zeh(struct net_mgmt_event_callback *cb,
#if ZEPHYR_VERSION_CODE < 0x40000
// https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html#networking
#if ZEPHYR_VERSION_CODE < 0x40200
uint32_t mgmt_event,
#else
uint64_t mgmt_event,
+2 -1
View File
@@ -100,7 +100,8 @@ static void timer_fn(void *arg) {
K_SEM_DEFINE(run, 0, 1);
static void zeh(struct net_mgmt_event_callback *cb,
#if ZEPHYR_VERSION_CODE < 0x40000
// https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html#networking
#if ZEPHYR_VERSION_CODE < 0x40200
uint32_t mgmt_event,
#else
uint64_t mgmt_event,
+2 -1
View File
@@ -69,7 +69,8 @@ static void timer_fn(void *arg) {
K_SEM_DEFINE(run, 0, 1);
static void zeh(struct net_mgmt_event_callback *cb,
#if ZEPHYR_VERSION_CODE < 0x40000
// https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html#networking
#if ZEPHYR_VERSION_CODE < 0x40200
uint32_t mgmt_event,
#else
uint64_t mgmt_event,