pikasTech / 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.
http://pikapython.com/
MIT License
1.49k stars 136 forks source link

No machine.h #206

Closed ARIYAWOW closed 2 years ago

ARIYAWOW commented 2 years ago

我尝试编译一个小于32k的固件 使用的是1.35版本,裸内核时可以运行,实现串口交互,在添加上device,编译时缺少machine.h
requestment.txt 如下 pikascript-core==v1.3.5.1 PikaStdLib==v1.3.5.1
PikaStdDevice==v1.3.0 STM32G0==v1.3.1 还需要其他配置,或者跟换版本?

pikasTech commented 2 years ago

32k还带g0的外设驱动不现实 32k就是内核加标准库 缺少machine的解决方法是在调用时用 STM32G0 替换machine