Newbie to CCS having an issue forcing the compiler into small memory model...
I have set the code and data models to small, but see no where to alter the actual 'memory model' .
As such, I get the small data/code switches to set, but the large memory switch stays in.. (see the compiler listing below)
This is from the example code supplied with the MSP430FR5969 Launch Pad and SHARP display..
I am using a 'free' install of the CCS and compiler -- any ideas what I need to do here ?
--------------------
**** Build of configuration Debug for project 430BOOST-SHARP96_ULP_FRAM_16KB ****
"C:\\TexasInstruments\\ccsv6\\utils\\bin\\gmake" all
'Building file: ../ActivePowerMeasure.c'
'Invoking: MSP430 Compiler'
"C:/TexasInstruments/ccsv6/tools/compiler/msp430_4.3.3/bin/cl430" -vmspx --abi=eabi --code_model=small --data_model=small --near_data=globals -O4 --opt_for_speed=0 --include_path="C:/TexasInstruments/ccsv6/ccs_base/msp430/include" --include_path="C:/TexasInstruments/ccsv6/tools/compiler/msp430_4.3.3/include" --include_path="C:/Projects/TexasInstruments/workspace_v6_0/430BOOST-SHARP96_ULP_FRAM_16KB" --include_path="C:/Projects/TexasInstruments/workspace_v6_0/430BOOST-SHARP96_ULP_FRAM_16KB/driverlib/MSP430FR5xx_6xx" --advice:hw_config="1" -g --gcc --define=__MSP430FR5969__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --large_memory_model --printf_support=minimal --preproc_with_compile --preproc_dependency="ActivePowerMeasure.pp" "../ActivePowerMeasure.c"
>> WARNING: Small code model requires small data model as well. Small data model is being used.
>> WARNING: --near_data is only applicable for large data models. Option ignored.