-
Notifications
You must be signed in to change notification settings - Fork 3
MoonLive runs on every board: the Xtensa frame fix, and a compiler bounded by memory #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
234e01e
97d004f
6623dcc
331f551
621cb30
b808881
6ba3a4f
e9a7cca
c0468a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,76 +1,76 @@ | ||
| { | ||
| "commit": "9d77ade4", | ||
| "commit": "38a28dc9", | ||
| "flash": { | ||
| "esp32": 1762368, | ||
| "esp32p4-eth": 1604272, | ||
| "esp32p4-eth": 1603952, | ||
| "esp32p4-eth-wifi": 1793760, | ||
| "esp32s3-n16r8": 1753232, | ||
| "esp32s3-n16r8": 1752992, | ||
| "esp32s3-n8r8": 1753232, | ||
| "esp32s31": 2025600, | ||
| "desktop": 1137928, | ||
| "desktop": 1138184, | ||
| "esp32-16mb": 1714608, | ||
| "esp32-eth": 1324928, | ||
| "esp32-wrover": 1765504 | ||
| }, | ||
| "perf": { | ||
| "desktop": { | ||
| "tick_us": 129, | ||
| "fps": 7751 | ||
| "tick_us": 132, | ||
| "fps": 7575 | ||
| }, | ||
| "esp32": { | ||
| "tick_us": 2151, | ||
| "fps": 464 | ||
| } | ||
| }, | ||
| "loc": { | ||
| "core": 16980, | ||
| "light": 24317, | ||
| "platform": 12860, | ||
| "core": 17044, | ||
| "light": 24402, | ||
| "platform": 12878, | ||
| "ui": 6468, | ||
| "test": 41246, | ||
| "moondeck": 20323 | ||
| "test": 41313, | ||
| "moondeck": 20326 | ||
| }, | ||
| "comments": { | ||
| "core": { | ||
| "lines": 6402, | ||
| "ratio": 0.41 | ||
| "lines": 6433, | ||
| "ratio": 0.411 | ||
| }, | ||
| "light": { | ||
| "lines": 9427, | ||
| "lines": 9473, | ||
| "ratio": 0.429 | ||
| }, | ||
| "platform": { | ||
| "lines": 4365, | ||
| "lines": 4377, | ||
| "ratio": 0.375 | ||
| }, | ||
| "ui": { | ||
| "lines": 1670, | ||
| "ratio": 0.274 | ||
| }, | ||
| "test": { | ||
| "lines": 7169, | ||
| "lines": 7193, | ||
| "ratio": 0.201 | ||
| }, | ||
| "moondeck": { | ||
| "lines": 3246, | ||
| "lines": 3248, | ||
| "ratio": 0.183 | ||
| } | ||
| }, | ||
| "tests": { | ||
| "cases": 1325, | ||
| "cases": 1326, | ||
| "scenarios": 23 | ||
| }, | ||
| "docs": { | ||
| "md_files": 178, | ||
| "md_lines": 24401, | ||
| "md_lines": 24421, | ||
| "plans_files": 91, | ||
| "backlog_lines": 3629, | ||
| "lessons_lines": 454, | ||
| "claude_md_lines": 135 | ||
| }, | ||
| "complexity": { | ||
| "functions": 2473, | ||
| "over_threshold": 151, | ||
| "functions": 2480, | ||
| "over_threshold": 153, | ||
| "worst_ccn": 93 | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,6 +43,9 @@ def main() -> int: | |
| ["c++", "-std=c++20", "-O0", "-I", os.path.join(ROOT, "src"), | ||
| "-I", os.path.join(ROOT, "src", "platform", "desktop"), | ||
| TOOL_SRC, os.path.join(ROOT, "src", "core", "moonlive", "MoonLiveCompiler.cpp"), | ||
| # The IR sizes its op array with platform::alloc, so the platform implementation has | ||
| # to come along — the compiler is no longer self-contained. | ||
| os.path.join(ROOT, "src", "platform", "desktop", "platform_desktop.cpp"), | ||
|
Comment on lines
+87
to
+92
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win Use a MoonDeck build entry point. This change extends a direct As per coding guidelines, “Use the project's MoonDeck scripts for build, flash, monitor, test, and check tasks rather than invoking alternate tooling directly.” 🤖 Prompt for AI AgentsSource: Coding guidelines |
||
| "-o", emitter], | ||
| capture_output=True, text=True) | ||
| if build.returncode != 0: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.