Skip to content

Add "esp32-small" build target#111

Merged
ThomasFarstrike merged 1 commit into
MicroPythonOS:mainfrom
jedie:esp32-small
Apr 7, 2026
Merged

Add "esp32-small" build target#111
ThomasFarstrike merged 1 commit into
MicroPythonOS:mainfrom
jedie:esp32-small

Conversation

@jedie
Copy link
Copy Markdown
Contributor

@jedie jedie commented Apr 1, 2026

Seems to be just another hacky way to expand the build process. Maybe the whole thing should be restructured?

The idea is to add a target for CYD that has 4MB flash and no PSRAM. On the other side the normal "esp32" build runs here ... So i really don't know it it's needed...

Seems to be just another hacky way to expand the build process. Maybe the whole thing should be
restructured?

The idea is to add a target for CYD that has 4MB flash and no PSRAM. On the other side the normal
"esp32" build runs here ... So i really don't know it it's needed...
@ThomasFarstrike
Copy link
Copy Markdown
Contributor

Thanks! The diff seems bigger than it should, lots of lines that are "changed" without any change... I would suggest keeping the diff minimal, for clarify, making the review easy etc :-)

How do you mean, not sure if it's needed? It seems to overlap with the unphone one indeed, except maybe the 4 vs 8MB flash size, so indeed, maybe not needed, or could be smaller...

Should we wait for the CYD pull request to come out of "draft" before merging this one?

@ThomasFarstrike ThomasFarstrike marked this pull request as draft April 5, 2026 07:37
Comment thread scripts/build_mpos.sh
echo "Example: $0 esp32-small"
echo "Example: $0 esp32s3"
echo "Example: $0 unphone"
echo "Example: $0 clean"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This are only whitespace changes and the added esp32-small line

@jedie jedie marked this pull request as ready for review April 6, 2026 08:28
@jedie
Copy link
Copy Markdown
Contributor Author

jedie commented Apr 6, 2026

The diff seems bigger than it should, lots of lines that are "changed" without any change...

It's only about whitespace changes. Think it's a good idea to add a .editorconfig to specify the whitespace settings. I saw often TAB vs. spaces mixed in some files.

EDIT: EditorConfig added here: #113

@ThomasFarstrike
Copy link
Copy Markdown
Contributor

ThomasFarstrike commented Apr 7, 2026

I see, thank you! I would suggest separating functional from big yet non-functional changes (like whitespace or reordering stuff) into separate pull requests or commits, just to make it easier to review and the diff smaller, or to be able to merge one without merging the other. It's fine for now, just something to be aware of :-)

@ThomasFarstrike ThomasFarstrike merged commit 70c3b87 into MicroPythonOS:main Apr 7, 2026
4 of 5 checks passed
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