Part Number: CODECOMPOSER
I'm working on porting an existing IAR design to CCSv20. The target is an MSP430F5432
The function call:
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.
Part Number: CODECOMPOSER
I'm working on porting an existing IAR design to CCSv20. The target is an MSP430F5432
The function call:
The type name uint16_t is not a built-in type name like int or float. It comes from the standard header file stdint.h. So the most likely solution is to #include <stdint.h>.
The same can be said of the type name uint32_t. For your specific case, I don't know where it gets defined. To investigate, use the option --gen_preprocessor_listing. Search for it in the MSP430 compiler manual. The output is a file with file extension .rl. Search that file for uint32_t. You will probably see that it gets defined outside of stdint.h. While not strictly illegal, that is poor programming practice.
Thanks and regards,
-George