cmake_minimum_required(VERSION 3.20.0)

# Minimal WDT + System OFF demo for nRF52832
# This project is intentionally small and self-contained so that Nordic
# engineers can easily read and reproduce the behavior.

# Add application dts/bindings to the devicetree search path (needed for pbox,lsm6dsm binding)
list(APPEND DTS_ROOT ${CMAKE_CURRENT_SOURCE_DIR})

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(fsm_test_min)

target_sources(app PRIVATE
  src/main.c
  ../fsm_test/src/led.c
  ../fsm_test/src/fault_handler.c
)

target_include_directories(app PRIVATE
  ../fsm_test/src
)

