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/19 18:19:39 UTC

[mynewt-core] branch master updated: mgmt: Fix package dependency

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


The following commit(s) were added to refs/heads/master by this push:
     new bbc704f  mgmt: Fix package dependency
bbc704f is described below

commit bbc704fc7f3c895981c3513281672f40f09089f0
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Fri Nov 19 10:51:10 2021 +0100

    mgmt: Fix package dependency
    
    There were two sections pkg.deps.CRASH_TEST_MGMT:
    in such case only second section is used by newt tool.
    
    cborattr/cborattr.h was included but cborattr package was
    not specified.
---
 test/crash_test/pkg.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/crash_test/pkg.yml b/test/crash_test/pkg.yml
index 46c3e3a..22ab276 100644
--- a/test/crash_test/pkg.yml
+++ b/test/crash_test/pkg.yml
@@ -28,9 +28,8 @@ pkg.req_apis.CRASH_TEST_CLI:
     - console
 pkg.deps.CRASH_TEST_MGMT:
     - "@apache-mynewt-core/mgmt/mgmt"
-
-pkg.deps.CRASH_TEST_MGMT:
     - "@apache-mynewt-core/encoding/json"
+    - "@apache-mynewt-mcumgr/cborattr"
 
 pkg.init:
     crash_test_init: 'MYNEWT_VAL(CRASH_TEST_SYSINIT_STAGE)'