Hardware profiles, HAL blocks, requires_hardware, and deploy targets are declared at program or robot scope.
requires_hardware
See hardware-compatibility.md and hardware-capabilities.md.