Hello
I'm working on MSP432P401R, and I need to do a unit test for codes,
but still do not have the full view of how can I test C codes with CCS, can anyone explain in detail how this can work and provide some examples
thanks in advance!
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.
Hello
I'm working on MSP432P401R, and I need to do a unit test for codes,
but still do not have the full view of how can I test C codes with CCS, can anyone explain in detail how this can work and provide some examples
thanks in advance!
I don't think CCS facilitates unit testing per se.
Since you mention the device I assume you want to run the test on the actual silicon as opposed to a simulation. In any case, TI no longer support CPU simulators so you need to research third party unit test tools. If you really want to work within the CCS IDE, then your choice may be limited but here's one example albeit for a different TI uC.
One example from LDRA https://youtu.be/3Ri4SZCnzQo?si=p083xz9MK0l5-Fl6