Hi, together with my organization we are planning to create a universal opensource TPM 2.0 hardware module. We would like to use the stm32 sample as a reference point but ran into some problems.
I've checked out a specific commit that adds samples for Nucleo (f8a1c48cd0a7c7c942967d24be3caf4956eeb994).
This method allowed me to ignore (for now) other errors that appear when building a project from the master branch.
I thought, that maybe I'm using the wrong toolchain version, so I switched back to GCC 4.8 and tried a different Atollic version as well as the new successor - STM32CubeIDE, but with no luck. The same error remains also for an old Windows Atollic version.
I wonder how the project was developed because I was unable to build it in any way. Fixing minor bugs involving missing includes and the small fixes in the preprocessor defines, I have come to a point that is hard for me to go through.
Curent issue seems to be related to the macro located in CryptEccData.c:86 file
# define ECC_ENTRY(val, x) (bigNum)&##val##_##x
that triggers this specific error message.
Just to be clear organization in this context is LPN Plant and project is called lpnTPM. Project was granted by NLNet foundation. We would be glad to contribute improvements to ms-tpm-20-ref code base to make microcontroller based TPM working out of the box.
Hi, together with my organization we are planning to create a universal opensource TPM 2.0 hardware module. We would like to use the stm32 sample as a reference point but ran into some problems. I've checked out a specific commit that adds samples for Nucleo (f8a1c48cd0a7c7c942967d24be3caf4956eeb994). This method allowed me to ignore (for now) other errors that appear when building a project from the master branch. I thought, that maybe I'm using the wrong toolchain version, so I switched back to GCC 4.8 and tried a different Atollic version as well as the new successor - STM32CubeIDE, but with no luck. The same error remains also for an old Windows Atollic version.
I wonder how the project was developed because I was unable to build it in any way. Fixing minor bugs involving missing includes and the small fixes in the preprocessor defines, I have come to a point that is hard for me to go through. Curent issue seems to be related to the macro located in CryptEccData.c:86 file
# define ECC_ENTRY(val, x) (bigNum)&##val##_##x
that triggers this specific error message.We have high hopes for this project and think it will enrich the open-source community, so we would appreciate any help from you.