samples/hello_world/README.html · samples/hello_world/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Classic

Hello World

QEMU build와 가장 작은 Zephyr application 실행 흐름을 확인합니다.

Official pathsamples/hello_world/README.html
Source filesamples/hello_world/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

qemu_x86 build, board 변경 방법, console 출력과 종료 key를 보존합니다.

Board

Any supported board

Emulator

qemu_x86

Output

Hello World! x86

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 CEE6B3DD78FB42D93D7990AAF3E39B7C49CDE1A6540CED01346FE8669E535A20
.. _hello_world:

Hello World
###########

Overview
********

A simple sample that can be used with any :ref:`supported board <boards>` and
prints "Hello World" to the console.

Building and Running
********************

This application can be built and executed on QEMU as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :host-os: unix
   :board: qemu_x86
   :goals: run
   :compact:

To build for another board, change "qemu_x86" above to that board's name.

Sample Output
=============

.. code-block:: console

    Hello World! x86

Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

Part 3

한국어 전문 번역

개요

지원되는 모든 board에서 사용할 수 있는 간단한 sample입니다. Console에 Hello World를 출력합니다.

Build와 실행

다음과 같이 QEMU에서 application을 build하고 실행할 수 있습니다.

west build -b qemu_x86 samples/hello_world
west build -t run

다른 board용으로 build하려면 위 명령의 qemu_x86을 해당 board 이름으로 바꾸십시오.

Sample 출력

Hello World! x86

CTRL+A를 누른 뒤 x를 눌러 QEMU를 종료합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.