build

Builds the PeripheralSpec object.