diff --git a/samples/qf_helloworldhw/CMakeLists.txt b/samples/drivers/led_eos_s3_1/CMakeLists.txt similarity index 90% rename from samples/qf_helloworldhw/CMakeLists.txt rename to samples/drivers/led_eos_s3_1/CMakeLists.txt index cb436bb1fe833c..c6db3944364c03 100644 --- a/samples/qf_helloworldhw/CMakeLists.txt +++ b/samples/drivers/led_eos_s3_1/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) -project(qf_helloworldhw) +project(led_eos_s3_1) FILE(GLOB app_sources src/*.c) target_sources(app PRIVATE ${app_sources}) diff --git a/samples/drivers/led_eos_s3_1/README.rst b/samples/drivers/led_eos_s3_1/README.rst new file mode 100644 index 00000000000000..c510c83042708b --- /dev/null +++ b/samples/drivers/led_eos_s3_1/README.rst @@ -0,0 +1,25 @@ +.. _eos_s3_1: + +EOS_S3_1: Preconfigured LED +########################### + +Overview +******** + +This sample blinks the LEDs which is preconfigured in the FPGA IP: + + +Building and Running +******************** + +Build the application for the :ref:`quick_feather` board. + +.. zephyr-app-commands:: + :zephyr-app: samples/drivers/led_eos_s3_1 + :board: quick_feather + :goals: build + :compact: + +For flashing the application, refer to the Flashing section of the +:ref:`quick_feather` board documentation. + diff --git a/samples/qf_helloworldhw/prj.conf b/samples/drivers/led_eos_s3_1/prj.conf similarity index 100% rename from samples/qf_helloworldhw/prj.conf rename to samples/drivers/led_eos_s3_1/prj.conf diff --git a/samples/drivers/led_eos_s3_1/sample.yaml b/samples/drivers/led_eos_s3_1/sample.yaml new file mode 100644 index 00000000000000..8654aba4cb07ee --- /dev/null +++ b/samples/drivers/led_eos_s3_1/sample.yaml @@ -0,0 +1,8 @@ +sample: + description: Demonstration of the eos_s3_1 LED driver + name: led_eos_s3_1 sample +tests: + sample.drivers.led.eos_s3_1: + platform_whitelist: quick_feather + tags: led + harness: TBD diff --git a/samples/qf_helloworldhw/src/main.c b/samples/drivers/led_eos_s3_1/src/main.c similarity index 100% rename from samples/qf_helloworldhw/src/main.c rename to samples/drivers/led_eos_s3_1/src/main.c diff --git a/samples/qf_helloworldhw/README.rst b/samples/qf_helloworldhw/README.rst deleted file mode 100644 index 6a6b9c889e7792..00000000000000 --- a/samples/qf_helloworldhw/README.rst +++ /dev/null @@ -1,31 +0,0 @@ -.. _hello_world: - -Hello World -########### - -Overview -******** -The Hello World example can be used on Quick Feather board. -It prints 'Hello World' to the console using EOS S3 H/W UART and -blinks green on the board. It uses FPGA IP to blink the LED. - -Building and Running -******************** - -This project can be built and executed -on Quick Feather as follows: - -.. zephyr-app-commands:: - :zephyr-app: samples/qf_hello_worldhw - :host-os: unix - :board: quick feather - :goals: run - :compact: - -Sample Output -============= - -.. code-block:: console - - Hello World! - diff --git a/samples/qf_helloworldhw/sample.yaml b/samples/qf_helloworldhw/sample.yaml deleted file mode 100644 index 094364147dec67..00000000000000 --- a/samples/qf_helloworldhw/sample.yaml +++ /dev/null @@ -1,3 +0,0 @@ -sample: - name: qf_helloworldhw Sample -