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.

CC1350: Identifier "Board_CRYPTO0" is undefined

Part Number: CC1350

Hello all,

I'm trying to use the 

CryptoCC26XX.h File Reference

 in the file there is a code that open crypto

#include <ti/drivers/crypto/CryptoCC26XX.h>

...

// Attempt to open CryptoCC26XX.
handle = CryptoCC26XX_open(Board_CRYPTO0, exclusiveAccess, &params);
2 questions.
1. can I use this driver with cc1350?
2. Board_CRYPTO0 is undefined, do I missing some library?
Thanks
  • Hi Vitaly,

    To use the crypto driver, the HwAttrs and Object structures need to be setup in the board files (this is the case for all TI-Drivers). Per default this should be setup in the example CC1350 board files, if you are using your own custom board file I recommend you have a look at the board files provided with the CC1350 examples.

    If you are in fact using these board files already, I suggest you check if you are importing "Board.h" or not as this is the file that typically contain the all the "Board_*" defines.