I find a strange behaviour in CCS 5.1. On the General tab from project properties you can easily change the target device. If you create a project for a device with hardware multiplier support (msp430F5529), and after change the project’s target for a device without hardware multiplier (msp430G2553), the IDE doesn’t update the linker option –use_hw_mpy. After target change, you still have the F5 option selected. Project builds without any warning and you can upload and run it. The assembler code generated calls __mpyul_f5hw that, as expected, returns an incorrect value.
I know that re-target a project isn’t a normal procedure, but if tool allows you to do it, then this silent behaviour could be catastrophic.
I also, find the same behaviour in CCS4.2.
Please, someone can confirm this.
Best regards,
AES
Initially posted here.