XCORE SDK
XCORE Software Development Kit
|
P**latform **D**ata **S**et (**PDS) files contain firmware configuration values to match the hardware (I/O pinout) and the application (activating features/configuring the behavior).
template.pds.in
lists all possible PDS sections and parameters which can be sent to WFx firmware. It contains inline documentation on PDS sections and parameters.
When looking for the latest information on PDS sections and parameters, refer to the PDS template.
When creating a custom PDS file, refer to the PDS template and copy required sections to your custom PDS file, using the inline documentation to select PDS parameter values.
definitions.in
defines values for all PDS sections and PDS parameters. It is referenced by custom PDS files and PDS files provided in the wfx-pds repository to obtain the final .pds
file.
Hardware-specific PDS files are created based on the PDS template and PDS definitions files to match various boards.
Hardware-specific PDS files for Silicon Labs evaluation boards are stored in the wfx-pds repository.
PDS input files are like C header files while PDS output data uses a compressed format:
.pds.in
) are in a human-readable format, with inline documentation..pds.in
files are compressed using the [pds_compress][PDS_CMP] (python3 script) tool to the .pds
file format.The PDS generation flow is:
template.pds.in
<custom>.pds.in
, include definitions.in
template.pds.in
if starting from an existing PDS filedefinitions.in
) to match the hardware and define the behavior.pds.in
file to .pds
using [pds_compress][PDS_CMP].pds
file under /lib/firmware/wf200.pds.pds
file after FW download & FW startUse pds_compress [options] INPUT [OUTPUT]
to compress a .pds.in
file to a .pds
file, ready to be sent to the WFX firmware.
Use pds_compress --help
to display the help
Typical use:
pds_compress <custom>.pds.in <custom>.pds
pds_compress --out=c <custom>.pds.in <custom>.h
Resulting .pds
files should not be edited. It is recommended to always start from human-readable files such as .pds.in
files