Add simple TFTP client code using TFTP client library Initiate connection (IPv4) with optional DNS resolution Operate get operation then put operation in octet mode Tested on native_posix Issue/Discussion #60985 Signed-off-by: romain pelletant <romain.pelletant@fullfreqs.com>
10 lines
285 B
CMake
10 lines
285 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(tftp_client)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|
|
|
|
include(${ZEPHYR_BASE}/samples/net/common/common.cmake)
|