From 0f1041cc044e1daa2e4896c8887681b8657bb853 Mon Sep 17 00:00:00 2001 From: "Michael (XIAO Xufeng)" Date: Mon, 30 Dec 2019 13:31:12 +0800 Subject: [PATCH] example: move spi master example to a subfolder --- .../peripherals/spi_master/{ => lcd}/CMakeLists.txt | 0 examples/peripherals/spi_master/{ => lcd}/Makefile | 0 examples/peripherals/spi_master/{ => lcd}/README.md | 0 .../{ => lcd}/components/tjpgd/CMakeLists.txt | 0 .../{ => lcd}/components/tjpgd/component.mk | 0 .../{ => lcd}/components/tjpgd/include/tjpgd.h | 0 .../{ => lcd}/components/tjpgd/src/tjpgd.c | 0 .../spi_master/{ => lcd}/main/CMakeLists.txt | 0 .../spi_master/{ => lcd}/main/Kconfig.projbuild | 0 .../spi_master/{ => lcd}/main/component.mk | 0 .../spi_master/{ => lcd}/main/decode_image.c | 0 .../spi_master/{ => lcd}/main/decode_image.h | 8 ++++++++ .../peripherals/spi_master/{ => lcd}/main/image.jpg | Bin .../spi_master/{ => lcd}/main/pretty_effect.c | 0 .../spi_master/{ => lcd}/main/pretty_effect.h | 8 ++++++++ .../{ => lcd}/main/spi_master_example_main.c | 0 16 files changed, 16 insertions(+) rename examples/peripherals/spi_master/{ => lcd}/CMakeLists.txt (100%) rename examples/peripherals/spi_master/{ => lcd}/Makefile (100%) rename examples/peripherals/spi_master/{ => lcd}/README.md (100%) rename examples/peripherals/spi_master/{ => lcd}/components/tjpgd/CMakeLists.txt (100%) rename examples/peripherals/spi_master/{ => lcd}/components/tjpgd/component.mk (100%) rename examples/peripherals/spi_master/{ => lcd}/components/tjpgd/include/tjpgd.h (100%) rename examples/peripherals/spi_master/{ => lcd}/components/tjpgd/src/tjpgd.c (100%) rename examples/peripherals/spi_master/{ => lcd}/main/CMakeLists.txt (100%) rename examples/peripherals/spi_master/{ => lcd}/main/Kconfig.projbuild (100%) rename examples/peripherals/spi_master/{ => lcd}/main/component.mk (100%) rename examples/peripherals/spi_master/{ => lcd}/main/decode_image.c (100%) rename examples/peripherals/spi_master/{ => lcd}/main/decode_image.h (67%) rename examples/peripherals/spi_master/{ => lcd}/main/image.jpg (100%) rename examples/peripherals/spi_master/{ => lcd}/main/pretty_effect.c (100%) rename examples/peripherals/spi_master/{ => lcd}/main/pretty_effect.h (67%) rename examples/peripherals/spi_master/{ => lcd}/main/spi_master_example_main.c (100%) diff --git a/examples/peripherals/spi_master/CMakeLists.txt b/examples/peripherals/spi_master/lcd/CMakeLists.txt similarity index 100% rename from examples/peripherals/spi_master/CMakeLists.txt rename to examples/peripherals/spi_master/lcd/CMakeLists.txt diff --git a/examples/peripherals/spi_master/Makefile b/examples/peripherals/spi_master/lcd/Makefile similarity index 100% rename from examples/peripherals/spi_master/Makefile rename to examples/peripherals/spi_master/lcd/Makefile diff --git a/examples/peripherals/spi_master/README.md b/examples/peripherals/spi_master/lcd/README.md similarity index 100% rename from examples/peripherals/spi_master/README.md rename to examples/peripherals/spi_master/lcd/README.md diff --git a/examples/peripherals/spi_master/components/tjpgd/CMakeLists.txt b/examples/peripherals/spi_master/lcd/components/tjpgd/CMakeLists.txt similarity index 100% rename from examples/peripherals/spi_master/components/tjpgd/CMakeLists.txt rename to examples/peripherals/spi_master/lcd/components/tjpgd/CMakeLists.txt diff --git a/examples/peripherals/spi_master/components/tjpgd/component.mk b/examples/peripherals/spi_master/lcd/components/tjpgd/component.mk similarity index 100% rename from examples/peripherals/spi_master/components/tjpgd/component.mk rename to examples/peripherals/spi_master/lcd/components/tjpgd/component.mk diff --git a/examples/peripherals/spi_master/components/tjpgd/include/tjpgd.h b/examples/peripherals/spi_master/lcd/components/tjpgd/include/tjpgd.h similarity index 100% rename from examples/peripherals/spi_master/components/tjpgd/include/tjpgd.h rename to examples/peripherals/spi_master/lcd/components/tjpgd/include/tjpgd.h diff --git a/examples/peripherals/spi_master/components/tjpgd/src/tjpgd.c b/examples/peripherals/spi_master/lcd/components/tjpgd/src/tjpgd.c similarity index 100% rename from examples/peripherals/spi_master/components/tjpgd/src/tjpgd.c rename to examples/peripherals/spi_master/lcd/components/tjpgd/src/tjpgd.c diff --git a/examples/peripherals/spi_master/main/CMakeLists.txt b/examples/peripherals/spi_master/lcd/main/CMakeLists.txt similarity index 100% rename from examples/peripherals/spi_master/main/CMakeLists.txt rename to examples/peripherals/spi_master/lcd/main/CMakeLists.txt diff --git a/examples/peripherals/spi_master/main/Kconfig.projbuild b/examples/peripherals/spi_master/lcd/main/Kconfig.projbuild similarity index 100% rename from examples/peripherals/spi_master/main/Kconfig.projbuild rename to examples/peripherals/spi_master/lcd/main/Kconfig.projbuild diff --git a/examples/peripherals/spi_master/main/component.mk b/examples/peripherals/spi_master/lcd/main/component.mk similarity index 100% rename from examples/peripherals/spi_master/main/component.mk rename to examples/peripherals/spi_master/lcd/main/component.mk diff --git a/examples/peripherals/spi_master/main/decode_image.c b/examples/peripherals/spi_master/lcd/main/decode_image.c similarity index 100% rename from examples/peripherals/spi_master/main/decode_image.c rename to examples/peripherals/spi_master/lcd/main/decode_image.c diff --git a/examples/peripherals/spi_master/main/decode_image.h b/examples/peripherals/spi_master/lcd/main/decode_image.h similarity index 67% rename from examples/peripherals/spi_master/main/decode_image.h rename to examples/peripherals/spi_master/lcd/main/decode_image.h index 4c9faae36..eb02eab5e 100644 --- a/examples/peripherals/spi_master/main/decode_image.h +++ b/examples/peripherals/spi_master/lcd/main/decode_image.h @@ -1,3 +1,11 @@ +/* + This example code is in the Public Domain (or CC0 licensed, at your option.) + + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ + #pragma once #include #include "esp_err.h" diff --git a/examples/peripherals/spi_master/main/image.jpg b/examples/peripherals/spi_master/lcd/main/image.jpg similarity index 100% rename from examples/peripherals/spi_master/main/image.jpg rename to examples/peripherals/spi_master/lcd/main/image.jpg diff --git a/examples/peripherals/spi_master/main/pretty_effect.c b/examples/peripherals/spi_master/lcd/main/pretty_effect.c similarity index 100% rename from examples/peripherals/spi_master/main/pretty_effect.c rename to examples/peripherals/spi_master/lcd/main/pretty_effect.c diff --git a/examples/peripherals/spi_master/main/pretty_effect.h b/examples/peripherals/spi_master/lcd/main/pretty_effect.h similarity index 67% rename from examples/peripherals/spi_master/main/pretty_effect.h rename to examples/peripherals/spi_master/lcd/main/pretty_effect.h index 00f000c04..f4fbe70fb 100644 --- a/examples/peripherals/spi_master/main/pretty_effect.h +++ b/examples/peripherals/spi_master/lcd/main/pretty_effect.h @@ -1,3 +1,11 @@ +/* + This example code is in the Public Domain (or CC0 licensed, at your option.) + + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ + #pragma once #include #include "esp_err.h" diff --git a/examples/peripherals/spi_master/main/spi_master_example_main.c b/examples/peripherals/spi_master/lcd/main/spi_master_example_main.c similarity index 100% rename from examples/peripherals/spi_master/main/spi_master_example_main.c rename to examples/peripherals/spi_master/lcd/main/spi_master_example_main.c