![]() New Mesh Config module that provides high-level access to persistent storage.Sample generic OnOff server behavior implementation.Generic server/client model interfaces for OnOff, Default Transition Time, and Level models. ![]() Boxes~Ħ.Test and develop Core Test core in docker (recommend) The following two demos are extensions of the custom module, which developed python interfaces for the ARM-2D image driver library. In addition to device drivers, developing custom Python modules for MCU is very easy. Reference price comparison (take the selling price of 10 pieces in Lichuang Mall on Septemas reference) Refer to the 20K RAM and 64K Flash of STM32F103C8T6, less than 25% RAM and less than 50% Flash are used.Ī quick comparison can be made between the microPython's MCU STM32F405RG and the PikaScript's MCU STM32G070CB. 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. y, w, h, 'blue')ī = s i = 0 # scan key key_val = key. # drow the snake and fruit # clear last body lcd. prev = b_new s = b_new len = len + 1 print( 'snake lengh') X_max = 120 y_max = 150 # snake init s = PikaPiZero. Demo 01 GPIOįrom PikaObj import * import PikaStdLib import PikaPiZero import STM32G0 # hardware init lcd = PikaPiZero. The scripts in demos are in the examples folder. Readability first, nearly never use macro function and global argument.Ĭomplete unit testes based on google test. Support class and method define, encapsulation-inheritance-polymorphism and moudles in. Support subaggregate of python 3 standard syntax. Zero dependencies, zero configuration, out-of-the-box, easy to integrated into privious C projcet. Support build tools like CMake, makeFile and Scons. Support IDEs like Keil, IAR, RT-Thread studio and segger embedded studio to develop C moudle. Support run and program python scripts by serial. (2)Develop enviroment Support REPL by serial. Can run in everywhere with RAM ≥ 4kB and FLASH ≥ 32kB,such as stm32g030, stm32f103c8t6,esp8266. Support run in mcu without OS or file system. PikaPackageManager - pacakge manager 2.Platform support MCU support MCU ![]() PikaCompiler - pre-compiler write by Rust, used to bind C function to python moudle. ⭐ PikaScript Bluepill Demo In PlatformIO - Python-like REPL □ □ The board based on STM32G030C8T6 MCU, only 64kB Flash, 8kB RAM can run PikaScript with total peripheral device (GPIO、TIME、IIC、RGB、KEY、LCD、RGB).ĬH340 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. You can use simulation project to quick start without hardware,or use the out-of-the-box develop board Pika-Pi-Zero. The run-time core, pre-compiler and moudles would be installed in the current folder. Run the PikaPackage.exe directly, then the pikascript repo would be downloaded auto in the /tmp/pikascript folder of your current disc partition.Īdd requestment.txt to the same folder of PikaPackage.exe then run PikaPackage.exe. Note: You need the Community Edition license (Now Free) to build Keil projects, and the version of Keil should be newer than v5.36. Get PikaScript: Use Online Project Generator The Pre-compiler is fully open-source, and the source code is in the tools folder. pyi and the bindings are autoly generated by Pre-compiler. 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. PikaScript is an ultra-lightweight Python engine with zero dependencies and zero-configuration, that can run with 4KB of RAM and 32KB of flash (such as STM32G030C8 and STM32F103C8). PikaScript Cross platform ultra lightweight embedded Python engine
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |