This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Facing issues in compiling MSP430 Microcontroller code in release mode



Hi

We have downloaded MSP430 Microcontroller code for meter application from TI Website. We can able to compile the code in debug mode. Now we are trying to compile the code in release mode, but unable to compile and facing errors. The errors says that unable to include files such as 'stdint.h'.

we are not facing such errors in debug mode but only getting in release mode only.

Is there any Procedure we need to follow to build the code in release mode?

Please provide your suggestions and do the needful.  

Thanks and Regards.

Mohanmurali

  • You don't mention which toolchain, so generically....

    Check the configuration of the release mode. Make sure it has all the proper include directory compiler directives etc. Look at the differences in settings between debug and release modes. Make sure that the settings for release mode are actually what you want (i.e. optimization level, DEFINES, etc).
  • "release mode" and "debug mode" are just names you give to potentially different sets of compiler/linker options. If the setting are identical with each other, there is no reason to have both of them.

    You can release the object code you get from "debug mode". You can also debug in "release mode". You can release without debug. You can debug and not release.

    You can have a "smart mode" and a "dumb mode". The word smart, dumb, release, debug are all intrinsically meaningless. Just names you call them.

**Attention** This is a public forum