Skip to content

Commit

Permalink
ext: lib: mgmt: mcumgr: Build support for mcumgr.
Browse files Browse the repository at this point in the history
Adds the necessary CMakeLists.txt and Kconfig files to build the
external mcumgr library.

Signed-off-by: Christopher Collins <[email protected]>
  • Loading branch information
ccollins476ad authored and carlescufi committed Feb 20, 2018
1 parent fe5b80e commit 41646db
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ext/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ source "ext/lib/crypto/Kconfig"

source "ext/lib/encoding/Kconfig"

source "ext/lib/mgmt/Kconfig"

source "ext/debug/Kconfig"

endmenu
1 change: 1 addition & 0 deletions ext/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
add_subdirectory(crypto)
add_subdirectory(encoding)
add_subdirectory(mgmt)
24 changes: 24 additions & 0 deletions ext/lib/mgmt/Kconfig
Original file line number Diff line number Diff line change
@@ -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.
#

menu "Management"

source "ext/lib/mgmt/mcumgr/Kconfig"

endmenu
2 changes: 1 addition & 1 deletion ext/lib/mgmt/mcumgr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

menuconfig MCUMGR
config MCUMGR
bool
prompt "mcumgr Support"
select TINYCBOR
Expand Down

0 comments on commit 41646db

Please sign in to comment.