Topic: wolfTPM cmake and IAR compiler
Hi, I´ve been integrating wolfTPM using an STM32H7 microcontroller using IAR compiler and Cmake, compiler found an issue when it tries to integrate tpm2_types.h header, this has a preprocessor defines, but USE_HAL_DRIVER seems to be not defined. but once I defined It causes a lot o compilation issues.
#if defined(USE_HAL_DRIVER) && !defined(HAVE_CONFIG_H)
/* STM Configuration File (generated by CubeMX) */
#include "wolfSSL.I-CUBE-wolfTPM_conf.h"
#elif !defined(WOLFTPM_USER_SETTINGS)
/* use generated options.h or a custom one */
#include <wolftpm/options.h>
#endif
I got next error cannot open source file "wolfssl/options.h". or how could I use the CMakeLists file to compile my project for a STM32H7 micro?