MMC SPI small operation optimization - #11
Merged
Merged
Conversation
|
code comments please |
Author
|
please add that link as code comment |
mck1117
marked this pull request as ready for review
February 17, 2021 19:55
dron0gus
pushed a commit
to dron0gus/ChibiOS
that referenced
this pull request
Sep 4, 2026
rusefi#32) 🤖 This PR was prepared by the ChibiOS sheriff (assistant-operated account) on the maintainer's direction. It is for **human review and merge** — the sheriff does not review, approve or merge its own PRs. Backport of the post-21.11.5 HAL ecosystem work from `main` onto the `stable-21.11.x` LTS, targeting **21.11.6**. XHAL (the OOP HAL) is intentionally out of scope; only the `os/hal` halves of the shared fixes are applied. 1. **STM32 HAL: assorted port fixes** — RTC EXTI-clear sysHalt on H5 (rusefi#15) and U0 (rusefi#16); STM32U3 RTC APB-clock boot-hang + bogus RTC EXTI removal (rusefi#31, U3 only — U5 has no RTC-EXTI framework on 21.11.x); L4+/L4R `CLK_POINT_NAMES` comma (rusefi#21); STM32C0xx SPI2 RCC/DMAMUX (rusefi#12); ADCv6/v7 `ADC2_IRQ_HOOK` (rusefi#11); SYSTICKv1 `STM32_ST_FREQUENCY_TOLERANCE` (rusefi#17). 2. **FTL templates + mcuconf regen** — `tools/ftl` bumped to the chibios-ftl `stable-21.11.x` line (3 mcuconf template fixes); all 244 templated mcuconf.h regenerated. Net: 496 insertions / 0 deletions — tolerance on every config (0; 0.5% on U0/U3), F303 I2S section, C071 SPI2 (rusefi#17/rusefi#18/rusefi#19). 3. **OOP: oop_random_stream** base class (regenerated; required by VFS). 4. **tools/style: stylecheck.py** Python checker + wrappers + rusefi#28 FP fixes (Perl checker left in place). 5. **VFS: current generation + ROMFS driver** — file nodes expose a random-access stream; new read-only ROMFS driver (default off); pulls in `os/common/utils/packbits`. Codegen is idempotent on this branch (regen reproduces these files byte-for-byte). 6. **style:** deterministic whitespace/comment cleanups (HAL/common/various/lib, rusefi#20/rusefi#27/rusefi#29/rusefi#30), no functional change. - **No new HAL ports introduced** — only ports already present in 21.11.5 are touched; the main-only `*_TEST` port dirs are excluded. - `os/vfs/various/syscalls.c` is **left as-is**; main's newlib_bindings reorg is out of scope for the backport. - The cosmetic style pass is **partial** where 21.11.x sources have diverged from main (51 files applied, 7 diverged/absent skipped). - Compile-surface checked against the 21.11.x kernel-7 OSAL (no kernel-8 API). Per maintainer, hardware/build verification is done on `main`. - Submodule `tools/ftl` points at chibios-ftl `stable-21.11.x` @ 170e75b. --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
fixes rusefi/rusefi#2356, and improves performance to boot!