Skip to content

Add xcc700 and rcc700 compiler apps - #52

Merged
KenVanHoeylandt merged 3 commits into
mainfrom
xcc700-rcc700-compilers
Oct 6, 2026
Merged

KenVanHoeylandt merged 3 commits into
mainfrom
xcc700-rcc700-compilers

Conversation

@KenVanHoeylandt

@KenVanHoeylandt KenVanHoeylandt commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • Added two mini C compiler apps for ESP32: rcc700 generates RV32 ELF files, and xcc700 generates Xtensa ELF files.
    • Both accept a C source file and an optional output path; without one, the output filename uses the .elf extension.
    • Each compiler supports a subset of C and reports build statistics.
  • Bug Fixes
    • Updated list-view test icons to use the default shared icon font.
  • Documentation
    • Added usage instructions, supported-feature details, and licensing information for both apps.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 81a15d86-50e4-4bed-809a-243f7f0b53b4
📥 Commits

Reviewing files that changed from the base of the PR and between bd71a2f and e0aeb62.

📒 Files selected for processing (2)
  • Apps/M5UnitTest/main/Source/TestListView.cpp
  • LICENSE.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Adds two self-hosting mini C compiler apps. xcc700 emits Xtensa code, and rcc700 emits RV32 code. Each app includes SDK and component configuration, a Tactility wrapper for command-line arguments and file flags, app metadata, and documentation. The compiler implementations parse supported C constructs and generate ELF output. The change also updates the repository license statement and the icon font used by a list-view unit test.

Priority: ⬇️ Low

Merge Risk: 🟡 Moderate · up to e0aeb

Long tokens in source files can corrupt compiler memory or disrupt compilation in either new app. Add bounds checks before merging.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 19.47% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 113 functions across 5 files. (1 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding the xcc700 and rcc700 compiler apps.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 19.47% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 113 functions across 5 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6ffca81a-72c6-4dc5-93ec-75fbba026ce5
📥 Commits

Reviewing files that changed from the base of the PR and between 9c05145 and bd71a2f.

📒 Files selected for processing (14)
  • Apps/Rcc700/CMakeLists.txt
  • Apps/Rcc700/LICENSE
  • Apps/Rcc700/README.md
  • Apps/Rcc700/main/CMakeLists.txt
  • Apps/Rcc700/main/Source/rcc700.c
  • Apps/Rcc700/main/Source/tactility.c
  • Apps/Rcc700/manifest.properties
  • Apps/Xcc700/CMakeLists.txt
  • Apps/Xcc700/LICENSE
  • Apps/Xcc700/README.md
  • Apps/Xcc700/main/CMakeLists.txt
  • Apps/Xcc700/main/Source/tactility.c
  • Apps/Xcc700/main/Source/xcc700.c
  • Apps/Xcc700/manifest.properties

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread Apps/Rcc700/main/Source/rcc700.c
Comment thread Apps/Xcc700/main/Source/tactility.c
Comment thread Apps/Xcc700/main/Source/xcc700.c
@KenVanHoeylandt
KenVanHoeylandt merged commit 57fc8b3 into main Oct 6, 2026
27 checks passed
@KenVanHoeylandt
KenVanHoeylandt deleted the xcc700-rcc700-compilers branch October 6, 2026 17:18
@KenVanHoeylandt

KenVanHoeylandt commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor Author

@valdanylchuk If you are ever in the neighbourhood of Amsterdam, I owe you a coffee (at the very least).
Thanks for the super useful compiler projects!

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.

1 participant