mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-01 05:52:32 +07:00
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user