feat: add support for One-Time Programmable Flash#763
Open
Fabian Gottstein (fabiangottstein) wants to merge 2 commits intomainfrom
Open
feat: add support for One-Time Programmable Flash#763Fabian Gottstein (fabiangottstein) wants to merge 2 commits intomainfrom
Fabian Gottstein (fabiangottstein) wants to merge 2 commits intomainfrom
Conversation
fe5c62e to
f9bbd42
Compare
Contributor
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 7 | 0 | 0 | 0.08s | |
| ✅ CPP | clang-format | 15 | 2 | 0 | 0 | 2.14s |
| ✅ CPP | cppcheck | 15 | 0 | 0 | 0.86s | |
| ✅ DOCKERFILE | hadolint | 1 | 0 | 0 | 0.02s | |
| ✅ JSON | jsonlint | 7 | 0 | 0 | 0.33s | |
| ✅ JSON | prettier | 7 | 2 | 0 | 0 | 2.54s |
| markdownlint | 6 | 1 | 10 | 0 | 2.98s | |
| ✅ MARKDOWN | markdown-table-formatter | 6 | 1 | 0 | 0 | 1.56s |
| ✅ REPOSITORY | checkov | yes | no | no | 41.45s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 1.35s | |
| ✅ REPOSITORY | grype | yes | no | no | 63.76s | |
| ✅ REPOSITORY | ls-lint | yes | no | no | 0.07s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 83.47s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.02s | |
| ✅ REPOSITORY | trivy | yes | no | no | 29.3s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 2.07s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 13.4s | |
| lychee | 34 | 1 | 0 | 88.61s | ||
| ✅ YAML | prettier | 10 | 1 | 0 | 0 | 2.29s |
| ✅ YAML | v8r | 10 | 0 | 0 | 7.86s | |
| ✅ YAML | yamllint | 10 | 0 | 0 | 0.9s |
Detailed Issues
⚠️ SPELL / lychee - 1 error
[IGNORED] tcp://localhost:1234/target/echo/programmer | Unsupported: Error creating request client: builder error for url (tcp://localhost:1234/target/echo/programmer)
[ERROR] http://mcd.rou.st.com/modules.php?name=mcu | Network error: error sending request for url (http://mcd.rou.st.com/modules.php?name=mcu) Maybe a certificate error?
[TIMEOUT] https://st.com/ | Timeout
📝 Summary
---------------------
🔍 Total..........239
✅ Successful.....236
⏳ Timeouts.........1
🔀 Redirected.......0
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........1
Errors in .github/ISSUE_TEMPLATE/add-or-update-hal-driver.md
[ERROR] http://mcd.rou.st.com/modules.php?name=mcu | Network error: error sending request for url (http://mcd.rou.st.com/modules.php?name=mcu) Maybe a certificate error?
Errors in README.md
[TIMEOUT] https://st.com/ | Timeout
⚠️ MARKDOWN / markdownlint - 10 errors
.github/ISSUE_TEMPLATE/add-or-update-hal-driver.md:10 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "How to import a HAL driver"]
CHANGELOG.md:83 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "⚠ BREAKING CHANGES"]
CHANGELOG.md:87 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:94 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Bug Fixes"]
CHANGELOG.md:103 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:122 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Bug Fixes"]
CHANGELOG.md:140 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "⚠ BREAKING CHANGES"]
CHANGELOG.md:144 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:151 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Features"]
CHANGELOG.md:162 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Bug Fixes"]
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,CPP_CPPCHECK,CPP_CLANG_FORMAT,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GRYPE,REPOSITORY_LS_LINT,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
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.
This add support for One-Time Programmable Flash.
It implements both the hal::Flash and hal::SynchronousFlash interfaces.
As the underlying implementation uses a synchronous way to program the flash,
the actual implementation is offloaded to a
OneTimeProgrammableFlashWorkerclass.Support is currently added only for STM32H5 series due to limited testing capabilities of other STM32 families.