Commit Graph

25 Commits (master)

Author SHA1 Message Date
David Garske 4b56cfa313 Fix for STM32 GPIO SPI CS control to use pin number as bit offset, not direct. 2024-09-17 09:36:18 -07:00
gojimmypi 4f3b57a6e2 flexibility for I2C_MASTER_NUM, add settings comments 2024-05-13 11:43:33 -07:00
gojimmypi fb19d7a0e1 Initial Infineon I2C TPM support for Espressif ESP32 2024-05-10 14:16:39 -07:00
gojimmypi ec35cef6bd Revise I2C HAL gating logic in tpm_to_infineon 2024-04-30 15:11:51 -07:00
David Garske c98ee9a71e Update copyright date. 2024-04-24 10:42:27 -07:00
David Garske 062cfe9b79 Added Infineon CyHal SPI support. 2024-04-02 09:37:32 -07:00
David Garske 892726e6b5 Added support for Infineon SLB9672/SLB9673 Firmware upgrade (see examples/firmware/README.md)
Added Infineon Modus Toolbox support. See `wolfssl/IDE/Infineon/README.md` for setup instructions.
Added support for Infineon CyHal I2C support.
Added Firmware extraction tool
Added Firmware update example application `examples/firmware/ifx_fw_update`.
Added support for vendor capabilities `TPM_CAP_VENDOR_PROPERTY`.
Added `XSLEEP_MS` macro for firmware update delay.
Added support for getting key group id, operational mode and update counts.
Added support for abandoning an update.
Added support for firmware update done, but not finalized
Fix auto-detect to not define SLB9672/SLB9673.
2024-04-01 17:21:18 -07:00
David Garske b395b65287 Fix for config.h, which should only be included from .c files, not headers. ZD 17473 2024-02-07 14:28:33 -08:00
David Garske fb2ea5b315 Fixes for compiler type warnings. Add `WOLFTPM_NO_LOCK`. Improve STM IO options/logging. 2023-12-20 11:54:02 -08:00
Eric Blankenhorn 60f86edbfc
Merge pull request #314 from dgarske/stm32
Add support for overriding the PORT/PIN for the STM32 Cube HAL
2023-12-08 15:10:20 -06:00
David Garske 09e3550f3b Add support for overriding the PORT/PIN for the STM32 Cube HAL. 2023-12-05 12:07:59 -08:00
David Garske f4077360e8 Fix for HAL IO prototype to match (`TPM2HalIoCb` and `TPM2_IoCb`). 2023-12-04 17:43:16 -08:00
David Garske 5226df34d1 Improve STM HAL I2C performance by adding proper guard delay between wake, write and read. 2023-10-05 14:22:50 -07:00
David Garske 14d766512f Fixes for STM32 I2C. 2023-10-04 15:31:30 -07:00
David Garske b58ac14e64 Sanitize the IO TX/RX buffers (make sure they are zero initialized). 2023-08-07 11:08:02 -07:00
David Garske ab9bf2981b Fixes for MMIO HAL refactor. 2023-06-28 16:00:56 -07:00
David Garske 21638b065a Improve MMIO support to utilize the HAL framework. 2023-06-28 13:39:47 -07:00
Bill Phipps 928bf26dcc Style fixes. 2023-04-19 08:04:27 -07:00
Bill Phipps 36bbb57f67 Corrected defaults and autodetect. 2023-04-18 15:05:44 -07:00
Bill Phipps e95f2647d5 Updated HAL documentation for exposed values 2023-04-18 13:56:15 -07:00
Bill Phipps 052d8f5bc6 Corrected Linux usage of cs_change, added config overrides. 2023-04-18 13:18:33 -07:00
David Garske f2a95f3902 Fix for Microchip Harmony build settings. Rename to `WOLFTPM_MICROCHIP_HARMONY`. Avoids confusion with the TPM 2.0 module ATTPM from Microchip. Now enabled with `WOLFTPM_MICROCHIP` and provides backwards compatibility for `WOLFTPM_MCHP`. The new `WOLFTPM_MICROCHIP` has not been released (was added in PR #251). 2023-02-03 10:49:29 -08:00
David Garske c05bf659c2 Fix broken paths with HAL refactor. Update TLS examples to use latest TLS version (allowing downgrade). 2023-01-20 08:29:53 -08:00
David Garske 219751fcf2 Improve the Microchip SPI IO function. 2023-01-18 14:04:03 -08:00
David Garske 1ea4a591a8 HAL refactor and documentation improvements. Move example HAL implementations into new `hal` directory. Include the example HAL in the library when building. Updated HAL IO documentation. 2023-01-18 12:38:04 -08:00