Micropython port to ATSAMD21

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
ioukos
Posts: 33
Joined: Wed Oct 19, 2016 11:31 am
Location: Alsace, Europe

Micropython port to ATSAMD21

Post by ioukos » Tue Sep 12, 2017 7:49 pm

Hello,

Is there a project to port Micropython to ATSAMD21 ?
I know adafruit released Circuitpython for this chip but it's labeled : Micropython for begginers. May be all MPython functionalities won't be implemented to CPython.
I'm asking this question for my personal curiosity as I'm not considering myself as an advanced user and may be fully satisfied with Circuitpython

Thank you guys

User avatar
deshipu
Posts: 1348
Joined: Thu May 28, 2015 5:54 pm

Re: Micropython port to ATSAMD21

Post by deshipu » Wed Sep 13, 2017 10:10 am

I'm not sure how you got to the conclusion that not all functionalities are (will be) implemented. The fact that it caters to beginners means they are striving to make the API as simple and easy to use as possible. Actually, at the moment, CircuitPython supports more than MicroPython, such as capacitive touch and audio intput/output. It also has a little bit better compatibility with "big" Python, throwing exceptions where necessary and giving better error messages. I think you should definitely try it before you dismiss it.

As for porting MicroPython to ATSAMD21, I don't know of a project for this, but all the hard work has already been done in the CircuitPython, so I imagine it would just be a matter of cherry-picking the right pieces back.

User avatar
ioukos
Posts: 33
Joined: Wed Oct 19, 2016 11:31 am
Location: Alsace, Europe

Re: Micropython port to ATSAMD21

Post by ioukos » Wed Sep 13, 2017 6:33 pm

OK Thank You Deshipu,

I've never dismissed CircuitPython in my previous post and I assumed nothing about Circuit Python, just told as it was labeled for beginners, MAY BE all functionalities will be implemented, it seems I was totally wrong.

I'm looking forward to trying CircuitPython on a Trinket M0 and to be totally honest I'm currently waiting for the Trinket M0 to be back in store to purchase one ! (Pimoroni, or Semageek for example)

Good evening.

Post Reply