This corrects the directory pointing to sample in the README file. Also changes the TCP port number for the second serial port exposing the GDB stub. This allows QEMU itself to expose GDB interface through port 1234, and Zephyr's GDB stub at port 5678. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
13 lines
292 B
CMake
13 lines
292 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
if(BOARD MATCHES "qemu_x86")
|
|
list(APPEND QEMU_EXTRA_FLAGS -serial tcp:127.0.0.1:5678,server)
|
|
endif()
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(debug)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|