Create an object for the hardware that a target supports
H = createHardware(hardwareName)
Create a new object,
for the hardware and set its device ID to ARM Cortex-M4F.
hHw = createHardware('My first hardware board') hHw.DeviceID = 'ARM Cortex-M4F';
Create a new target using ARM Cortex-M target as the reference target.
hTgt = createTarget('My Target','ARM Cortex-M','c:/mytarget');
Map the new hardware,
hWh, to the new
hTgt, and show the features and hardware
supported by the target.
map(hTgt,hHw,'My first hardware board display name'); show(hTgt)
My first hardware board Display Name My first hardware board display name
hardwareName— Name of hardware
Name of the hardware, specified as a string.