Tool/software: Code Composer Studio
Hi Everybody!
I'm using MSP432P401M devices in our own HW. The software is written in C++ with CCSv9.
To update the software of the device I want to use the software BSL invocation method. I've copied the code from SLAU622H Chapter 3.3.1, but the compiler drops the following error message: "#141 too many arguments in function call" at the line "((void (*)())BSL_ENTRY_FUNCTION)((uint32_t)BSL_PARAM); // Call the BSL with given BSL parameters".
Same error message if I use the "BSL_INVOKE(x)" macro from file "msp432p401m.h" file.
If I use the same code in a simple C project than everything is OK.
What is the solution for the C++ project?
Thanks,
Zoltan