mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-10 03:39:03 +08:00
Doc improvements -Cosmetic
Signed-off-by: Archana <archana.madhavan@silabs.com> Signed-off-by: Asfandyar Orakzai <asfandyar.orakzai@silabs.com>
This commit is contained in:
parent
22c7827876
commit
1776dd9022
@ -30,11 +30,11 @@ While that is the larger goal, for version 1.1 here's what's changed
|
|||||||
(1) psa_crypto_driver_wrappers.c will from this point on be auto generated.
|
(1) psa_crypto_driver_wrappers.c will from this point on be auto generated.
|
||||||
(2) The auto generation is based on the template file at **scripts/data_files/driver_templates/psa_crypto_driver_wrappers.c.jinja**.
|
(2) The auto generation is based on the template file at **scripts/data_files/driver_templates/psa_crypto_driver_wrappers.c.jinja**.
|
||||||
(3) The driver JSONS to be used for generating the psa_crypto_driver_wrappers.c file can be found at **scripts/data_files/driver_jsons/** as their default location, this path includes the schemas against which the driver schemas will be validated (driver_opaque_schema.json, driver_transparent_schema.json) and a driverlist.json which specifies the drivers to be considered and the order in which they want to be called into. The default location for driverlist.json and driver JSONS can be overloaded by passing an argument --json-dir while running the script generate_driver_wrappers.py.
|
(3) The driver JSONS to be used for generating the psa_crypto_driver_wrappers.c file can be found at **scripts/data_files/driver_jsons/** as their default location, this path includes the schemas against which the driver schemas will be validated (driver_opaque_schema.json, driver_transparent_schema.json) and a driverlist.json which specifies the drivers to be considered and the order in which they want to be called into. The default location for driverlist.json and driver JSONS can be overloaded by passing an argument --json-dir while running the script generate_driver_wrappers.py.
|
||||||
(4) While the complete driver wrapper templating support is yet to come in, if the library user sees a need to patch psa_crypto_driver_wrappers.c file, the userwill need to patch into the template file as needed (psa_crypto_driver_wrappers.c.jinja).
|
(4) While the complete driver wrapper templating support is yet to come in, if the library user sees a need to patch psa_crypto_driver_wrappers.c file, the user will need to patch into the template file as needed (psa_crypto_driver_wrappers.c.jinja).
|
||||||
|
|
||||||
#### How to set your driver up
|
#### How to set your driver up
|
||||||
|
|
||||||
Please refer to psa-driver-interface.md for information on how a driver schema can be written.
|
Please refer to psa-driver-interface.md for information on how a driver schema can be written.
|
||||||
One can also refer to the example test drivers/ JSON schemas under **scripts/data_files/driver_jsons/**.
|
One can also refer to the example test drivers/ JSON schemas under **scripts/data_files/driver_jsons/**.
|
||||||
|
|
||||||
The JSON file 'driverlist.json' is meant to be edited by the user to reftlect the drivers one wants to use on a device. The order in which the drivers are passed is also essential if/when there are multiple transparent drivers on a given system to retain the same order in the templating.
|
The JSON file 'driverlist.json' is meant to be edited by the user to reflect the drivers one wants to use on a device. The order in which the drivers are passed is also essential if/when there are multiple transparent drivers on a given system to retain the same order in the templating.
|
||||||
|
@ -13,6 +13,5 @@ markupsafe < 2.1
|
|||||||
Jinja2 >= 2.10.1
|
Jinja2 >= 2.10.1
|
||||||
# Jinja2 >=2.10, <3.0 needs a separate package for type annotations
|
# Jinja2 >=2.10, <3.0 needs a separate package for type annotations
|
||||||
types-Jinja2
|
types-Jinja2
|
||||||
# jsonschema > 3.2.0 is not compatible with Python 3.5, force 3.2.0
|
|
||||||
jsonschema >= 3.2.0
|
jsonschema >= 3.2.0
|
||||||
types-jsonschema
|
types-jsonschema
|
||||||
|
Loading…
x
Reference in New Issue
Block a user