2.4. Start with CMSIS-PACK
Users developing with Keil can use CMSIS-PACK to install PikaPython with one click.
2.4.1. Install PikaTech.PikaPython.x.x.x.pack
Just go all the way to Next and install
2.4.2. Set in the project
Check PikaPython, including Core and PikaStdLib
Here you can see that PikaPython has been added
In Before Build add
.\RTE\PikaPython\pikaBeforBuild-keil.bat
Then introduce in main.c
#include "pikaScript.h"
Start PikaPython after initializing the system and printf
PikaObj *pikaMain = pikaScriptInit();
Compile successfully.
Run successfully !
For more usage, please refer to porting guide