Skip to content

Commit

Permalink
Remove ref. to ATCA_USE_RTOS_TIMER. Revert deletion of cryptoauthlib …
Browse files Browse the repository at this point in the history
…header.
  • Loading branch information
Rashed Talukder committed Nov 11, 2021
1 parent b7915e5 commit 0a44846
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 3 additions & 7 deletions lib/hal/hal_esp32_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@

extern void ets_delay_us(uint32_t);

void atca_delay_us(uint32_t delay)
void hal_delay_us(uint32_t delay)
{
ets_delay_us(delay);
}

#ifdef ATCA_USE_RTOS_TIMER
void atca_delay_ms(uint32_t msec)
#else
void atca_delay_ms_internal(uint32_t msec)
#endif
void hal_delay_ms(uint32_t msec)
{
ets_delay_us(msec * 1000);
}
}
4 changes: 3 additions & 1 deletion lib/mbedtls/atca_mbedtls_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@
#include "mbedtls/ecdh.h"
#include "mbedtls/ecp.h"
#include "mbedtls/entropy.h"
#include "mbedtls/bignum.h"
#include "mbedtls/x509_crt.h"


/* Cryptoauthlib Includes */
#include "cryptoauthlib.h"
#include "atca_mbedtls_wrap.h"
#include "atca_mbedtls_patch.h"

Expand Down

0 comments on commit 0a44846

Please sign in to comment.