Skip to content

Switch default CPU flags from -mthumb to -marm (for IMX7)#2

Open
ziopio wants to merge 1 commit intogrisp2-20210816from
ziopio/marm
Open

Switch default CPU flags from -mthumb to -marm (for IMX7)#2
ziopio wants to merge 1 commit intogrisp2-20210816from
ziopio/marm

Conversation

@ziopio
Copy link
Copy Markdown
Member

@ziopio ziopio commented Apr 13, 2026

@sylane
Copy link
Copy Markdown

sylane commented Apr 13, 2026

What the change of size of the binary when changing that ?

@ziopio
Copy link
Copy Markdown
Member Author

ziopio commented Apr 13, 2026

the jit marm build size for beam.smp goes from 64.9 MB to ~ 91,3 MB

@sylane
Copy link
Copy Markdown

sylane commented Apr 13, 2026

This doesn't apply to grisp nano, correct ?

@ziopio
Copy link
Copy Markdown
Member Author

ziopio commented Apr 13, 2026

depends if the xcomp file for building nano uses -mthumb or not. This changes the default flag. We may also not merge this change

@ziopio
Copy link
Copy Markdown
Member Author

ziopio commented Apr 13, 2026

grisp nano is an stm32 cpu, this config is a default for imx7

@ziopio ziopio changed the title Switch default CPU flags from -mthumb to -marm Switch default CPU flags from -mthumb to -marm (for IMX7) Apr 13, 2026
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