2024-04-03 22:46:02 +08:00
|
|
|
#Enable hawkBit
|
2020-08-07 16:25:01 +08:00
|
|
|
CONFIG_HAWKBIT=y
|
2023-03-01 20:29:37 +08:00
|
|
|
CONFIG_NVS=y
|
|
|
|
CONFIG_FLASH=y
|
|
|
|
CONFIG_FLASH_MAP=y
|
|
|
|
CONFIG_STREAM_FLASH=y
|
|
|
|
CONFIG_REBOOT=y
|
|
|
|
CONFIG_HWINFO=y
|
|
|
|
CONFIG_NET_TCP=y
|
|
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
CONFIG_IMG_MANAGER=y
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_HTTP_CLIENT=y
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
CONFIG_JSON_LIBRARY=y
|
|
|
|
CONFIG_BOOTLOADER_MCUBOOT=y
|
2024-03-01 21:19:11 +08:00
|
|
|
CONFIG_SETTINGS=y
|
2024-04-19 21:06:44 +08:00
|
|
|
CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=n
|
|
|
|
CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE=y
|
|
|
|
CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="./bootloader/mcuboot/root-rsa-2048.pem"
|
2020-08-07 16:25:01 +08:00
|
|
|
|
|
|
|
#Main Stack Size
|
|
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
|
|
|
2024-04-03 22:46:02 +08:00
|
|
|
#Minimal Heap mem pool size for hawkBit to work
|
2020-08-07 16:25:01 +08:00
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
|
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
|
|
|
|
|
2024-04-29 18:24:06 +08:00
|
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
|
|
|
|
2020-08-07 16:25:01 +08:00
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_IPV6=n
|
|
|
|
|
|
|
|
#Enable DHCPv4 server
|
|
|
|
CONFIG_NET_DHCPV4=y
|
|
|
|
CONFIG_NET_MGMT=y
|
|
|
|
CONFIG_NET_MGMT_EVENT=y
|
|
|
|
|
|
|
|
#Enable DNS Resolver
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
|
|
CONFIG_DNS_SERVER1="8.8.8.8"
|
|
|
|
CONFIG_DNS_SERVER2="192.168.1.1"
|
|
|
|
|
|
|
|
#Optional if you would like test on the your server
|
|
|
|
CONFIG_SHELL=y
|
|
|
|
CONFIG_HAWKBIT_SHELL=y
|
|
|
|
CONFIG_KERNEL_SHELL=y
|
|
|
|
|
2024-04-03 22:46:02 +08:00
|
|
|
#hawkBit polling mode
|
2020-08-07 16:25:01 +08:00
|
|
|
CONFIG_HAWKBIT_POLLING=y
|
|
|
|
|
2024-04-03 22:46:02 +08:00
|
|
|
#Config hawkBit Server
|
2020-08-07 16:25:01 +08:00
|
|
|
CONFIG_HAWKBIT_SERVER="192.168.1.110"
|
|
|
|
|
|
|
|
#Debug helpers
|
|
|
|
CONFIG_LOG=y
|
|
|
|
CONFIG_HAWKBIT_LOG_LEVEL_INF=n
|
|
|
|
|
|
|
|
#General Config
|
2023-09-29 06:27:11 +08:00
|
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
2020-08-07 16:25:01 +08:00
|
|
|
CONFIG_LOG_BUFFER_SIZE=4096
|
|
|
|
|
|
|
|
#Generate HEX output
|
|
|
|
CONFIG_BUILD_OUTPUT_HEX=y
|
2024-03-14 20:50:44 +08:00
|
|
|
|
|
|
|
#Use custom attributes for hawkBit
|
|
|
|
CONFIG_HAWKBIT_CUSTOM_ATTRIBUTES=y
|