2796 Commits

Author SHA1 Message Date
lyon
ea78cabb5f support 2022-03-02 15:43:27 +08:00
lyon
ee91552bbb pass class demo 1, run.sh not pass 2022-03-02 15:37:17 +08:00
lyon
a966d43ad0 update PikaStdLib 2022-03-02 15:27:19 +08:00
lyon
e6002621bf main.py test in run.py no pass 2022-03-02 15:24:46 +08:00
lyon
91e57e4db9 fix warning 2022-03-02 15:09:01 +08:00
lyon
03f5b2cff3 support class def and self 2022-03-02 15:03:11 +08:00
lyon
f7174cdd48 add api to add OBJECT_METHOD 2022-03-02 10:45:32 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +08:00
lyon
233a4a21b4 ready to support run-time class 2022-03-02 02:29:58 +08:00
lyon
8a31dca92e format 2022-03-02 02:07:25 +08:00
lyon
195bf97fac call global fun tested ok inner class fun 2022-03-02 01:55:11 +08:00
lyon
849b8002b6 class def is nearly ok, pure fun is ok, connot call main fun 2022-03-01 22:45:59 +08:00
lyon
47905a12c9 add pikaMain to test class attribute 2022-03-01 20:57:04 +08:00
lyon
7692d38928 improve test 2022-03-01 20:55:06 +08:00
lyon
5ef923f3e3 class with attribute tested ok 2022-03-01 20:52:50 +08:00
lyon
4bcdf43154 test NEW obj in DEF is ok, RAS in DEF not ok 2022-03-01 19:21:39 +08:00
lyon
78050c35b3 no mem error in NEW obj 2022-03-01 19:13:39 +08:00
lyon
34a0fbbe41 test NEW instruct is ok 2022-03-01 16:13:35 +08:00
lyon
d10c5dbc97 RAS tested ok 2022-03-01 15:01:22 +08:00
lyon
ea3c4b533f add NEW and RAS instruction in vm 2022-03-01 14:38:27 +08:00
lyon
9d57dbd46c add NEW insturction to return a new obj from fun 2022-03-01 11:34:26 +08:00
lyon
f642971dc6 add RAS in parser 2022-03-01 11:26:21 +08:00
lyon
500709b5d2 out to self 2022-03-01 10:52:17 +08:00
lyon
31f9f10081 add enum to contral the init of object when OUT 2022-03-01 10:41:40 +08:00
李昂
5588b2af67
update bsp/template/pikascript/requestment.txt. 2022-02-28 15:45:32 +00:00
lyon
18937fe80f update readme 2022-02-28 20:49:22 +08:00
lyon
589b6d938e add api for stddevice.PWM and support rtDevice_PWM 2022-02-28 19:44:38 +08:00
lyon
a74a592eeb fix packages.toml 2022-02-27 23:47:30 +08:00
李昂
8bcb5ad868
update package/STM32F4/STM32F4_common.h. 2022-02-27 15:46:48 +00:00
lyon
4e1ca3fb5b update readme and install f4 pacakge for f401 2022-02-27 23:43:41 +08:00
lyon
c573674499 fit STM32F4 package 2022-02-27 23:42:18 +08:00
lyon
8160f20c78 update for stm32f411 2022-02-27 19:56:44 +08:00
lyon
5c47a1ae15 add driver for stm32f4 2022-02-27 19:53:05 +08:00
lyon
2ad649de7d fix STM32F4 commit id 2022-02-27 19:51:24 +08:00
lyon
de54dfaf88 release STM32F4 2022-02-27 19:48:24 +08:00
lyon
2288b01cd4 add STM32F4 package 2022-02-27 19:48:24 +08:00
lyon
5f992314b5 add stm32F4 package 2022-02-27 19:48:24 +08:00
李昂
91242415fe
update bsp/stm32f411ce/Src/main.c. 2022-02-27 10:43:46 +00:00
lyon
21be87c7b8 add stm32f411 bsp 2022-02-27 18:04:38 +08:00
lyon
40e4edc5d0 add stm32f411ce 2022-02-27 18:01:17 +08:00
lyon
0aba8d56d6 use latest in rt-thread for stddevice develop 2022-02-27 15:26:37 +08:00
lyon
780cdaf118 clear #if 2022-02-26 19:57:43 +08:00
lyon
2d784dfe9a add ID api for StdDevice GPIO 2022-02-26 14:42:04 +08:00
lyon
17cc05c42c update StdDevice and pikaRTDevice 2022-02-26 14:40:56 +08:00
lyon
3509d666d8 class_arg test no passed 2022-02-25 18:21:27 +08:00
lyon
483920213f update parser 2022-02-25 18:07:23 +08:00
lyon
9cf1ae46ad restore Dict.c 2022-02-25 18:07:03 +08:00
lyon
1291483369 add PikaObj for PikaStdLib 2022-02-25 18:05:54 +08:00
lyon
3d5e2acf3e parse for class is ok at first 2022-02-25 17:59:32 +08:00
lyon
9a6089cbcb use vs->locals in DEF instruction 2022-02-25 17:35:07 +08:00