add a flag on cmake to test the hardware and software
add a flag on cmake to test the hardware and software