Skip to content

Commit

Permalink
mgmt: hawkbit: use SMF
Browse files Browse the repository at this point in the history
use smf for hawkbit.

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg committed Apr 17, 2024
1 parent b584950 commit d01cb3b
Show file tree
Hide file tree
Showing 5 changed files with 549 additions and 450 deletions.
1 change: 1 addition & 0 deletions include/zephyr/mgmt/hawkbit.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ enum hawkbit_response {
HAWKBIT_PERMISSION_ERROR,
HAWKBIT_METADATA_ERROR,
HAWKBIT_DOWNLOAD_ERROR,
HAWKBIT_ALLOC_ERROR,
HAWKBIT_OK,
HAWKBIT_UPDATE_INSTALLED,
HAWKBIT_NO_UPDATE,
Expand Down
2 changes: 2 additions & 0 deletions samples/subsys/mgmt/hawkbit/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ CONFIG_HTTP_CLIENT=y
CONFIG_DNS_RESOLVER=y
CONFIG_JSON_LIBRARY=y
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_SMF=y
CONFIG_SMF_ANCESTOR_SUPPORT=y

#Main Stack Size
CONFIG_MAIN_STACK_SIZE=4096
Expand Down
2 changes: 2 additions & 0 deletions subsys/mgmt/hawkbit/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ menuconfig HAWKBIT
depends on DNS_RESOLVER
depends on JSON_LIBRARY
depends on BOOTLOADER_MCUBOOT
depends on SMF
depends on SMF_ANCESTOR_SUPPORT
select EVENTS
select MPU_ALLOW_FLASH_WRITE
select IMG_ENABLE_IMAGE_CHECK
Expand Down
Loading

0 comments on commit d01cb3b

Please sign in to comment.