Are there any characteristics/ lock available so that the program would fail to run on any other device except Raspberry Pi. I have thought about using GPIO with external circuits but would prefer just using software based solution for this problem.

Edit: To people who make assumptions before reading the question. The goal is not for Users to prevent copying. The goal is to engage people in using Raspberry Pi and work on hardware rather than running emulators or using other Linux machines to test their skills at program efficiency. Same machine cycle, same cpu/gpu.

  • 2
    What's your goal with this? Are you trying to stop the program running on other devices to prevent copying, for example, or some other reason? – Aurora0001 Apr 12 '19 at 19:32
  • @Aurora0001 No my goal is program runs on Raspberry Pi only so users dont have hardware advantage over other users. A level playing field for all participants – Flood Gravemind Apr 12 '19 at 20:09
  • 1
    Whatever you do, someone will circumvent it. – Glen Yates Apr 12 '19 at 21:25
  • @GlenYates No I am sure there is a variable that is unique to Pi only. If you have ever programmed in ASM only you would know what I am looking for. – Flood Gravemind Apr 12 '19 at 22:00
  • @GlenYates Try circumventing using Cuda on Amd – Flood Gravemind Apr 12 '19 at 22:05

My pigpio library will only work on the Raspberry Pi as it uses features unique to the Pi SoC. None of the Pi "clones" use the same SoC.

| improve this answer | |
  • How should the OP expect it to fail (and trap and utilise that exception) if it's run on a clone, please? He may not have access to a clone to test it. – Mark Smith Apr 13 '19 at 6:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.