From 6fde1ee5553162b4cd4fe2bc427a4c3f9686cf5b Mon Sep 17 00:00:00 2001 From: ShotaAk Date: Tue, 18 Jun 2024 14:12:24 +0900 Subject: [PATCH 1/2] Update CI to build with arduino-esp32 v3.0.1 --- .github/workflows/compile-sketches.yaml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile-sketches.yaml b/.github/workflows/compile-sketches.yaml index 4723fa9..d73f551 100644 --- a/.github/workflows/compile-sketches.yaml +++ b/.github/workflows/compile-sketches.yaml @@ -28,7 +28,7 @@ jobs: platforms: | # ESP32公式のpackage indexを使用する - name: esp32:esp32 source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json - version: 2.0.17 + version: 3.0.1 libraries: | # RTがカスタマイズしたmicro_ros_arduinoライブラリを使用する - source-url: https://github.com/rt-net/micro_ros_arduino/archive/refs/tags/esp32s3-230417.zip cli-compile-flags: | # 警告がエラーとして扱われるので、対処しない警告はエラーから除外する diff --git a/README.md b/README.md index 48b3afe..ddff7d5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Pi:Co Classic3用のmicro-ROS Arduinoサンプルスケッチ集です。 ## 動作環境 -- arduino-esp32 : v2.0.17 +- arduino-esp32 : v3.0.1 ## サンプルスケッチについて From f7f8d8bc7bbf31749537fbce7e7dd04276091f90 Mon Sep 17 00:00:00 2001 From: ShotaAk Date: Tue, 18 Jun 2024 16:04:27 +0900 Subject: [PATCH 2/2] Remove compiler flag --- .github/workflows/compile-sketches.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/compile-sketches.yaml b/.github/workflows/compile-sketches.yaml index d73f551..392da76 100644 --- a/.github/workflows/compile-sketches.yaml +++ b/.github/workflows/compile-sketches.yaml @@ -31,10 +31,6 @@ jobs: version: 3.0.1 libraries: | # RTがカスタマイズしたmicro_ros_arduinoライブラリを使用する - source-url: https://github.com/rt-net/micro_ros_arduino/archive/refs/tags/esp32s3-230417.zip - cli-compile-flags: | # 警告がエラーとして扱われるので、対処しない警告はエラーから除外する - - --build-property - - "compiler.cpp.extra_flags= \ - -Wno-error=type-limits" # micro_ros_arduino側のエラーを防ぐ sketch-paths: | - uROS_STEP1_LED - uROS_STEP2_SWITCH