The CSDK targets Posix platforms. The FreeRTOS repository has several platform files which you can adapt to work with your setup.
The FreeRTOS Fleet Provisioning demo will have the most valuable information by looking at which files it’s importing. Additionally, using_mbedtls_pkcs11 shows FreeRTOS-specific invocations that you can use with PKCS11 and mbedTLS.