You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2021/11/05 20:39:25 UTC

[mynewt-core] branch master updated (7015125 -> c003dfc)

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git.


    from 7015125  hw/ipc_nrf5340: Always wait for net core to start
     new 1ac69be  sys/reboot: Move LOG_SOFT_RESET to mcumgr
     new c003dfc  apps/splitty: Include sys/reboot explicitly

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 apps/splitty/pkg.yml    | 1 +
 mgmt/smp/pkg.yml        | 3 ---
 mgmt/smp/smp_os/pkg.yml | 3 ---
 sys/reboot/syscfg.yml   | 5 -----
 4 files changed, 1 insertion(+), 11 deletions(-)

[mynewt-core] 01/02: sys/reboot: Move LOG_SOFT_RESET to mcumgr

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 1ac69beccd09dff5bd0fbcc2a31a20868b5cdbee
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Fri Nov 5 09:49:30 2021 +0100

    sys/reboot: Move LOG_SOFT_RESET to mcumgr
    
    sys/reboot defined value LOG_SOFT_RESET that it never used.
    mgmt/smp and mgmt/smp/smp_os used this value to include sys/reboot
    which did not do anything due to catch 22.
    
    This change removes LOG_SOFT_RESET from mynewt-core it will be added
    to package in mcumgr that uses it.
---
 mgmt/smp/pkg.yml        | 3 ---
 mgmt/smp/smp_os/pkg.yml | 3 ---
 sys/reboot/syscfg.yml   | 5 -----
 3 files changed, 11 deletions(-)

diff --git a/mgmt/smp/pkg.yml b/mgmt/smp/pkg.yml
index b816ffb..616c641 100644
--- a/mgmt/smp/pkg.yml
+++ b/mgmt/smp/pkg.yml
@@ -31,9 +31,6 @@ pkg.deps:
     - "@apache-mynewt-mcumgr/smp"
     - "@apache-mynewt-mcumgr/cmd/os_mgmt"
 
-pkg.deps.LOG_SOFT_RESET:
-    - "@apache-mynewt-core/sys/reboot"
-
 pkg.deps.TIMEPERSIST:
     - "@apache-mynewt-core/time/timepersist"
 
diff --git a/mgmt/smp/smp_os/pkg.yml b/mgmt/smp/smp_os/pkg.yml
index c6da594..e4e7e13 100644
--- a/mgmt/smp/smp_os/pkg.yml
+++ b/mgmt/smp/smp_os/pkg.yml
@@ -32,9 +32,6 @@ pkg.deps:
     - "@apache-mynewt-core/encoding/tinycbor"
     - "@apache-mynewt-mcumgr/cborattr"
 
-pkg.deps.LOG_SOFT_RESET:
-    - "@apache-mynewt-core/sys/reboot"
-
 pkg.deps.TIMEPERSIST:
     - "@apache-mynewt-core/time/timepersist"
 
diff --git a/sys/reboot/syscfg.yml b/sys/reboot/syscfg.yml
index bde712d..70dcdb3 100644
--- a/sys/reboot/syscfg.yml
+++ b/sys/reboot/syscfg.yml
@@ -59,8 +59,3 @@ syscfg.defs:
     REBOOT_LOG_MOD:
         description: 'Numeric module ID to use for reboot log messages.'
         value: 6
-
-    LOG_SOFT_RESET:
-        description: >
-            Log soft resets.
-        value: 1

[mynewt-core] 02/02: apps/splitty: Include sys/reboot explicitly

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit c003dfcd145455f703fb04f3e818100b4fbbc356
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Fri Nov 5 14:59:15 2021 +0100

    apps/splitty: Include sys/reboot explicitly
    
    sys/reboot package was used but it was no explicitly included.
    Functionality relaid on indirect dependency now
    package that is used is included directly.
---
 apps/splitty/pkg.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/splitty/pkg.yml b/apps/splitty/pkg.yml
index d22bbec..ad1e1c9 100644
--- a/apps/splitty/pkg.yml
+++ b/apps/splitty/pkg.yml
@@ -39,3 +39,4 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/shell"
     - "@apache-mynewt-core/sys/stats/full"
+    - "@apache-mynewt-core/sys/reboot"