Hi, i have some stuff running perfectly on the terminal based version of Raspbian. all of the scripts i use are python.
what would be the fastest os to run my python script (its ascript which when a input is pressed it triggers a gpio to trigger a relay)
i require SSH and the GPIO pins to work etc
the quicker from boot it starts the better. any suggestions welcome. thanks
Re: Quckest Bootable OS For Python Scripts ?
for starting a program at startup, see
https://www.dexterindustries.com/howto/ ... t-startup/
Your script "its ascript which when a input is pressed it triggers a gpio " needs console input, or gpio input ?
If only GPIO is needed, use systemd to start.
https://www.dexterindustries.com/howto/ ... t-startup/
Your script "its ascript which when a input is pressed it triggers a gpio " needs console input, or gpio input ?
If only GPIO is needed, use systemd to start.
Re: Quckest Bootable OS For Python Scripts ?
i currently have the terminal only verion of raspbian and its booting my script from startup no problem etc, just wondered if was a way of it running from power up after a few seconds, take about 15 seconds at moment
Re: Quckest Bootable OS For Python Scripts ?
PiCore is a binary distribution that should boot faster than Raspbian
Otherwise you can build your own, with something like Buildroot or Yocto
Some try to streamline systemd’s boot process on Raspbian. That could be an alternative to changing OS. No idea how fruitful the effort can be.
Otherwise you can build your own, with something like Buildroot or Yocto
Some try to streamline systemd’s boot process on Raspbian. That could be an alternative to changing OS. No idea how fruitful the effort can be.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel