Skip to content

MMC SPI small operation optimization - #11

Merged
rusefillc merged 2 commits into
rusefi:stable_20.3.x.rusefifrom
mck1117:spi-small
Feb 17, 2021
Merged

rusefillc merged 2 commits into
rusefi:stable_20.3.x.rusefifrom
mck1117:spi-small

Conversation

@mck1117

@mck1117 mck1117 commented Feb 15, 2021

Copy link
Copy Markdown

fixes rusefi/rusefi#2356, and improves performance to boot!

@rusefillc

Copy link
Copy Markdown

code comments please

@mck1117

mck1117 commented Feb 15, 2021

Copy link
Copy Markdown
Author

@rusefillc

Copy link
Copy Markdown

please add that link as code comment

@mck1117
mck1117 marked this pull request as ready for review February 17, 2021 19:55
@rusefillc
rusefillc merged commit 6b0f623 into rusefi:stable_20.3.x.rusefi Feb 17, 2021
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants