1#Enable hawkBit 2CONFIG_HAWKBIT=y 3CONFIG_NVS=y 4CONFIG_FLASH=y 5CONFIG_FLASH_MAP=y 6CONFIG_STREAM_FLASH=y 7CONFIG_REBOOT=y 8CONFIG_HWINFO=y 9CONFIG_NET_TCP=y 10CONFIG_NET_SOCKETS=y 11CONFIG_IMG_MANAGER=y 12CONFIG_NETWORKING=y 13CONFIG_HTTP_CLIENT=y 14CONFIG_DNS_RESOLVER=y 15CONFIG_JSON_LIBRARY=y 16CONFIG_BOOTLOADER_MCUBOOT=y 17CONFIG_SETTINGS=y 18CONFIG_SMF=y 19CONFIG_SMF_ANCESTOR_SUPPORT=y 20 21CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=n 22CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE=y 23CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="./bootloader/mcuboot/root-rsa-2048.pem" 24 25#Main Stack Size 26CONFIG_MAIN_STACK_SIZE=4096 27 28#Minimal Heap mem pool size for hawkBit to work 29CONFIG_HEAP_MEM_POOL_SIZE=4096 30CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 31 32CONFIG_NET_CONFIG_SETTINGS=y 33CONFIG_NET_CONFIG_NEED_IPV4=y 34 35CONFIG_NET_IPV4=y 36CONFIG_NET_IPV6=n 37 38#Enable DHCPv4 server 39CONFIG_NET_DHCPV4=y 40CONFIG_NET_MGMT=y 41CONFIG_NET_MGMT_EVENT=y 42 43#Enable DNS Resolver 44CONFIG_DNS_RESOLVER=y 45CONFIG_DNS_SERVER_IP_ADDRESSES=y 46CONFIG_DNS_SERVER1="8.8.8.8" 47CONFIG_DNS_SERVER2="192.168.1.1" 48 49#Optional if you would like test on the your server 50CONFIG_SHELL=y 51CONFIG_HAWKBIT_SHELL=y 52CONFIG_KERNEL_SHELL=y 53 54#hawkBit polling mode 55CONFIG_HAWKBIT_POLLING=y 56 57#Config hawkBit Server 58CONFIG_HAWKBIT_SERVER="192.168.1.110" 59 60#Debug helpers 61CONFIG_LOG=y 62CONFIG_HAWKBIT_LOG_LEVEL_INF=n 63 64#General Config 65CONFIG_REQUIRES_FULL_LIBC=y 66CONFIG_LOG_BUFFER_SIZE=4096 67 68#Generate HEX output 69CONFIG_BUILD_OUTPUT_HEX=y 70 71#Use custom attributes for hawkBit 72CONFIG_HAWKBIT_CUSTOM_ATTRIBUTES=y 73 74# Use event callbacks for hawkBit 75CONFIG_HAWKBIT_EVENT_CALLBACKS=y 76