Skip to content

CircuitPython standard library #1155

@notro

Description

@notro

I wanted to see if it was possible to use the CPython standard library on the M4 so I did a test and it looks promising. The unittest module which is probably one of the toughest wrt. demands on CircuitPython features did work with a small set of changes.

Here's the port of the os, time and unittest modules: https://github.com/notro/tmp_CircuitPython_stdlib

These are the CircuitPython changes: stdlib.diff

The CP changes won't fit on the already overflowing boards, but for M4 it's a small change (1-2kB I think).

The next generation following the M4 will have even more RAM so I think this is the way to go, but the question is if this is the right time to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy