IDT for FreeRTOS variables
The commands to build your code and flash the device might require connectivity or
other information about your devices to run successfully. AWS IoT Device Tester allows you to reference
device information in flash and build commands using JsonPathdevice.json
file.
Path variables
IDT for FreeRTOS defines the following path variables that can be used in command lines and configuration files:
{{testData.sourcePath}}
-
Expands to the source code path. If you use this variable, it must be used in both the flash and build commands.
{{sdkPath}}
-
Expands to the value in your
userData.sdkConfiguration.path
when used in the build and flash commands. {{device.connectivity.serialPort}}
-
Expands to the serial port.
{{device.identifiers[?(@.name == 'serialNo')].value[0]}}
-
Expands to the serial number of your device.
{{enableTests}}
-
Integer value indicating whether the build is for tests (value 1) or demos (value 0).
{{buildImageName}}
-
The file name of the image built by the build command.
{{otaCodeSignerPemFile}}
-
PEM file for the OTA code signer.
{{config.idtRootPath}}
-
Expands to the AWS IoT Device Tester root path. This variable replaces the absolute path for IDT when used by the build and flash commands.