514 Commits

Author SHA1 Message Date
lyon
871fbf701c add_files 2022-08-25 13:06:59 +08:00
pikastech
2a4115722e create socket.py
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
b26b4ddffa update stddevice 2022-08-24 14:58:09 +08:00
pikastech
ab32fd37ae fix stdlib.pyi macro 2022-08-24 13:26:06 +08:00
pikastech
d897af834c Merge branch 'master' of https://github.com/pikastech/pikascript 2022-08-24 13:08:18 +08:00
pikastech
04da2b93b6 supporting decorator to macro in pyi
update PikaObj.pyi

use @PIKA_C_MACRO_IF to cut sysobj
2022-08-24 13:01:11 +08:00
lyon
027f06710e add_files 2022-08-22 18:44:14 +08:00
lyon
567d0b19ce add_files 2022-08-22 16:58:26 +08:00
lyon
268c8433a1 add_files 2022-08-22 16:24:57 +08:00
李昂
c6ac2f0ee5 !94 CH582_v1.1.1_1661154664333
* update_toml
* add_files
2022-08-22 07:52:35 +00:00
李昂
2da1a6bbd3 !88 pika_lvgl_v0.1.0_1661153117975
* update_toml
* add_files
2022-08-22 07:26:48 +00:00
pikastech
7e15e5e202 support __add__() for list 2022-08-16 17:40:11 +08:00
pikastech
1152ed91de format stddata 2022-08-16 12:24:26 +08:00
pikastech
d01ca77a51 support *var in py function 2022-08-16 12:21:11 +08:00
pikastech
77e291101f improve ABSTRACT_METHOD error info. 2022-08-16 11:05:19 +08:00
pikastech
76ce590713 fix typo 2022-08-14 23:58:24 +08:00
pikastech
8fff0950a0 add comments to PikaStdDevice 2022-08-14 23:55:24 +08:00
lyon
addc7160e1 update pikacv pyi 2022-08-14 10:55:18 +08:00
lyon
fdb8b66a15 updte pikapizero pyi 2022-08-14 10:34:23 +08:00
pikastech
7d01af7b90 support auto connect lines begin with fun(...
fix valgrind
2022-08-12 23:59:32 +08:00
pikastech
5b2febdbe0 rm noused _unittest.pyi 2022-08-11 19:27:31 +08:00
pikastech
cd6dfbbb71 unittest can run 2022-08-11 19:21:53 +08:00
pikastech
f180a15343 support %s and %r for any type arg 2022-08-11 18:32:53 +08:00
pikastech
bb54c2e719 support setattr and getattr
run tests() in cases is ok
2022-08-11 17:39:38 +08:00
pikastech
ac97532a7a support exec() builtin 2022-08-10 12:07:32 +08:00
pikastech
e0eee73209 support dir() builtin, fix str disp in list... 2022-08-10 11:49:54 +08:00
pikastech
751f61a656 use 'is' and 'in' and 'assert' in unittest
update unittest
2022-08-09 18:37:24 +08:00
pikastech
e1518e4b8f update lvgl to v1.10.0 2022-08-07 13:09:27 +08:00
pikastech
e61e4716ac add examples for unittest 2022-08-06 23:26:04 +08:00
pikastech
b34804697c fix pkg-update 2022-08-06 22:32:26 +08:00
pikastech
e8a2d43521 add unittest.c 2022-08-06 21:19:23 +08:00
pikastech
69b3fddc24 add unittest module
add _unittest.pyi

support _xxxx.pyi
2022-08-06 21:02:29 +08:00
pikastech
57d89e256f support try_expect for open 2022-08-06 17:59:32 +08:00
李昂
1e2529ae9b
update package/pikaRTThread/pikaRTThread.pyi. 2022-08-06 07:19:22 +00:00
李昂
9d7b155af3
fit for v1.10 2022-08-05 06:27:21 +00:00
pikastech
525f08e088 fix for in dict 2022-08-02 13:52:20 +08:00
pikastech
5a4deb5fc9 fix List to list 2022-08-01 00:19:53 +08:00
pikastech
4899884747 use u32 for mem info
add speed by using register in for-loop

fix ci_benchmark
2022-07-31 11:14:49 +08:00
pikastech
a40f68e9b2 use more inline in PikaVM
use static refcnt in PikaObj

use static _clsptr
2022-07-30 21:26:46 +08:00
pikastech
117096a764 correct the sort of fun dec in .h
fix .h and .pyi

update PikaMath

update pika_cjson
2022-07-30 18:56:20 +08:00
pikastech
1d7bcf2a39 use __getitem__ __setitem__ instead of __get__ __set__ 2022-07-29 23:40:16 +08:00
pikastech
d67d8a0d92 move sleep() to top of PikaStdDevice.Time() 2022-07-29 09:04:31 +08:00
pikastech
878f425a5f fix sleep() in windows 2022-07-28 18:52:56 +08:00
pikastech
decc25228b support sleep in linux/windows 2022-07-28 18:23:25 +08:00
pikastech
9493db3d7c add test file 2022-07-26 10:49:20 +08:00
purewind7
5cc9b48966 add annotation in check function 2022-07-23 23:22:26 +08:00
purewind7
121ad21697 Add check size and format func in PikaCV 2022-07-23 23:22:26 +08:00
李昂
3119a938da
fix UART write not work 2022-07-23 04:12:40 +00:00
pikastech
8cc5a5a844 install valgrind in CI, fix valgrind err in CV 2022-07-21 21:51:48 +08:00
pikastech
4eff1e69d5 use alloc instead of VLA to support MSVC in PikaCV
markdown the mem err in PikaCV_test10.py
2022-07-21 14:06:03 +08:00