M487 WiFi Demo code support key and certificate provisioning
@@ -180,6 +180,11 @@ int main( void )
configPRINTF( ( "FreeRTOS_IPInit\n" ) );
xTaskCreate( vCheckTask, "Check", mainCHECK_TASK_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
+ /* A simple example to demonstrate key and certificate provisioning in
+ * microcontroller flash using PKCS#11 interface. This should be replaced
+ * by production ready key provisioning mechanism. */
+ vDevModeKeyProvisioning();
+
/* Start the scheduler. Initialization that requires the OS to be running,
* including the WiFi initialization, is performed in the RTOS daemon task
* startup hook. */
