diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5e0887b1..ab03e218 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -515,17 +515,17 @@ jobs: - uses: actions/checkout@v4 with: { fetch-depth: 2 } - run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi - - run: make -C examples/zephyr init REPO=zephyrprojectrtos/ci:v0.26.14 # "no space left on device" with newers + - run: make -C tutorials/zephyr init REPO=zephyrprojectrtos/ci:v0.26.14 # "no space left on device" with newers - name: minify manifest uses: mikefarah/yq@master with: cmd: yq -i eval '(.manifest.defaults, .manifest.remotes, .manifest.projects[] | select(.name == "cmsis" or .name == "hal_stm32" or .name == "mbedtls" or .name == "mcuboot" or .name == "picolibc" | del(.null) ), .manifest.self) as $i ireduce({};setpath($i | path; $i)) | del(.manifest.projects.[].null) | del(..|select(length==0))' examples/zephyr/zephyrproject/zephyr/west.yml - - run: make -C examples/zephyr update - - run: make -C examples/zephyr/device-dashboard build - - run: make -C examples/zephyr/http-client build - - run: make -C examples/zephyr/http-server build - - run: make -C examples/zephyr/mqtt-aws-client build - - run: make -C examples/zephyr/websocket-server build + - run: make -C tutorials/zephyr update + - run: make -C tutorials/zephyr/device-dashboard build + - run: make -C tutorials/zephyr/http-client build + - run: make -C tutorials/zephyr/http-server build + - run: make -C tutorials/zephyr/mqtt-aws-client build + - run: make -C tutorials/zephyr/websocket-server build test_f7: runs-on: ubuntu-latest diff --git a/tutorials/http/device-dashboard/zephyr b/tutorials/http/device-dashboard/zephyr new file mode 120000 index 00000000..701f25e1 --- /dev/null +++ b/tutorials/http/device-dashboard/zephyr @@ -0,0 +1 @@ +../../zephyr/device-dashboard \ No newline at end of file diff --git a/tutorials/http/http-client/zephyr b/tutorials/http/http-client/zephyr new file mode 120000 index 00000000..a69b4901 --- /dev/null +++ b/tutorials/http/http-client/zephyr @@ -0,0 +1 @@ +../../zephyr/http-client \ No newline at end of file diff --git a/tutorials/http/http-server/zephyr b/tutorials/http/http-server/zephyr new file mode 120000 index 00000000..b623cb7b --- /dev/null +++ b/tutorials/http/http-server/zephyr @@ -0,0 +1 @@ +../../zephyr/http-server \ No newline at end of file diff --git a/tutorials/mqtt/mqtt-client-aws-iot/zephyr b/tutorials/mqtt/mqtt-client-aws-iot/zephyr new file mode 120000 index 00000000..c1f6eb5c --- /dev/null +++ b/tutorials/mqtt/mqtt-client-aws-iot/zephyr @@ -0,0 +1 @@ +../../zephyr/mqtt-aws-client \ No newline at end of file diff --git a/tutorials/websocket/websocket-server/zephyr b/tutorials/websocket/websocket-server/zephyr new file mode 120000 index 00000000..578d0906 --- /dev/null +++ b/tutorials/websocket/websocket-server/zephyr @@ -0,0 +1 @@ +../../zephyr/websocket-server \ No newline at end of file diff --git a/examples/zephyr/Makefile b/tutorials/zephyr/Makefile similarity index 100% rename from examples/zephyr/Makefile rename to tutorials/zephyr/Makefile diff --git a/examples/zephyr/README.md b/tutorials/zephyr/README.md similarity index 100% rename from examples/zephyr/README.md rename to tutorials/zephyr/README.md diff --git a/examples/zephyr/device-dashboard/CMakeLists.txt b/tutorials/zephyr/device-dashboard/CMakeLists.txt similarity index 100% rename from examples/zephyr/device-dashboard/CMakeLists.txt rename to tutorials/zephyr/device-dashboard/CMakeLists.txt diff --git a/examples/zephyr/device-dashboard/Makefile b/tutorials/zephyr/device-dashboard/Makefile similarity index 100% rename from examples/zephyr/device-dashboard/Makefile rename to tutorials/zephyr/device-dashboard/Makefile diff --git a/examples/zephyr/device-dashboard/README.md b/tutorials/zephyr/device-dashboard/README.md similarity index 100% rename from examples/zephyr/device-dashboard/README.md rename to tutorials/zephyr/device-dashboard/README.md diff --git a/examples/zephyr/device-dashboard/overlay-e1000.conf b/tutorials/zephyr/device-dashboard/overlay-e1000.conf similarity index 100% rename from examples/zephyr/device-dashboard/overlay-e1000.conf rename to tutorials/zephyr/device-dashboard/overlay-e1000.conf diff --git a/examples/zephyr/device-dashboard/prj.conf b/tutorials/zephyr/device-dashboard/prj.conf similarity index 100% rename from examples/zephyr/device-dashboard/prj.conf rename to tutorials/zephyr/device-dashboard/prj.conf diff --git a/examples/zephyr/device-dashboard/src/main.c b/tutorials/zephyr/device-dashboard/src/main.c similarity index 100% rename from examples/zephyr/device-dashboard/src/main.c rename to tutorials/zephyr/device-dashboard/src/main.c diff --git a/examples/zephyr/device-dashboard/src/mongoose_config.h b/tutorials/zephyr/device-dashboard/src/mongoose_config.h similarity index 100% rename from examples/zephyr/device-dashboard/src/mongoose_config.h rename to tutorials/zephyr/device-dashboard/src/mongoose_config.h diff --git a/examples/zephyr/http-client/CMakeLists.txt b/tutorials/zephyr/http-client/CMakeLists.txt similarity index 100% rename from examples/zephyr/http-client/CMakeLists.txt rename to tutorials/zephyr/http-client/CMakeLists.txt diff --git a/examples/zephyr/http-client/Makefile b/tutorials/zephyr/http-client/Makefile similarity index 100% rename from examples/zephyr/http-client/Makefile rename to tutorials/zephyr/http-client/Makefile diff --git a/examples/zephyr/http-client/README.md b/tutorials/zephyr/http-client/README.md similarity index 100% rename from examples/zephyr/http-client/README.md rename to tutorials/zephyr/http-client/README.md diff --git a/examples/zephyr/http-client/overlay-e1000.conf b/tutorials/zephyr/http-client/overlay-e1000.conf similarity index 100% rename from examples/zephyr/http-client/overlay-e1000.conf rename to tutorials/zephyr/http-client/overlay-e1000.conf diff --git a/examples/zephyr/http-client/prj.conf b/tutorials/zephyr/http-client/prj.conf similarity index 100% rename from examples/zephyr/http-client/prj.conf rename to tutorials/zephyr/http-client/prj.conf diff --git a/examples/zephyr/http-client/src/certs.h b/tutorials/zephyr/http-client/src/certs.h similarity index 100% rename from examples/zephyr/http-client/src/certs.h rename to tutorials/zephyr/http-client/src/certs.h diff --git a/examples/zephyr/http-client/src/main.c b/tutorials/zephyr/http-client/src/main.c similarity index 100% rename from examples/zephyr/http-client/src/main.c rename to tutorials/zephyr/http-client/src/main.c diff --git a/examples/zephyr/http-client/src/mongoose_config.h b/tutorials/zephyr/http-client/src/mongoose_config.h similarity index 100% rename from examples/zephyr/http-client/src/mongoose_config.h rename to tutorials/zephyr/http-client/src/mongoose_config.h diff --git a/examples/zephyr/http-server/CMakeLists.txt b/tutorials/zephyr/http-server/CMakeLists.txt similarity index 100% rename from examples/zephyr/http-server/CMakeLists.txt rename to tutorials/zephyr/http-server/CMakeLists.txt diff --git a/examples/zephyr/http-server/Makefile b/tutorials/zephyr/http-server/Makefile similarity index 100% rename from examples/zephyr/http-server/Makefile rename to tutorials/zephyr/http-server/Makefile diff --git a/examples/zephyr/http-server/README.md b/tutorials/zephyr/http-server/README.md similarity index 100% rename from examples/zephyr/http-server/README.md rename to tutorials/zephyr/http-server/README.md diff --git a/examples/zephyr/http-server/overlay-e1000.conf b/tutorials/zephyr/http-server/overlay-e1000.conf similarity index 100% rename from examples/zephyr/http-server/overlay-e1000.conf rename to tutorials/zephyr/http-server/overlay-e1000.conf diff --git a/examples/zephyr/http-server/prj.conf b/tutorials/zephyr/http-server/prj.conf similarity index 100% rename from examples/zephyr/http-server/prj.conf rename to tutorials/zephyr/http-server/prj.conf diff --git a/examples/zephyr/http-server/src/certs.h b/tutorials/zephyr/http-server/src/certs.h similarity index 100% rename from examples/zephyr/http-server/src/certs.h rename to tutorials/zephyr/http-server/src/certs.h diff --git a/examples/zephyr/http-server/src/main.c b/tutorials/zephyr/http-server/src/main.c similarity index 100% rename from examples/zephyr/http-server/src/main.c rename to tutorials/zephyr/http-server/src/main.c diff --git a/examples/zephyr/http-server/src/mongoose_config.h b/tutorials/zephyr/http-server/src/mongoose_config.h similarity index 100% rename from examples/zephyr/http-server/src/mongoose_config.h rename to tutorials/zephyr/http-server/src/mongoose_config.h diff --git a/examples/zephyr/mqtt-aws-client/CMakeLists.txt b/tutorials/zephyr/mqtt-aws-client/CMakeLists.txt similarity index 100% rename from examples/zephyr/mqtt-aws-client/CMakeLists.txt rename to tutorials/zephyr/mqtt-aws-client/CMakeLists.txt diff --git a/examples/zephyr/mqtt-aws-client/Makefile b/tutorials/zephyr/mqtt-aws-client/Makefile similarity index 100% rename from examples/zephyr/mqtt-aws-client/Makefile rename to tutorials/zephyr/mqtt-aws-client/Makefile diff --git a/examples/zephyr/mqtt-aws-client/README.md b/tutorials/zephyr/mqtt-aws-client/README.md similarity index 100% rename from examples/zephyr/mqtt-aws-client/README.md rename to tutorials/zephyr/mqtt-aws-client/README.md diff --git a/examples/zephyr/mqtt-aws-client/overlay-e1000.conf b/tutorials/zephyr/mqtt-aws-client/overlay-e1000.conf similarity index 100% rename from examples/zephyr/mqtt-aws-client/overlay-e1000.conf rename to tutorials/zephyr/mqtt-aws-client/overlay-e1000.conf diff --git a/examples/zephyr/mqtt-aws-client/prj.conf b/tutorials/zephyr/mqtt-aws-client/prj.conf similarity index 100% rename from examples/zephyr/mqtt-aws-client/prj.conf rename to tutorials/zephyr/mqtt-aws-client/prj.conf diff --git a/examples/zephyr/mqtt-aws-client/src/certs.h b/tutorials/zephyr/mqtt-aws-client/src/certs.h similarity index 100% rename from examples/zephyr/mqtt-aws-client/src/certs.h rename to tutorials/zephyr/mqtt-aws-client/src/certs.h diff --git a/examples/zephyr/mqtt-aws-client/src/main.c b/tutorials/zephyr/mqtt-aws-client/src/main.c similarity index 100% rename from examples/zephyr/mqtt-aws-client/src/main.c rename to tutorials/zephyr/mqtt-aws-client/src/main.c diff --git a/examples/zephyr/mqtt-aws-client/src/mongoose_config.h b/tutorials/zephyr/mqtt-aws-client/src/mongoose_config.h similarity index 100% rename from examples/zephyr/mqtt-aws-client/src/mongoose_config.h rename to tutorials/zephyr/mqtt-aws-client/src/mongoose_config.h diff --git a/examples/zephyr/websocket-server/CMakeLists.txt b/tutorials/zephyr/websocket-server/CMakeLists.txt similarity index 100% rename from examples/zephyr/websocket-server/CMakeLists.txt rename to tutorials/zephyr/websocket-server/CMakeLists.txt diff --git a/examples/zephyr/websocket-server/Makefile b/tutorials/zephyr/websocket-server/Makefile similarity index 100% rename from examples/zephyr/websocket-server/Makefile rename to tutorials/zephyr/websocket-server/Makefile diff --git a/examples/zephyr/websocket-server/README.md b/tutorials/zephyr/websocket-server/README.md similarity index 100% rename from examples/zephyr/websocket-server/README.md rename to tutorials/zephyr/websocket-server/README.md diff --git a/examples/zephyr/websocket-server/overlay-e1000.conf b/tutorials/zephyr/websocket-server/overlay-e1000.conf similarity index 100% rename from examples/zephyr/websocket-server/overlay-e1000.conf rename to tutorials/zephyr/websocket-server/overlay-e1000.conf diff --git a/examples/zephyr/websocket-server/prj.conf b/tutorials/zephyr/websocket-server/prj.conf similarity index 100% rename from examples/zephyr/websocket-server/prj.conf rename to tutorials/zephyr/websocket-server/prj.conf diff --git a/examples/zephyr/websocket-server/src/certs.h b/tutorials/zephyr/websocket-server/src/certs.h similarity index 100% rename from examples/zephyr/websocket-server/src/certs.h rename to tutorials/zephyr/websocket-server/src/certs.h diff --git a/examples/zephyr/websocket-server/src/main.c b/tutorials/zephyr/websocket-server/src/main.c similarity index 100% rename from examples/zephyr/websocket-server/src/main.c rename to tutorials/zephyr/websocket-server/src/main.c diff --git a/examples/zephyr/websocket-server/src/mongoose_config.h b/tutorials/zephyr/websocket-server/src/mongoose_config.h similarity index 100% rename from examples/zephyr/websocket-server/src/mongoose_config.h rename to tutorials/zephyr/websocket-server/src/mongoose_config.h