Processor Checker Script
This script is used by the data streams optimizer tool on the target system to get the processor name.
The script supports the Yocto Project*-based board support package.
You can copy and modify the script to support another operating system. The script must meet the following requirements to maintain compatibility with the data streams optimizer:
- Input: No arguments.
- Output: The script must only print a string with CPU name to STDOUT.
- Error handling: Any nonzero value returned from the script will be interpreted as an error. Any additional logging should be printed to STDERR.
Example:
Command line: tools/target_scripts/processor_checker.py
STDOUT: 11th Gen Intel(R) Core(TM) i3-1115GRE
Return value: 0
STDERR: empty