From e9678eb10f9d8302579169cfbf5d40cbb51605cc Mon Sep 17 00:00:00 2001 From: Richard Unger Date: Fri, 22 Sep 2023 23:40:59 +0200 Subject: [PATCH 1/3] add lint to workflow --- .github/workflows/ccpp.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 59ebbcf2..5c50bb1e 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -1,6 +1,14 @@ name: Library Compile on: [push, pull_request] jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: arduino/arduino-lint-action@v1 + with: + library-manager: update + project-type: library build: name: Test compiling runs-on: ubuntu-latest From 9be481e71223cb27aba7847e1b257fe05fea1d48 Mon Sep 17 00:00:00 2001 From: Richard Unger Date: Sat, 23 Sep 2023 09:51:00 +0200 Subject: [PATCH 2/3] bump version number in library file --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 401523ba..69043875 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Simple FOC -version=2.3.0 +version=2.3.1 author=Simplefoc maintainer=Simplefoc sentence=A library demistifying FOC for BLDC motors From 9c9879b2a7500bfa36f6160f986ac1c87969e606 Mon Sep 17 00:00:00 2001 From: Richard Unger Date: Sat, 23 Sep 2023 10:35:17 +0200 Subject: [PATCH 3/3] change sketch/folder names to fix linting probs --- .../hall_sensor/{ => velocity_control}/velocity_control.ino | 0 ...ts_example.ino => hall_sensor_software_interrupts_example.ino} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename examples/motion_control/velocity_motion_control/hall_sensor/{ => velocity_control}/velocity_control.ino (100%) rename examples/utils/sensor_test/hall_sensors/hall_sensor_software_interrupts_example/{hall_sensors_software_interrupts_example.ino => hall_sensor_software_interrupts_example.ino} (100%) diff --git a/examples/motion_control/velocity_motion_control/hall_sensor/velocity_control.ino b/examples/motion_control/velocity_motion_control/hall_sensor/velocity_control/velocity_control.ino similarity index 100% rename from examples/motion_control/velocity_motion_control/hall_sensor/velocity_control.ino rename to examples/motion_control/velocity_motion_control/hall_sensor/velocity_control/velocity_control.ino diff --git a/examples/utils/sensor_test/hall_sensors/hall_sensor_software_interrupts_example/hall_sensors_software_interrupts_example.ino b/examples/utils/sensor_test/hall_sensors/hall_sensor_software_interrupts_example/hall_sensor_software_interrupts_example.ino similarity index 100% rename from examples/utils/sensor_test/hall_sensors/hall_sensor_software_interrupts_example/hall_sensors_software_interrupts_example.ino rename to examples/utils/sensor_test/hall_sensors/hall_sensor_software_interrupts_example/hall_sensor_software_interrupts_example.ino