Skip to content

Commit

Permalink
Merge branch 'main' into update_readme_tcp_qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws authored May 17, 2024
2 parents 5b2351f + a3f42a7 commit 2b05a24
Show file tree
Hide file tree
Showing 24 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/freertos_plus_demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ jobs:
- env:
stepName: Build AWS IoT Fleet Provisioning Demo
name: ${{ env.stepName }}
working-directory: FreeRTOS-Plus/Demo/AWS/Fleet_Provisioning_Windows_Simulator/Fleet_Provisioning_With_CSR_Demo
working-directory: FreeRTOS-Plus/Demo/AWS/Fleet_Provisioning_Windows_Simulator/CSR_Demo
run: |
# ${{ env.stepName }}
echo "::group::${{ env.stepName }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ static bool prvUnsubscribeFromRegisterThingResponseTopics( void );
static int prvFleetProvisioningTask( void * pvParameters );


/*-----------------------------------------------------------*/

BaseType_t xPlatformIsNetworkUp( void );

/*-----------------------------------------------------------*/

static void prvProvisioningPublishCallback( MQTTContext_t * pxMqttContext,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
/*-----------------------------------------------------------*/

extern void vStartFleetProvisioningDemo( void );
extern void vPlatformInitIpStack( void );

/*-----------------------------------------------------------*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ bool xGenerateKeyAndCsr( CK_SESSION_HANDLE xP11Session,
CK_OBJECT_HANDLE xPubKeyHandle;
CK_RV xPkcs11Ret = CKR_OK;
mbedtls_pk_context xPrivKey;
mbedtls_ecdsa_context xEcdsaContext;
mbedtls_x509write_csr xReq;
int32_t ulMbedtlsRet = -1;
const mbedtls_pk_info_t * pxHeader = mbedtls_pk_info_from_type( MBEDTLS_PK_ECKEY );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ static MQTTStatus_t prvProcessLoopWithTimeout( MQTTContext_t * pMqttContext,

/*-----------------------------------------------------------*/

extern UBaseType_t uxRand( void );

/*-----------------------------------------------------------*/

static int32_t prvGenerateRandomNumber()
{
return( uxRand() & INT32_MAX );
Expand Down

0 comments on commit 2b05a24

Please sign in to comment.