Page 1 of 1

Micropython port to ATSAMD21

Posted: Tue Sep 12, 2017 7:49 pm
by ioukos
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

Re: Micropython port to ATSAMD21

Posted: Wed Sep 13, 2017 10:10 am
by deshipu
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.

Re: Micropython port to ATSAMD21

Posted: Wed Sep 13, 2017 6:33 pm
by ioukos
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.