Jump to content
JRDavisUF

Compiler option change with latest board file

Recommended Posts

In the most version of the MSP432R board file (5.23.1 -> 5.25.0), the optimization levels were changed from -Os (optimize for space) to -O0 (no optimization).  As a result, my code chokes on an error in CCSv9.1 which looks like this:

`.rodata' will not fit in region `FLASH'
c:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 29204 bytes

I'm able to fix, by changing the optimization level in CCS via the attache pic, but I was wondering, is this a permanent change?  Was there some technical reason for it?  Will it be permanent?

thx.

jrd

Os.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...