Skip to content
Back to search

pikapython

An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/pikastech--pikapython/badge.svg)](/listings/pikastech--pikapython)

HTML

<a href="/listings/pikastech--pikapython"><img src="/api/listings/pikastech--pikapython/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 737 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <p align="center">
  2. <img alt="logo" src="document/image/144221063-a85b2cb0-0416-493f-9afb-56cff31e977d.jpg" width="300">
  3. </p>
  4. <h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">PikaPython</h1>
  5. <h4 align="center">Cross platform ultra lightweight embedded Python engine</h4>
  6. > PikaPython V2 is now available with a redesigned kernel, higher execution performance,
  7. > lower Flash and static RAM usage, a unified project CLI, and Code Agent workflows.
  8. > [Explore PikaPython V2](https://github.com/pikasTech/PikaPython/tree/v2).
  9. <p align="center">
  10. <a href="https://gitee.com/lyon1998/pikapython/stargazers"><img src="https://gitee.com/lyon1998/pikapython/badge/star.svg?theme=gvp"></a>
  11. <a href="https://gitee.com/lyon1998/pikapython/members"><img src="https://gitee.com/lyon1998/pikapython/badge/fork.svg?theme=gvp"></a>
  12. <a href="https://github.com/pikastech/pikapython/stargazers"><img src="https://img.shields.io/github/stars/pikastech/pikapython?style=flat-square&logo=GitHub"></a>
  13. <a href="https://github.com/pikastech/pikapython/network/members"><img src="https://img.shields.io/github/forks/pikastech/pikapython?style=flat-square&logo=GitHub"></a>
  14. <a href="https://github.com/pikastech/pikapython/watchers"><img src="https://img.shields.io/github/watchers/pikastech/pikapython?style=flat-square&logo=GitHub"></a>
  15. <a href="https://github.com/pikastech/pikapython/issues"><img src="https://img.shields.io/github/issues/pikastech/pikapython.svg?style=flat-square&logo=GitHub"></a>
  16. <a href="https://github.com/pikastech/pikapython/blob/master/LICENSE"><img src="https://img.shields.io/github/license/pikastech/pikapython.svg?style=flat-square"></a>
  17. <a href="https://github.com/pikasTech/pikapython/actions/workflows/CI.yml"><img src="https://github.com/pikasTech/pikapython/actions/workflows/CI.yml/badge.svg"> </a>
  18. <a href="https://app.codecov.io/gh/pikasTech/PikaPython"><img src="https://codecov.io/gh/pikasTech/PikaPython/branch/master/graph/badge.svg"> </a>
  19. </p>
  20. <p align="center">
  21. <a href="README_zh.md" >中文页</a> |
  22. <a href="https://whycan.com/f_55.html" >Forum</a> |
  23. <a href="https://pikadoc-en.readthedocs.io/en/latest/index.html" >Documents</a> |
  24. <a href="https://space.bilibili.com/5365336/channel/detail?cid=202329">Videos</a> |
  25. <a href="../../tree/master/bsp#platform-support">BSP</a> |
  26. <a href="https://pikadoc-en.readthedocs.io/en/latest/%E5%8C%85%E7%AE%A1%E7%90%86%E5%99%A8%E4%B8%8E%E6%A8%A1%E5%9D%97%E7%AE%A1%E7%90%86.html">Package Manager</a> |
  27. <a href="https://pikadoc-en.readthedocs.io/en/latest/%E5%A6%82%E4%BD%95%E5%8F%82%E4%B8%8E%E7%A4%BE%E5%8C%BA%E8%B4%A1%E7%8C%AE.html" >Contribute</a> |
  28. <a href="https://pikadoc-en.readthedocs.io/en/latest/%E5%95%86%E4%B8%9A%E5%90%88%E4%BD%9C%E6%96%B9%E5%BC%8F.html">Business</a>
  29. </p>
  30. [![image](document/image/147997370-ff37b6e7-25b2-4174-aa64-c1fb92cede04.png)](https://pikastech.github.io/PikaPython/dev/bench/)
  31. # 1. Abstract
  32. PikaPython is an ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C.
  33. PikaPython also known as PikaScript and PikaPy.
  34. <img src="https://user-images.githubusercontent.com/88232613/147799704-d79345da-a2b9-4593-b1eb-ff9de127429a.png" width="500"/>
  35. It's very easy to bind C function to python module with the help of Pika Pre-compiler.Only write the API of python in `.pyi` and the bindings are autoly generated by Pre-compiler.
  36. ![image-20220520233540245](document/image/image-20220520233540245.png)
  37. # Get pikapython:
  38. ## Use Online Project Generator
  39. Generator url:
  40. http://pikascript.com
  41. Note: You need the [Community Edition license (Now Free)](https://www.keil.com/pr/article/1299.htm) to build Keil projects, and the version of Keil should be newer than v5.36.
  42. [![](assets/1644129110261-049ad5bb-21af-40e2-9533-a1c8c86790f1.jpg)](http://pikascript.com)
  43. ## PikaPython studio
  44. PikaPython serial terminal, script download and package menage tool.
  45. [![](assets/115.png)](https://gitee.com/Lyon1998/pikapython/attach_files/1285327/download)
  46. # Quick Start
  47. You can use [simulation project](https://pikadoc-en.readthedocs.io/en/latest/Keil%20%E4%BB%BF%E7%9C%9F%E5%B7%A5%E7%A8%8B.html) to quick start without hardware,or use the out-of-the-box develop board [Pika-Pi—Zero](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-23991764791.11.37216340XZtYt9&id=738387991209).
  48. ![image](https://user-images.githubusercontent.com/88232613/141252834-93011ca7-f84b-4192-8e61-0e242796f62c.png)
  49. The board based on STM32G030C8T6 MCU, only 64kB Flash, 8kB RAM can run pikapython with total peripheral device (GPIO、TIME、IIC、RGB、KEY、LCD、RGB).
  50. CH340 is deployed to support USB to serial with Type-C USB, support download python script py serial, there are 4 RGB on the board and support the [LCD](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-23991764791.12.16f97c58fsLjVk&id=660745643102).
  51. # Related Projects
  52. - 🎮 [MicroLink](https://github.com/Aladdin-Wang/MicroLink) 一款集多功能于一体的嵌入式系统开发工具
  53. - ▶️ [pikapython Binding For LVGL](https://github.com/lvgl/lv_binding_pikascript)
  54. - ⭐ [pikapython Bluepill Demo In PlatformIO — Python-like REPL 🐍🔌](https://github.com/maxgerhardt/pikascript-pio-bluepill)
  55. - ⭐ [pikapython Bluepill Demo In GCC 🐍](https://github.com/Chandler-Kluser/pikascript_gcc_bluepill)
  56. - ⏩ [pika_startup_demo](https://gitee.com/kcfkwok/pika_startup_demo) This program demonstrate the 5 startup methods of pikapython.
  57. - 🎮 [PikaPython-OpenHardware](https://gitee.com/Lyon1998/pikapython_openhardware) PikaPython 开源硬件
  58. - 💻 [pikapython-msvc-qt](https://gitee.com/zuto360_460135301/pikapython-msvc-qt) 移植pikapython到windows平台,基于QT,采用MSVC编译器,移植pthread库,支持多线程。
  59. # Document
  60. https://pikadoc-en.readthedocs.io/en/latest/index.html
  61. ## How to contribute
  62. https://pikadoc-en.readthedocs.io/en/latest/%E5%A6%82%E4%BD%95%E5%8F%82%E4%B8%8E%E7%A4%BE%E5%8C%BA%E8%B4%A1%E7%8C%AE.html
  63. ## Folders
  64. [src](../../tree/master/src) - core code
  65. [bsp](../../tree/master/bsp) - mcu/board support
  66. [port](../../tree/master/port) - OS and package manager
  67. [test](../../tree/master/port/linux/test) - unit test
  68. [document](../../tree/master/document) - developt document
  69. [examples](../../tree/master/examples) - example scripts
  70. [package](../../tree/master/package) - packages and moudles
  71. [pikaCompiler](../../tree/master/tools/pikaCompiler) - pre-compiler write by Rust, used to bind C function to python moudle.
  72. [pikaPackageManager](../../tree/master/tools/pikaPackageManager) - pacakge manager
  73. # 2.Platform support
  74. ## MCU support
  75. |MCU |bsp|gpio|time|uart|pwm|adc|i2c|dac|
  76. |--- |---|--- |--- |--- |---|---|---|---|
  77. |stm32g030c8 |√ |√ |√ |√ |√ |√ |√ | |
  78. |stm32g070cB |√ |√ |√ |√ |√ |√ |√ | |
  79. |stm32f103c8 |√ |√ |√ |√ |√ |√ |√ | |
  80. |stm32f103rb |√ |√ |√ |√ |√ |√ |√ | |
  81. |stm32f103ze |√ |√ |√ |√ |√ |√ |√ | |
  82. |stm32f103rc |√ |√ |√ |√ |√ |√ |√ | |
  83. |stm32f401cc |√ |√ |√ |√ |√ |√ |√ | |
  84. |stm32f411ce |√ |√ |√ |√ |√ |√ |√ | |
  85. |stm32f407ze |√ | | | | | | | |
  86. |stm32f407zg |√ | | | | | | | |
  87. |stm32h750vb |√ | | | | | | | |
  88. |stm32f051r8 |√ | | | | | | | |
  89. |air32f103cb |√ |√ |√ | | | | | |
  90. |ch582 |√ |√ |√ |√ | |√ |√ | |
  91. |ch32v103r8t6 |√ |√ |√ | | | | | |
  92. |cm32m101a |√ | | | | | | | |
  93. |w806 |√ |√ |√ |√ |√ |√ |√ | |
  94. |apm32f030r8 |√ | | | | | | | |
  95. |apm32e103vb |√ | | | | | | | |
  96. |bl-602 |√ |√ | | |√ |√ | |√ |
  97. |bl-706 |√ | | | | | | | |
  98. |[bl-618](https://verimake.com/d/285-bl618-pikapython-led)|√ | √ | √ | √ | √ | √ | √ | √ |
  99. |Raspberry Pico |√ | | | | | | | |
  100. |ESP32C3 |√ |√ |√ | | | | | |
  101. |TC264D |√ | | | | | | | |
  102. |devc |√ | | | | | | | |
  103. |visual-studio |√ | | | | | | | |
  104. |EC600N |√ | | | | | | | |
  105. |mm32f5277e9p |√ |√ | | | | | | |
  106. |xr806(openharmony)|√ | | | | | | | |
  107. ## Board support
  108. |Board|bsp|gpio|uart|pwm|adc|i2c|rgb|lcd|arm-2d|
  109. |---|---|---|---|---|---|---|---|---|---|
  110. |[Pika-Pi-Zero](https://item.taobao.com/item.htm?spm=a230r.1.14.1.4f2e27a8R0qWJn&id=654947372034&ns=1&abbucket=15#detail)|√|√|√|√|√|√|√|√|√|
  111. |Board|bsp|pika_lvgl|
  112. |---|---|---|
  113. |lvgl-vs-simu|√|√|
  114. |swm320|√|√|
  115. |Board|bsp|arm-2d|
  116. |---|---|---|
  117. |QEMU-arm2d|√|√|
  118. |Board|bsp|LED|KEY|
  119. |---|---|---|---|
  120. |SmartLoong|√|√|√|√|
  121. ## OS support
  122. |OS|port|GPIO|TIME|PWM|
  123. |---|---|---|---|---|
  124. |RT-Thread|√|√|√|√|
  125. |vsf|√|√| | |
  126. |OS|port|Google Test|Benchmark|
  127. |---|---|---|---|
  128. |linux|√|√|√|
  129. # 3.Characteristic
  130. ### (1)Run environment
  131. Support run in mcu without OS or file system. Can run in everywhere with **RAM ≥ 4kB** and **FLASH ≥ 64kB**,such as stm32g030, stm32f103c8t6,esp8266.
  132. ### (2)Develop enviroment
  133. #### Support REPL by serial.
  134. <img src="assets/1641178790145-2f026e70-4ba1-4e9a-b05f-c602b2bd8cad.png" width="400" alt="微信交流群"/><br/>
  135. #### Support run and program python scripts by serial.
  136. <img src="document/image/134841230-85de6734-8467-4245-93a5-d452b5022b42.gif" width="400" alt="微信交流群"/><br/>
  137. Support IDEs like Keil, IAR, RT-Thread studio and segger embedded studio to develop C moudle.
  138. Support build tools like CMake, makeFile and Scons.
  139. Zero dependencies, zero configuration, out-of-the-box, easy to integrated into privious C projcet.
  140. Eazy to extern customized C moudles.
  141. Support linux.
  142. ### (3)Syntax
  143. Support subaggregate of python 3 standard syntax.
  144. Support class and method define, encapsulation-inheritance-polymorphism and moudles in `.pyi ` of C module.
  145. <details><summary>More Details About Syntax Support</summary>
  146. |Syntax|Compile-Time|Run-Time|Shell|
  147. |---|---|---|---|
  148. |Module Define |√|-|-|
  149. |Module Import |√|√|√|
  150. |Class Define |√|√|√|
  151. |Class Inherit |√|√|√|
  152. |Method Define |√|√|√|
  153. |Method Override |√|√|√|
  154. |Method Invoke |√|√|√|
  155. |Argument Define |√|√|√|
  156. |Argument Assignment |√|√|√|
  157. |Object New |√|√|√|
  158. |Object Free |√|√|√|
  159. |Object Nest |√|√|√|
  160. |Control flow |√|√|√|
  161. #### Operator
  162. | + | - | * | / | == | > | < | >= | <= | % | ** | // | != | & | >> | << | and | or | not | in | += | -= | *= | /= |
  163. |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
  164. |√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|√|
  165. #### Control flow
  166. | Syntax | State |
  167. | --- | --- |
  168. | if | √ |
  169. | while | √ |
  170. | for in [list] | √ |
  171. | for in range(a, b) | √ |
  172. | for in [dict] | √ |
  173. | if elif else | √ |
  174. | for break/continue | √ |
  175. | while break/continue | √ |
  176. #### Module
  177. | Syntax | Python Module | C Module |
  178. | --- | --- | --- |
  179. | import [module] | √ | √ |
  180. | import [module] as | √ | - |
  181. | from [module] import [class/function>]| √ | - |
  182. | from [module] import [class/function>] as | √ | - |
  183. | from [module] import * | - | PikaObj Module Only |
  184. #### List/Dict
  185. | Syntax | State |
  186. | --- | --- |
  187. | l = list() | √ |
  188. | l = [a, b, c] | √ |
  189. | d = dict() | √ |
  190. | d = {'a':x, 'b':y, 'c':z} | √ |
  191. #### Exception
  192. | Syntax | State |
  193. | --- | --- |
  194. |try:| √ |
  195. |except:| √ |
  196. |except [Exception]:| - |
  197. |except [Exception] as [err]: | - |
  198. |except: ... else:| - |
  199. |raise:| √ |
  200. |raise [Exception]:| - |
  201. |finally:| - |
  202. #### Slice
  203. | Syntax | str | bytes | list |
  204. | --- | --- | --- | --- |
  205. | test[i] | √ | √ | √ |
  206. | test[a : b] | √ | √ | √ |
  207. | test[a :] | √ | √ | √ |
  208. #### Other keywords/Syntax
  209. | yield | is | comprehensions |
  210. | --- | --- | --- |
  211. | - | √ | - |
  212. </details>
  213. ### (4)Develop standard.
  214. Readability first, nearly never use macro function and global argument.
  215. Complete unit testes based on google test.
  216. # 4.Both talk and show the code:
  217. ## E-mail: liang6516@outlook.com
  218. # 5.Demo
  219. The scripts in demos are in the [examples](examples) folder.
  220. ## Demo 01 GPIO
  221. <details><summary>View Code</summary>
  222. ``` python
  223. import PikaStdLib
  224. import STM32G0
  225. mem = PikaStdLib.MemChecker()
  226. io1 = STM32G0.GPIO()
  227. time = STM32G0.Time()
  228. io1.setPin('PA8')
  229. io1.setMode('out')
  230. io1.enable()
  231. io1.low()
  232. print('hello pikapython')
  233. print('mem.max :')
  234. mem.max()
  235. print('mem.now :')
  236. mem.now()
  237. while True:
  238. io1.low()
  239. time.sleep_ms(500)
  240. io1.high()
  241. time.sleep_ms(500)
  242. ```
  243. </details>
  244. ![Hnet-image (2)](document/image/132943428-f2b365ca-140e-42f4-936c-db6a7d9f8dee.gif)
  245. ## Demo 02 USART
  246. <details><summary>View Code</summary>
  247. ``` python
  248. import PikaStdLib
  249. import STM32G0
  250. time = STM32G0.Time()
  251. uart = STM32G0.UART()
  252. uart.setId(1)
  253. uart.setBaudRate(115200)
  254. uart.enable()
  255. while True:
  256. time.sleep_ms(500)
  257. readBuff = uart.read(2)
  258. print('read 2 char:')
  259. print(readBuff)
  260. ```
  261. </details>
  262. ![Hnet-image (3)](document/image/132943365-0f7059b3-4f9d-4989-a5ec-2cce72b0cc96.gif)
  263. ## Demo 03 ADC
  264. <details>
  265. <summary>View Code</summary>
  266. ``` python
  267. import PikaStdLib
  268. import STM32G0
  269. time = STM32G0.Time()
  270. adc1 = STM32G0.ADC()
  271. adc1.setPin('PA1')
  272. adc1.enable()
  273. while True:
  274. val = adc1.read()
  275. print('adc1 value:')
  276. print(val)
  277. time.sleep_ms(500)
  278. ```
  279. </details>
  280. ![mmexport1631351523907](document/image/132944185-0a01b1ba-8cf7-4f9f-9d73-fe9cbcd52f0b.png)
  281. ## Demo 04 PWM output
  282. <details><summary>View Code</summary>
  283. ``` python
  284. import PikaStdLib
  285. import STM32G0
  286. time = STM32G0.Time()
  287. pwm = STM32G0.PWM()
  288. pwm.setPin('PA8')
  289. pwm.setFrequency(2000)
  290. pwm.setDuty(0.5)
  291. pwm.enable()
  292. while True:
  293. time.sleep_ms(500)
  294. pwm.setDuty(0.5)
  295. time.sleep_ms(500)
  296. pwm.setDuty(0.001)
  297. ```
  298. </details>
  299. ## Demo 05 RGB
  300. <details><summary>View Code</summary>
  301. ``` python
  302. import STM32G0
  303. import PikaPiZero
  304. import PikaStdLib
  305. rgb = PikaPiZero.RGB()
  306. mem = PikaStdLib.MemChecker()
  307. rgb.init()
  308. rgb.enable()
  309. print('hello 2')
  310. print('mem used max:')
  311. mem.max()
  312. while True:
  313. print('flowing')
  314. rgb.flow()
  315. ```
  316. </details>
  317. ## Demo 06 Snake(Need LCD)
  318. <details>
  319. <summary>View Code</summary>
  320. ``` python
  321. from PikaObj import *
  322. import PikaStdLib
  323. import PikaPiZero
  324. import STM32G0
  325. # hardware init
  326. lcd = PikaPiZero.LCD()
  327. lcd.init()
  328. lcd.clear('white')
  329. key = PikaPiZero.KEY()
  330. key.init()
  331. time = STM32G0.Time()
  332. x_max = 120
  333. y_max = 150
  334. # snake init
  335. s = PikaPiZero.Point()
  336. w = 9
  337. h = 9
  338. s.x = 50
  339. s.y = 10
  340. len = 0
  341. while len < 3:
  342. b = s
  343. i = 0
  344. while i < len:
  345. b = b.next
  346. i = i + 1
  347. b.next = PikaPiZero.Point()
  348. b.next.x = b.x - 10
  349. b.next.y = b.y
  350. b.next.prev = b
  351. len = len + 1
  352. # ring link
  353. b.next = s
  354. s.prev = b
  355. i = 0
  356. b = s
  357. while i < len:
  358. lcd.fill(b.x, b.y, w, h, 'blue')
  359. b = b.next
  360. i = i + 1
  361. print('snake lengh')
  362. print(len)
  363. # fruit init
  364. f = PikaPiZero.Point()
  365. f.x = 30
  366. f.y = 20
  367. lcd.fill(f.x, f.y, w, h, 'green')
  368. # memory check
  369. mem = PikaStdLib.MemChecker()
  370. print('mem used max:')
  371. mem.max()
  372. # main loop
  373. d = 0
  374. isUpdate = 1
  375. isEat = 0
  376. while True:
  377. if isUpdate:
  378. # isUpdate = 0
  379. # check eat fruit
  380. if f.x == s.x and f.y == s.y:
  381. # have eat fruit
  382. isEat = 1
  383. f.x = f.x + 30
  384. if f.x > x_max:
  385. f.x = f.x - x_max
  386. f.y = f.y + 30
  387. if f.y > y_max:
  388. f.y = f.y - y_max
  389. lcd.fill(f.x, f.y, w, h, 'green')
  390. # move snake by the direction
  391. if d == 0:
  392. x_new = s.x + 10
  393. y_new = s.y
  394. if x_new > x_max:
  395. x_new = 0
  396. elif d == 1:
  397. x_new = s.x
  398. y_new = s.y - 10
  399. if y_new < 0:
  400. y_new = y_max
  401. elif d == 2:
  402. x_new = s.x
  403. y_new = s.y + 10
  404. if y_new > y_max:
  405. y_new = 0
  406. elif d == 3:
  407. x_new = s.x - 10
  408. y_new = s.y
  409. if x_new < 0:
  410. x_new = x_max
  411. if isEat:
  412. isEat = 0
  413. b_new = PikaPiZero.Point()
  414. b_new.x = x_new
  415. b_new.y = y_new
  416. b_new.prev = s.prev
  417. b_new.next = s
  418. s.prev.next = b_new
  419. s.prev = b_new
  420. s = b_new
  421. len = len + 1
  422. print('snake lengh')
  423. print(len)
  424. print('mem used max:')
  425. mem.max()
  426. # drow the snake and fruit
  427. # clear last body
  428. lcd.fill(s.prev.x, s.prev.y, w, h, 'white')
  429. # new body
  430. s.prev.x = x_new
  431. s.prev.y = y_new
  432. # head is last body
  433. s = s.prev
  434. lcd.fill(s.x, s.y, w, h, 'blue')
  435. b = s
  436. i = 0
  437. # scan key
  438. key_val = key.get()
  439. if key_val == 0:
  440. d = 0
  441. isUpdate = 1
  442. elif key_val == 1:
  443. d = 1
  444. isUpdate = 1
  445. elif key_val == 2:
  446. d = 2
  447. isUpdate = 1
  448. elif key_val == 3:
  449. d = 3
  450. isUpdate = 1
  451. ```
  452. </details>
  453. ![image](https://user-images.githubusercontent.com/88232613/150269059-1fe3d62d-0c1b-40f4-9298-0d787f476a20.png)
  454. The maximum RAM usage of these demos is only 3.56K, which is 4.56K if the 1K stack is included, and the maximum Flash usage is 30.4K. Refer to the 20K RAM and 64K Flash of STM32F103C8T6, less than 25% RAM and less than 50% Flash are used.
  455. ## About the custom extern module ?
  456. In addition to device drivers, developing custom Python modules for MCU is very easy. The following two demos are extensions of the custom module, which developed python interfaces for the ARM-2D image driver library.
  457. ## Boxes~
  458. ![Hnet-image (7)](document/image/132945282-bfd310df-8063-456d-b90c-6b798a2c8ed5.gif)
  459. ## Rotating suns~
  460. ![Hnet-image (6)](document/image/132945107-e473a2cc-9fbc-47f9-aaed-a28d3ad1048c.gif)
  461. # 6.Test and develop Core
  462. ## Test core in docker (recommend)
  463. [get start with docker](https://pikadoc-en.readthedocs.io/en/latest/get-start_linux.html)
  464. # ✨ Contributors
  465. <a href="https://github.com/pikastech/pikapython/graphs/contributors">
  466. <img src="https://contrib.rocks/image?repo=pikastech/pikascript" />
  467. </a>
  468. ## [How to contribute](https://pikadoc-en.readthedocs.io/en/latest/%E5%A6%82%E4%BD%95%E5%8F%82%E4%B8%8E%E7%A4%BE%E5%8C%BA%E8%B4%A1%E7%8C%AE.html)
  469. <div class="log"></div>
  470. ### Contribute Log On 2023
  471. | Contribute log | Contributer |
  472. | --- | --- |
  473. |fix REPL echo for '\b' and 0x7F|[versaloon](https://github.com/versaloon)|
  474. |pika_hal support for ESP32|[geekheart](https://gitee.com/geekheart)|
  475. |Driver Design for PIKA-OPEN-HARDWARE|[Kirin](https://gitee.com/ztqkirin)|
  476. |bsp support for `Makefile-win-mingw` |[unsigned_0](https://gitee.com/unsigned0)|
  477. |Fix bug for STM32F4 `delay_unit()`|[MrLeekon](https://gitee.com/MrLeekon)|
  478. |bsp support for `air780e`|[Kirin](https://gitee.com/ztqkirin)|
  479. |Component Selection, Schematic Diagram, PCB Design for PIKA-OPEN-HARDWARE| 冰点 (WeChat Name)|
  480. |Driver Design for PIKA-OPEN-HARDWARE|[Kirin](https://gitee.com/ztqkirin)|
  481. |Product Design, Component Selection for PIKA-OPEN-HARDWARE| 方海钰 |
  482. |Hardware Verification for PIKA-OPEN-HARDWARE|[HonestQiao](https://github.com/HonestQiao)|
  483. |support PIKA_UNBUFFERD_ENABLE config item|[Seny Lee](https://gitee.com/SenyLee)|
  484. |add `this` module|[blueloveTH](https://github.com/blueloveTH)|
  485. |Fix memory leak in event queue|[randyscott](https://github.com/randyscott)|
  486. |Fix a bug of _OP_POW|[blueloveTH](https://github.com/blueloveTH)|
  487. |fix bsp/esp32/README.md|[erzongxie](https://gitee.com/erzongxie)|
  488. |Fixed a bug where help("modules") crashed when no lib was loaded|[梦程MI](https://gitee.com/dreamcmi) |
  489. |support GPIO driver for rt-thread| [supperthomas](https://github.com/supperthomas) |
  490. |Fixed a typo|[J. Neuschäfer](https://github.com/neuschaefer)|
  491. |codecov CI support| [Renzhihan](https://github.com/Renzhihan) |
  492. |rt-thread build script fix and improve| [supperthomas](https://github.com/supperthomas) |
  493. |support pikafs pack and unpack to path|[sjy](https://gitee.com/shanjiayang)|
  494. |fix pika_platform_get_tick() in linux port|[梦程MI](https://gitee.com/dreamcmi) |
  495. |CH307开发板、BL618开发板 | [VeriMake](https://space.bilibili.com/356383684) |
  496. |VM instruction extension framework | [GorgonMeducer](https://github.com/GorgonMeducer) |
  497. |iotcloud module|[梦程MI](https://gitee.com/dreamcmi) |
  498. |implement shell filter | [GorgonMeducer](https://github.com/GorgonMeducer) |
  499. |修复socket模块在lwip中fcntl的参数数量错误|[梦程MI](https://gitee.com/dreamcmi) |
  500. |support GPIO pika_hal for BLMCU|[codercmd](https://gitee.com/codercmd)|
  501. |Fix Typo on PikaVM.c|[Ikko Eltociear Ashimine](https://gitee.com/eltociear)|
  502. |Fix type assert on dataArgs.c|[itschina](https://gitee.com/itschina)|
  503. |add examples/Device/KEY_POLL.PY|[codercmd](https://gitee.com/codercmd)|
  504. | hmac hashlib base64 aes modules | [梦程MI](https://gitee.com/dreamcmi) |
  505. |fix pikaCompiler build error on macos|[梦程MI](https://gitee.com/dreamcmi) |
  506. <details><summary> Contribute Log On 2022 </summary>
  507. | Contribute log | Contributer |
  508. | --- | --- |
  509. | request module | [onceday](https://gitee.com/onceday) |
  510. | mqtt module | [FlintJ](https://gitee.com/flintj) |
  511. | Donate:500¥ | [hardsofttech](https://gitee.com/hardsofttech) |
  512. | Donate:500¥ | [edmund_wz](https://gitee.com/edmund_wz) |
  513. | Donate:500¥ | [Meco Jianting Man](https://github.com/mysterywolf) |
  514. | Donate:500¥ | [hardsofttech](https://gitee.com/hardsofttech) |
  515. |PikaNN module| [Renzhihan](https://github.com/Renzhihan) |
  516. | re module | [eglwang](https://gitee.com/eglwang) |
  517. | PikaMath.Quaternion() | [purewind7](https://gitee.com/purewind7) |
  518. | contrubute to PikaCV | [purewind7](https://gitee.com/purewind7) |
  519. | xr806(openharmony) bsp |[sjy](https://gitee.com/shanjiayang)|
  520. | ESP32 package |沧御|
  521. | MM32F5277E9P package |[unsigned](https://gitee.com/unsigned0)|
  522. | mm32f5277e9p BSP |[unsigned](https://gitee.com/unsigned0)|
  523. | Add [CMSIS-PACK](https://pikadoc-en.readthedocs.io/en/latest/get-start_cmsis-pack.html) | [GorgonMeducer](https://github.com/GorgonMeducer) |
  524. | donate: air32f103 board * 20 | 合宙 [xinxi204](https://gitee.com/xinxi204) |
  525. | contrubute to PikaMath.Math() | [onceday](https://gitee.com/onceday) |
  526. | add support for Unix Time | [onceday](https://gitee.com/onceday) |
  527. | contrubute to PikaStdLib.String() | [purewind7](https://gitee.com/purewind7) |
  528. | Add [PLOOC](https://github.com/GorgonMeducer/PLOOC) support for pikapython Core | [GorgonMeducer](https://github.com/GorgonMeducer) |
  529. | Donate:500¥ (ctypes 相关) | 蒋太平 |
  530. | fix linux install script | [Maximilian Gerhardt](https://github.com/maxgerhardt) |
  531. | ch582 package | [梦程MI](https://gitee.com/dreamcmi) |
  532. | ch582 BSP | [梦程MI](https://gitee.com/dreamcmi) |
  533. | Donate:EC600X QuecPython Develop board| 移远通信 武加玉 |
  534. | Performance Point: 900->1400 | [GorgonMeducer](https://github.com/GorgonMeducer) |
  535. | stm32f051r8 BSP |[unsigned](https://gitee.com/unsigned0)|
  536. | stm32f407ze BSP |[unsigned](https://gitee.com/unsigned0)|
  537. | devc BSP |[unsigned](https://gitee.com/unsigned0)|
  538. | TC264D BSP |[unsigned](https://gitee.com/unsigned0)|
  539. | PikaVM improvement | [GorgonMeducer](https://github.com/GorgonMeducer) |
  540. | W801Device package | 刘延(微信名) |
  541. | W806 bsp | 刘延(微信名) |
  542. | Donate:ESP32C3 5pic,linker|启明云端 沧御|
  543. | Donate:LS1C101 mcu 10pic, LS1c101 develop board,debuger|龙芯俱乐部 石南|
  544. | PikaVSF OS package | [versaloon](https://github.com/versaloon) |
  545. | ESP32C3 BSP |沧御|
  546. </details>
  547. <details><summary> Contribute Log On 2021 </summary>
  548. | Contribute log | Contributer |
  549. | --- | --- |
  550. | Donate:ESP32 board、ink lcd*4 | name(微信名) |
  551. | Donate:smartloong board | 龙芯俱乐部 石南 |
  552. | package/STM32F1 | [sjy](https://gitee.com/shanjiayang) |
  553. | package/STM32F103RBBooter | [sjy](https://gitee.com/shanjiayang) |
  554. | bsp/stm32f103rb | [sjy](https://gitee.com/shanjiayang) |
  555. | QEMU ARM-2D simulation proejct | [liuduanfei](https://github.com/liuduanfei) |
  556. | Donate:GD32E103TB2 2 pic | 信息牛(微信名) |
  557. | Rt-thread bsp、port、module| [Meco Jianting Man](https://github.com/mysterywolf) |
  558. | Donate:EC600S-CN 4G| 移远模块 |
  559. | Donate:BL706 board|博流智能 [bouffalolab](https://github.com/bouffalolab)|
  560. | Donate:CM32M101A 开发板| 孟巍(微信名) |
  561. | Donate:APM32F030R8 board | 极海半导体 陈成 |
  562. | Donate:APM32E103VB board | 极海半导体 陈成 |
  563. | Donate:APEX-Link| 极海半导体 陈成 |
  564. | corde format,add gitattributes| [Meco Jianting Man](https://github.com/mysterywolf) |
  565. | demo/simulation-keil | 千帆(微信名) |
  566. | demo/stm32f103zet6/demo01-led-stm32f103zet6 | [甜航](https://github.com/easyzoom) |
  567. | demo/stm32f103zet6/demo02-led-stm32f103zet6_tworoot | [甜航](https://github.com/easyzoom) |
  568. | demo/stm32f407zgt/demo01-led-stm32f407vgt | [甜航](https://github.com/easyzoom) |
  569. </details>
  570. ## Star History
  571. [![Star History Chart](https://api.star-history.com/svg?repos=pikastech/pikascript&type=Date)](https://star-history.com/#pikastech/pikascript&Date)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.