Skip to content

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

Merged
ziopio merged 1 commit into
grisp2-20210816from
ziopio/marm
Apr 30, 2026
Merged

Switch default CPU flags from -mthumb to -marm (for IMX7)#2
ziopio merged 1 commit into
grisp2-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
@ziopio ziopio requested a review from sylane April 29, 2026 15:22
@ziopio ziopio merged commit c19139b into grisp2-20210816 Apr 30, 2026
@ziopio ziopio deleted the ziopio/marm branch April 30, 2026 07:26
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