新唐全新直譯器 NuMicroPy – MicroPython 移植方案

Post Reply
User avatar
NuvotonMarcom
Posts: 69
Joined: 10 Sep 2018, 17:23

26 Sep 2019, 13:39

Python 是一種直譯式的物件導向程式語言,伴隨豐富的第三方函式庫以及簡單易上手的特性,使得它在一些領域上被廣泛的使用,例如:機器學習(Google TensorFlow, Facebook caffe)、電腦視覺(OpenCV)等。根據 Stack Overflow 對其網站的統計,Python相關議題的被訪問量成長幅度,目前已超過幾種主流程式語言,如:JavaScript、Java、C#、PHP、C++。

MicroPython
MicroPython 是使用ANSI C來打造可在微控器上運行的 Python 直譯器、 Python核心庫和底層硬體介面模組。借助MicroPython,使用者可以使用Python 語言來實現微控器底層硬體控制,例如:LED 的控制,ADC的讀取等。
另外MicroPython還提供了REPL模式(Read-Eval-Print-Loop Prompt),使用者可以直接在命令列上直接下達Python程式碼,無需經編譯器,直接在微控器上執行。
MicroPython 網站介紹:http://micropython.org/

NuMicroPy
NuMicroPy 是 MicroPython 在 NuMicro 微控器上的移植方案。移植了直譯器和核心庫外,也移植了底層硬體介面模組,如:UART, I2C, CAN, Ethernet 等。另外也提供 USB Mass Storage 的方式來更新使用者的 Python 程式碼,僅需一條USB線便可以在電腦上,使用複製貼上方式將使用者的程式碼寫入到微控器。
目前 NuMicroPy 支援了 NuMaker-PFM-M487、NuMaker-IOT-M487 和 NuMaker-M263KI 開發板,只需按照 NuMicroPy 網站的說明,就可以在這三張板子上快速開發 Python 的應用。
NuMicroPy 網站介紹:https://github.com/OpenNuvoton/NuMicroPy

User avatar
LovelyA72
Posts: 1
Joined: 28 Sep 2019, 02:14

28 Sep 2019, 02:30

Thanks for the information! I used to use MicroPython on STM32F4 series and it was fun. It's exciting to see such an open-source scripting platform appears on nuvoton ARM devices.
私の名前は高坂穂乃果! With N76E003 as the co-controller...

(I am an electronic DIY hobbyist in Worcester Massachusetts. Currently using AVR products from Microchip and N76 Series from Nuvoton.)

User avatar
NuvotonMarcom
Posts: 69
Joined: 10 Sep 2018, 17:23

30 Sep 2019, 17:15

LovelyA72 wrote:
28 Sep 2019, 02:30
Thanks for the information! I used to use MicroPython on STM32F4 series and it was fun. It's exciting to see such an open-source scripting platform appears on nuvoton ARM devices.
No problem! We are glad you enjoy our post and hope NuMicroPy can be useful for you =)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest