essl: new component to communicate with esp serial slave devices

This commit is contained in:
Michael (XIAO Xufeng)
2019-09-28 18:14:24 +08:00
parent 7c8139734d
commit 087c8f6065
17 changed files with 1409 additions and 18 deletions

View File

@@ -78,6 +78,7 @@ typedef void (*TaskFunction_t)( void * );
/* Converts a time in milliseconds to a time in ticks. */
#define pdMS_TO_TICKS( xTimeInMs ) ( ( ( TickType_t ) ( xTimeInMs ) * configTICK_RATE_HZ ) / ( TickType_t ) 1000 )
#define pdTICKS_TO_MS( xTicks ) ( ( uint32_t ) ( xTicks ) * 1000 / configTICK_RATE_HZ )
#define pdFALSE ( ( BaseType_t ) 0 )
#define pdTRUE ( ( BaseType_t ) 1 )