Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: gatorback on February 10, 2020, 01:51:40 PM

Title: PiCore Suitability for Python 3.X & 2.X controller
Post by: gatorback on February 10, 2020, 01:51:40 PM
I am interested in controlling a Sequent Microsystems MegaIO Relay (designed for Raspberry Pi) via Python 2.X & 3.X.   A rPi 3B+ is available as is a rPi Zero-W (preferred).

URL to Python Relay controls: https://github.com/SequentMicrosystems/megaio-rpi/tree/master/python/megaio

Reliability is important and SD card failure is not unheard of with the rPi.  Can PiCore be setup to:

1. Read only the SD card (so as to avoid the SD card failure)
2. Implement the Python 2.X & 3.X Relays controls (see URL above)

It would be good to know now before investing time if either of these requirements can not be met.  Any links to examples that indicate support for above line items are appreciated
Title: Re: PiCore Suitability for Python 3.X & 2.X controller
Post by: Paul_123 on February 10, 2020, 06:37:54 PM
Point 1 is yes.   Writes are only done when you need to Backup edits.    Or you could remaster your own image and do no writes.   I have an Old pi model A running for over 5 years Uptime.

Point 2:  python works fine, and I don’t see many dependencies......but you can use pip if needed.
Title: Re: PiCore Suitability for Python 3.X & 2.X controller
Post by: gatorback on February 27, 2020, 10:49:56 AM
Progress is slow, but "hard won".  For readers that are interested in Python's Package Manager (pip) installation:

http://forum.tinycorelinux.net/index.php/topic,23560.0.html