samples: updatehub: Move from net to subsys:mgmt folder

Zephyr introduced subsys/mgmt folder for MCU management. Move UpdateHub
sample to its correspondent folder at sample/subsys/mgmt folder.

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
Gerson Fernando Budke 2020-08-02 17:41:36 -03:00 committed by Carles Cufí
commit 70ff1d73c4
12 changed files with 5 additions and 8 deletions

View file

@ -400,12 +400,12 @@
/samples/net/mqtt_publisher/ @jukkar @tbursztyka
/samples/net/sockets/coap_*/ @rveerama1
/samples/net/sockets/ @jukkar @tbursztyka @pfalcon
/samples/net/updatehub/ @nandojve @otavio
/samples/sensor/ @MaureenHelm
/samples/shields/ @avisconti
/samples/subsys/logging/ @nordic-krch @jakub-uC
/samples/subsys/shell/ @jakub-uC @nordic-krch
/samples/subsys/mgmt/mcumgr/smp_svr/ @aunsbjerg @nvlsianpu
/samples/subsys/mgmt/updatehub/ @nandojve @otavio
/samples/subsys/usb/ @jfischer-phytec-iot @finikorg
/samples/subsys/power/ @wentongwu @pabigot
/samples/userspace/ @andrewboie

View file

@ -1,4 +1,4 @@
# Copyright (c) 2018 O.S.Systems
# Copyright (c) 2018-2020 O.S.Systems
#
# SPDX-License-Identifier: Apache-2.0
@ -10,7 +10,6 @@ set(KCONFIG_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/Kconfig)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(updatehub)
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/lib/updatehub/include)
target_sources(app PRIVATE src/main.c)
if(CONFIG_UPDATEHUB_DTLS)

View file

@ -1,5 +1,5 @@
UpdateHub sample
################
UpdateHub embedded Firmware Over-The-Air (FOTA) sample
######################################################
Overview
********
@ -114,7 +114,7 @@ Step 4: Build UpdateHub
``UpdateHub`` can be built for the frdm_k64f as follows:
.. zephyr-app-commands::
:zephyr-app: samples/net/updatehub/
:zephyr-app: samples/subsys/mgmt/updatehub
:board: frdm_k64f
:conf: "prj.conf overlay-prj.conf"
:goals: build

View file

@ -10,4 +10,3 @@ CONFIG_MAIN_STACK_SIZE=3000
CONFIG_NET_BUF_RX_COUNT=50
CONFIG_MBEDTLS_HEAP_SIZE=60000
# End tls configs

View file

@ -4,7 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
#Example of product_uid, you must set you product uid.
CONFIG_UPDATEHUB_PRODUCT_UID="e4d37cfe6ec48a2d069cc0bbb8b078677e9a0d8df3a027c4d8ea131130c4265f"