70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
#Enable hawkBit
|
|
CONFIG_HAWKBIT=y
|
|
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
|
|
CONFIG_SETTINGS=y
|
|
CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=n
|
|
CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE=y
|
|
CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="./bootloader/mcuboot/root-rsa-2048.pem"
|
|
|
|
#Main Stack Size
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
|
|
#Minimal Heap mem pool size for hawkBit to work
|
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
|
|
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
|
|
|
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
|
|
|
|
#hawkBit polling mode
|
|
CONFIG_HAWKBIT_POLLING=y
|
|
|
|
#Config hawkBit Server
|
|
CONFIG_HAWKBIT_SERVER="192.168.1.110"
|
|
|
|
#Debug helpers
|
|
CONFIG_LOG=y
|
|
CONFIG_HAWKBIT_LOG_LEVEL_INF=n
|
|
|
|
#General Config
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
|
CONFIG_LOG_BUFFER_SIZE=4096
|
|
|
|
#Generate HEX output
|
|
CONFIG_BUILD_OUTPUT_HEX=y
|
|
|
|
#Use custom attributes for hawkBit
|
|
CONFIG_HAWKBIT_CUSTOM_ATTRIBUTES=y
|