The unit test allows to test the frag decoder algorithms using random binary data. The coded fragments are created on the fly using the encoder algorithm described by Semtech in the LoRaWAN TS004-1.0.0 document. Signed-off-by: Martin Jäger <martin@libre.solar>
34 lines
696 B
Plaintext
34 lines
696 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
# General Zephyr settings
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
CONFIG_THREAD_NAME=y
|
|
CONFIG_LOG=y
|
|
|
|
# LoRa PHY and required peripherals
|
|
CONFIG_LORA=y
|
|
CONFIG_SPI=y
|
|
CONFIG_GPIO=y
|
|
|
|
# Random number generator required for several LoRaWAN services
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
|
|
# LoRaWAN application layer
|
|
CONFIG_LORAWAN=y
|
|
CONFIG_LORAWAN_EMUL=y
|
|
CONFIG_LORAMAC_REGION_EU868=y
|
|
|
|
# LoRaWAN services required for this test
|
|
CONFIG_LORAWAN_SERVICES=y
|
|
CONFIG_LORAWAN_FRAG_TRANSPORT=y
|
|
|
|
# Flash driver to store firmware image
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_STREAM_FLASH=y
|
|
CONFIG_IMG_MANAGER=y
|