Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Which os could I run on Teensy 4.1 that give me a CLI that can run simple sw?

  1. #1

    Which os could I run on Teensy 4.1 that give me a CLI that can run simple sw?

    Been looking at RTOS; but those are a waste of resource for my user case since I just want a simple CLI based OS I can run on the Teensy. Something similar to what used to run on old computers like the Amstrad CPC or the C64 and so on. My ideal would be something like DOS 6 or CP/M.

    The Teensy is connected to a small LCD and few IO devices, so the idea is to run some OS that allow me to use the teensy as portable device for basic serial communication, write text and other simple application, kinda like what old 8 bit machines used to do in the old age (considering that something like a MSX would run a full basic interpreter and simple OS on a 4MHz CPU, I assume doing something similar on a beast like the Teensy should be fine). Many routers and other IOT devices are totally stand alone and can run their own OS to function independently, and I believe those are less powerful than a teensy 4.1.

    Does anyone have suggestions about what to use? If I could run a CLI on the LCD screen connected to the teensy and do what I would do like in 1984 on an old 8 bit machine (minus games of course, I don't care about that), but on something so low cost like a Teensy, it would be amazing and also would be a great distraction-free device that I could use to learn more about constrained embedded devices programming.

  2. #2
    Senior Member
    Join Date
    Aug 2019
    Location
    Melbourne Australia
    Posts
    314
    You might browse Blog Project Submission where a variety of emulators have appeared. Seem to recall one doing Dos.

  3. #3
    Senior Member
    Join Date
    Oct 2019
    Location
    Calgary
    Posts
    130
    RunCPM runs nicely on a 4.1. A 100MHz+ Z80 running CP/M.

  4. #4
    Thanks, will take a look at RunCPM and will check the project blog.

    It does not need to be necessarily like DOS btw; I wish there was a simplified Linux terminal OS of some sort, that would basically act like if it was linux but without the whole OS on top of it

  5. #5
    Senior Member wwatson's Avatar
    Join Date
    Aug 2017
    Posts
    730
    @ deelaleo

    You might also want to take a look at MicroBox. It is a Linux like shell that what written for use with Arduino.

    http://sebastian-duell.de/en/microbox/index.html

    What's kind of interesting about it is that you can add your own commands to it. I have a severely hacked up version of it that I ported to the Teensy for testing the developments of the Teensyduino file systems. SD, littleFs and MSC.

    You might want to check out the above link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •