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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×