0

Using t32 "sys.cpu" command we can set CPU but if we want to write CMM script which that do orocessing depending on CPU version then how we can read sys.cpu value to get CPU name in cmm

anshkun
  • 105
  • 1
  • 12

1 Answers1

3

Please use function CPU().

Example: SYStem.CPU CortexA15

PRINT CPU()

will print the result "CortexA15" into the AREA window.

Community
  • 1
  • 1
Philipp
  • 31
  • 1
  • Thanks Phillip its working and can see CPU name in area window but not able to capture in variable may be area contents need to pick – anshkun Jan 05 '21 at 17:13
  • CPU() is a function returning a string. So you can assign the return value to a macro: "&myname=CPU()" – Ingo Blackman Jan 05 '21 at 17:26