Git Product home page Git Product logo

pikascript's Introduction

1.简介

PikaScript可以为资源受限的mcu提供极易部署和拓展的Python脚本绑定。

支持裸机运行,可运行于 RAM > 4kB 的mcu中,如stm32f103c8t6,esp32。

使用python3标准语法的子集。

在编译时支持python类和方法定义(基于Pika预编译器)。

在运行时支持python方法调用、变量定义、对象构造、对象释放(基于Pika运行时内核)。

支持跨平台,可在linux环境开发、测试内核。

开箱即用,零配置,仅依赖C标准库,完全不使用宏,几乎不使用全局变量。

完整的googletest单元测试。

栈空间少量占用,内存信息可观测。

源码命名规范,可读性强。

stm32例程

pikascript-stm32-demo

开发手册

1. PikaScript-三分钟快速上手

2. PikaScript-架构与原理

3. PikaScript-十分钟快速部署

4. PikaScript-标准开发流程

架构示意图

K9C)%CZO)X`8VFBKCE8(9@W

2.stm32教程视频

手把手PikaScript教程合集

3.交流与技术支持:

微信交流群

image

官方公众号

image

Tencent QQ: 645275593

4.内核测试与开发

linux下测试pikascript内核(推荐ubuntu20.04):

step1: 拉取项目

git clone https://github.com/mimilib/pikascript
cd pikascript

step2: 编译项目

sh init.sh # 第一次编译前运行,之后就不用运行了 
sh make.sh # 编译项目

step3: 运行单元测试

sh test

step4: 运行基准测试

sh test-banchmark

step5: 运行demo

./build/src/boot/demo06-pikamain/pikascript_demo06-pikamain

step6: 提交修改

sh commit.sh

pikascript's People

Contributors

pikastech avatar mysterywolf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.