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

@ziopio ziopio commented Apr 13, 2026

Copy link
Copy Markdown
Member

@sylane

sylane commented Apr 13, 2026

Copy link
Copy Markdown

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

@ziopio

ziopio commented Apr 13, 2026

Copy link
Copy Markdown
Member Author

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

@sylane

sylane commented Apr 13, 2026

Copy link
Copy Markdown

This doesn't apply to grisp nano, correct ?

@ziopio

ziopio commented Apr 13, 2026

Copy link
Copy Markdown
Member Author

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

ziopio commented Apr 13, 2026

Copy link
Copy Markdown
Member Author

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