🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Stack and Zephyr RTOS

    SOFTWARE
    3
    4
    7.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AclassifierA
      Aclassifier
      last edited by

      I am new to this forum, and have not yet acquired an M5Stack board. I see by [1] that Zephyr has been ported to ESP32 on XTENSA boards. I would very much like to have a running, living Zephyr port on any board I am going to experiment with over the summer. I am used to XMOS boards [2] where concurrency is first order. (It's concurrency I tend to blog about). Would Zephyr be a viable alternative for M5, or are there other, interesting alternatives? Like, I see Loops supported in UIFlow [3]. This seems to remind me of Scratch. But I don't think that's what I am after(?)

      [1] Zephyr Supported Boards
      [2] See my blog notes (disclaimer: no money, no ads, no gifts with any of my blog notes - just fun and expenses. Also: I have no association with any of the manufacturers's products I some times blog about. I try to be project/technology driven and delve into details. All this since this is my first posting here)
      [3] UIFlow loops

      Øyvind Teig
      Trondheim, Norway

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @Aclassifier
        last edited by

        @aclassifier UIFlow is built on Micropython 1.10 so you have that as a background. You can also program using arduino environment and libs.
        There is an RTOS in arduino but I'm not sure what RTOS is there.

        BTW there are several different types of loops in UIFlow.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        AclassifierA 1 Reply Last reply Reply Quote 0
        • AclassifierA
          Aclassifier @ajb2k3
          last edited by

          @ajb2k3
          Thanks!

          So, what is the state of concurrency programming in MicroPython? I see an RFC from 2014 [1] and a thread from the same year [2], but I don't know if this is in MicroPython (like is generators there?)?

          The RTOS of Arduino, is to the best of my knowledge, not much useful [3].

          Now, anybody who knows about Zephyr and the M5?

          [1] RFC: Cooperative concurrency model of choice for MicroPython
          [2] uasyncio - asyncio-like cooperative multitasking framework for uPy
          [3] Arduino concurrency (Blog note, same disclaimer as above)

          Øyvind Teig
          Trondheim, Norway

          1 Reply Last reply Reply Quote 0
          • M
            marteng
            last edited by

            Hi,
            it's been a while, but meanwhile zephyr supports some M5Stack boards (e.g. Core2: https://docs.zephyrproject.org/latest/boards/xtensa/m5stack_core2/doc/index.html).

            In combination with LVGL this offers wide range of opportunities.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post