diff --git a/samples/net/https_client/boards/thingy91_nrf9160_ns.conf b/samples/net/https_client/boards/thingy91_nrf9160_ns.conf new file mode 100644 index 000000000..b17f631aa --- /dev/null +++ b/samples/net/https_client/boards/thingy91_nrf9160_ns.conf @@ -0,0 +1,56 @@ +# +# Copyright (c) 2023 Nordic Semiconductor ASA +# +# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause +# + +# Configuration file for Thingy:91 +# This file is merged with prj.conf in the application folder, and options +# set here will take precedence if they are present in both files. + +# General +CONFIG_HW_STACK_PROTECTION=y +CONFIG_HW_ID_LIBRARY_SOURCE_IMEI=y +CONFIG_PICOLIBC=y + +# Modem related configurations +CONFIG_MODEM_INFO=y +CONFIG_AT_HOST_LIBRARY=y + +# Modem trace +CONFIG_NRF_MODEM_LIB_TRACE=y +CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_UART=y +CONFIG_SERIAL=y +CONFIG_UART_ASYNC_API=y +CONFIG_UART_1_ASYNC=y +CONFIG_UART_1_INTERRUPT_DRIVEN=n + +# Disable Duplicate Address Detection (DAD) +# due to not being properly implemented for offloaded interfaces. +CONFIG_NET_IPV6_NBR_CACHE=n +CONFIG_NET_IPV6_MLD=n + +# Zephyr NET Connection Manager and Connectivity layer. +CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=1024 +CONFIG_NRF_MODEM_LIB_NET_IF=y + +# Bootloader and FOTA related configurations + +# MCUBOOT +CONFIG_BOOTLOADER_MCUBOOT=y +CONFIG_MCUBOOT_IMG_MANAGER=y + +# Image manager +CONFIG_IMG_MANAGER=y +CONFIG_STREAM_FLASH=y +CONFIG_FLASH_MAP=y +CONFIG_FLASH=y +CONFIG_IMG_ERASE_PROGRESSIVELY=y + +# Heap and stacks +CONFIG_HEAP_MEM_POOL_SIZE=4096 +CONFIG_MAIN_STACK_SIZE=4096 +CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 + +# Modem key management +CONFIG_MODEM_KEY_MGMT=y \ No newline at end of file diff --git a/samples/net/https_client/boards/thingy91_nrf9160_ns.overlay b/samples/net/https_client/boards/thingy91_nrf9160_ns.overlay new file mode 100644 index 000000000..3213bc5de --- /dev/null +++ b/samples/net/https_client/boards/thingy91_nrf9160_ns.overlay @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +/* Enable uart1 for tracing. */ +&uart1 { + status = "okay"; + current-speed = < 1000000 >; + hw-flow-control; +}; + +/ { + chosen { + nordic,modem-trace-uart = &uart1; + }; +}; diff --git a/samples/net/https_client/sysbuild/mcuboot/boards/thingy91_nrf9160.conf b/samples/net/https_client/sysbuild/mcuboot/boards/thingy91_nrf9160.conf new file mode 100644 index 000000000..1bf2e424d --- /dev/null +++ b/samples/net/https_client/sysbuild/mcuboot/boards/thingy91_nrf9160.conf @@ -0,0 +1,13 @@ +# Disable Zephyr console +CONFIG_CONSOLE=n +CONFIG_CONSOLE_HANDLER=n +CONFIG_UART_CONSOLE=n + +# Disable Flash protection +CONFIG_FPROTECT=n + +# MCUBoot settings +CONFIG_BOOT_MAX_IMG_SECTORS=256 + +# MCUboot serial recovery +CONFIG_MCUBOOT_SERIAL=y