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 2022/01/18 08:43:52 UTC
[mynewt-mcumgr] branch master updated: os_mgmt/mynewt: Fix log reboot confusion
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-mcumgr.git
The following commit(s) were added to refs/heads/master by this push:
new 215eb18 os_mgmt/mynewt: Fix log reboot confusion
215eb18 is described below
commit 215eb188c20323a6b0489be2ddc08e0f3171c7d8
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Fri Nov 5 10:12:54 2021 +0100
os_mgmt/mynewt: Fix log reboot confusion
LOG_SOFT_REBOOT was defined in sys/reboot package.
This package however never used this for anything.
Moreover, some packages in mynewt-core used this
value to conditionally include sys/reboot.
Now LOG_SOFT_REBOOT is moved to package that actually
uses it for inclusion of sys/reboot.
---
cmd/os_mgmt/port/mynewt/syscfg.yml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/cmd/os_mgmt/port/mynewt/syscfg.yml b/cmd/os_mgmt/port/mynewt/syscfg.yml
new file mode 100644
index 0000000..a66a426
--- /dev/null
+++ b/cmd/os_mgmt/port/mynewt/syscfg.yml
@@ -0,0 +1,24 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+syscfg.defs:
+ LOG_SOFT_RESET:
+ description: >
+ Log soft resets.
+ value: 1