feat(motor): Added Motor control modules#40
Merged
Rohith-Kalarikkal merged 2 commits intodevelopfrom May 5, 2026
Merged
Conversation
Rohith-Kalarikkal
approved these changes
May 5, 2026
Rohith-Kalarikkal
added a commit
that referenced
this pull request
May 5, 2026
…in.c` and updating the full test runner (#41) * feat(main): wire sensor and motor init in main superloop * feat(main): Updated config files * feat(drivers): Adding stub HAL files for stm32. * feat(main): Updating CMakeLists file for sensor, motor and logger files * feat(tests): Updating CMakeLists, test_runner and test_placeholder files for all tests * Updating all files to change fro confluence to gitbook * feat(sensor): Added sensor hal modules (#39) * feat(sensor): Added sensor hal modules * test(sensor): Adding sensor_hal module for unity tests * test(repo): Adding mock hal implementations for unity tests * feat(main): wire sensor and motor init in main superloop * feat(main): Updated config files * feat(drivers): Adding stub HAL files for stm32. * feat(main): Updating CMakeLists file for sensor, motor and logger files * feat(tests): Updating CMakeLists, test_runner and test_placeholder files for all tests * Updating all files to change fro confluence to gitbook * feat(fault): Implements fault logger module (#50) * feat(motor): Added Motor control modules (#40) * feat(motor): Added Motor control modules * test(motor): Adding motor control module for unity tests * feat(main): wire sensor and motor init in main superloop * feat(main): Updated config files * feat(drivers): Adding stub HAL files for stm32. * feat(main): Updating CMakeLists file for sensor, motor and logger files * feat(tests): Updating CMakeLists, test_runner and test_placeholder files for all tests * Updating all files to change fro confluence to gitbook * Updated README file --------- Co-authored-by: RoshanMGanesh <roshanmg2022@gmail.com> Co-authored-by: AshmiShaju619 <ashmikaithackal@gmail.com>
Rohith-Kalarikkal
added a commit
that referenced
this pull request
May 6, 2026
* ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. * chore(sync): merge main into develop to resolve conflicts (#20) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: implement initial project documentation and engineering standards (#34) * docs: rename file names to lower case * fix(sim): Updated json file for wokwi simulation * docs(repo): added 00_project_overview.md, 01_environment_setup.md, GLOSSARY.md, SUMMARY.md, README.md and asset images * docs(repo): added 06_coding_standards and 07_testing_strategy * docs(repo): added 02_github_setup, 03_requirements.md, 04_system_design and 05_cicd_pipelines * Fixing case sensitivity issues * Fixing case sensitivity issues in workflow files --------- Co-authored-by: ashmi shaju <ashmikaithackal@gmail.com> Co-authored-by: Roshan Melitte Ganesan <roshanmg2022@gmail.com> * refactor: fix folder casing and merge main updates (#36) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Technical Sync: Align develop with main (#21) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. * chore(sync): merge main into develop to resolve conflicts (#20) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: resolve CI build failure caused by folder case-sensitivity (#35) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. * chore(sync): merge main into develop to resolve conflicts (#20) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: implement initial project documentation and engineering standards (#34) * docs: rename file names to lower case * fix(sim): Updated json file for wokwi simulation * docs(repo): added 00_project_overview.md, 01_environment_setup.md, GLOSSARY.md, SUMMARY.md, README.md and asset images * docs(repo): added 06_coding_standards and 07_testing_strategy * docs(repo): added 02_github_setup, 03_requirements.md, 04_system_design and 05_cicd_pipelines * Fixing case sensitivity issues * Fixing case sensitivity issues in workflow files --------- Co-authored-by: ashmi shaju <ashmikaithackal@gmail.com> Co-authored-by: Roshan Melitte Ganesan <roshanmg2022@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ashmi shaju <ashmikaithackal@gmail.com> Co-authored-by: Roshan Melitte Ganesan <roshanmg2022@gmail.com> * Enforced lower case naming convention * Engorced lower case naming on Inc and Src folders * Modified files to remove uppercase --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ashmi shaju <ashmikaithackal@gmail.com> Co-authored-by: Roshan Melitte Ganesan <roshanmg2022@gmail.com> * Add core types, configuration, and root build system (#38) * feat(sensor): Added sensor hal modules (#39) * feat(sensor): Added sensor hal modules * test(sensor): Adding sensor_hal module for unity tests * test(repo): Adding mock hal implementations for unity tests * feat(fault): Implements fault logger module (#50) * feat(motor): Added Motor control modules (#40) * feat(motor): Added Motor control modules * test(motor): Adding motor control module for unity tests * feat(main): firmware integration by wiring all three modules into `main.c` and updating the full test runner (#41) * feat(main): wire sensor and motor init in main superloop * feat(main): Updated config files * feat(drivers): Adding stub HAL files for stm32. * feat(main): Updating CMakeLists file for sensor, motor and logger files * feat(tests): Updating CMakeLists, test_runner and test_placeholder files for all tests * Updating all files to change fro confluence to gitbook * feat(sensor): Added sensor hal modules (#39) * feat(sensor): Added sensor hal modules * test(sensor): Adding sensor_hal module for unity tests * test(repo): Adding mock hal implementations for unity tests * feat(main): wire sensor and motor init in main superloop * feat(main): Updated config files * feat(drivers): Adding stub HAL files for stm32. * feat(main): Updating CMakeLists file for sensor, motor and logger files * feat(tests): Updating CMakeLists, test_runner and test_placeholder files for all tests * Updating all files to change fro confluence to gitbook * feat(fault): Implements fault logger module (#50) * feat(motor): Added Motor control modules (#40) * feat(motor): Added Motor control modules * test(motor): Adding motor control module for unity tests * feat(main): wire sensor and motor init in main superloop * feat(main): Updated config files * feat(drivers): Adding stub HAL files for stm32. * feat(main): Updating CMakeLists file for sensor, motor and logger files * feat(tests): Updating CMakeLists, test_runner and test_placeholder files for all tests * Updating all files to change fro confluence to gitbook * Updated README file --------- Co-authored-by: RoshanMGanesh <roshanmg2022@gmail.com> Co-authored-by: AshmiShaju619 <ashmikaithackal@gmail.com> * fix(repo): Fixing merge issue (#51) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Technical Sync: Align develop with main (#21) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. * chore(sync): merge main into develop to resolve conflicts (#20) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: resolve CI build failure caused by folder case-sensitivity (#35) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. * chore(sync): merge main into develop to resolve conflicts (#20) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): resolve merge conflicts between main and develop (#16) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(security): harden workflow permissions and resolve CodeQL alerts (#17) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: bump softprops/action-gh-release from 2 to 3 (#19) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: implement initial project documentation and engineering standards (#34) * docs: rename file names to lower case * fix(sim): Updated json file for wokwi simulation * docs(repo): added 00_project_overview.md, 01_environment_setup.md, GLOSSARY.md, SUMMARY.md, README.md and asset images * docs(repo): added 06_coding_standards and 07_testing_strategy * docs(repo): added 02_github_setup, 03_requirements.md, 04_system_design and 05_cicd_pipelines * Fixing case sensitivity issues * Fixing case sensitivity issues in workflow files --------- Co-authored-by: ashmi shaju <ashmikaithackal@gmail.com> Co-authored-by: Roshan Melitte Ganesan <roshanmg2022@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ashmi shaju <ashmikaithackal@gmail.com> Co-authored-by: Roshan Melitte Ganesan <roshanmg2022@gmail.com> * refactor: Standardize directory structure and sync development (#37) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci(actions): implement least-privilege permissions across all workflows (#15) Resolves CodeQL alerts #1, #2, #3 and #4 by explicitly setting GITHUB_TOKEN permissions to read-only or security-events: write. * chore(sync): merge main into develop to resolve conflicts (#20) * feat(ci/cd): initialize enterprise repository security and automation baseline (#14) * ci(actions): add complete CI/CD pipeline and project configuration (#8) * ci: add complete CI/CD pipeline configuration - Add build.yml: firmware compile check with ARM GCC - Add unit-tests.yml: Unity test framework runner - Add static-analysis.yml: Cppcheck static analysis - Add security.yml: Snyk + CodeQL security scanning - Add release.yml: automated release builds on tags - Add dependabot.yml: automated dependency updates - Add arm-gcc-toolchain.cmake: cross-compilation config - Add ev_types.h: shared type definitions - Add ev_config.h: all constants and thresholds - Add CMakeLists.txt: build system configuration - Add test skeleton: Unity placeholder test - Add Wokwi simulation skeleton - Add PR and issue templates - Add .cppcheck, .clang-format, .editorconfig configs * fix(build): resolve exit code 1 by ensuring .elf exists before arm-none-eabi-size * ci: bump softprops/action-gh-release from 1 to 2 (#9) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-o…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the Motor Control module. Provides PWM-based motor speed control via TIM1 Channel 1 on pin PA8 at 20 kHz. Includes
motor_set_speed()with throttle deadband enforcement,motor_stop()as a dedicated safety-critical immediate stop separate frommotor_set_speed(0), andmotor_soft_start()which ramps duty cycle from current to target over 500 ms to prevent inrush current spikes.Type of Change
Related Issue
Closes #29 #30
Changes Made
core/src/motor_ctrl.c- full implementation ofmotor_init(),motor_set_speed(),motor_stop(),motor_soft_start(),motor_get_speed(), and the privatepriv_set_pwm_duty()which performs the actual CCR1 register write using__HAL_TIM_SET_COMPAREcore/inc/motor_ctrl.h- public interface with Doxygen comments explaining the PWM duty formula, safety design rationale formotor_stop()vsmotor_set_speed(0), and usage examplestests/test_motor_ctrl.c- 18 unit tests coveringmotor_init()with valid and NULL handles,motor_set_speed()at 0%, 50%, 100%, above 100%, and below deadband,motor_stop()from non-zero and zero states,motor_get_speed()tracking, and brake override integration logicHow to Test This PR
git checkout feat/motor-ctrlTesting Done by Author
cd Tests/build && ./test_runner→ 0 Failures)cppcheck --error-exitcode=1 -I core/Inc core/src/)cmake --build build)-Wall -Wextraclean)Code Quality Checklist
06_CODING_STANDARDS.md@brief,@param,@retval)ev_config.hswitchstatements have adefaultcaseif/for/whileblocks use{braces even for single linesDocumentation
README.mdupdated if new setup steps are needed/* TODO: */comments added for any deferred workReviewer checklist: