fix: medium ARM bugs + cross-compilation pipeline design#60
Merged
Conversation
Medium bug fixes (7 issues from embedded code review): - M2: B.W branch offset J1/J2 encoding follows ARM T4 spec - M3: Binary reset handler uses MOVW/MOVT, .data copy + .bss zero loops - M4: ELF entry point has Thumb bit set for ARM targets - M5: STT_FUNC symbol values have Thumb bit set - M6: R10 (memory size) initialized in startup code via MOVW/MOVT - M8: Vector table alignment increased to 256 bytes (was 128) - M10: MPU device() preset sets bufferable=true (was identical to strongly_ordered) Cross-compilation pipeline design: - docs/design/cross-compilation-pipeline.md — 3-phase plan: Phase 1: bare-metal (synth → module.o → ld → firmware.elf → Renode) Phase 2: Zephyr (assembly path via west build + gale module) Phase 3: hardware (STM32F4-Discovery, nRF52840-DK) - artifacts/cross-compilation.yaml — 12 artifacts (XC-001..009, XC-TR-001..003) - artifacts/gale-integration.yaml — 9 artifacts (GI-001..005, GI-TR-001..002, GI-VER-001..002) - rivet.yaml — added gale as external reference Implements: FR-005 Fixes: NFR-002 Trace: skip Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
252 artifacts across 17 types. Co-Authored-By: Claude Opus 4.6 (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.
Summary
Medium Bug Fixes (7 issues)
Cross-Compilation Pipeline Design
docs/design/cross-compilation-pipeline.md— 3-phase plan from bare-metal through Zephyr to real hardwareTest plan
cargo test --workspace— 851 tests, 0 failurescargo clippy— cleancargo fmt --check— clean🤖 Generated with Claude Code