152 Commits

Author SHA1 Message Date
李昂
8c9dcfb618
add examples/Device/UART_CALLBACK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-23 12:20:36 +00:00
李昂
6c1d9ebc81
update examples/Device/GPIO_CALLBCK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-23 11:21:21 +00:00
李昂
537958d1c4
add examples/Device/GPIO_CALLBCK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-22 13:18:13 +00:00
dreamcmi
a8bd50cfae hmac compatible cpython input parameters 2022-12-18 15:40:37 +08:00
dreamcmi
2491fa71b2 fix hmac method 2022-12-16 21:38:49 +08:00
codercmd
ff4075479d
add examples/Device/KEY_POLL.PY.
Signed-off-by: codercmd <codercmd@qq.com>
2022-12-16 10:15:34 +00:00
dreamcmi
318021c05d add base64 lib 2022-12-14 14:33:52 +08:00
lyon
c67a894fc2 update requests to package 2022-12-11 19:08:52 +08:00
lyon
0f51072065 Merge branch 'master' into request-support 2022-12-10 15:28:34 +08:00
dreamcmi
fa157f549c add aes 2022-11-25 01:30:41 +08:00
lyon
3b8887b45f fix never stop, webclient base test need fix 2022-11-24 00:28:04 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
lyon
0f070e7a12 use test.mosquitto.org as mqtt test server 2022-11-20 11:56:52 +08:00
FlintJ
f74e2bad48 add mqtt connect/disconnect 2022-11-19 23:41:00 +08:00
lyon
db381cb9f5 fix mqtt_init.py for test, fix _del_ mem lack. 2022-11-18 23:38:49 +08:00
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
lyon
9294c45feb support sendSignalAwaitResult 2022-11-05 13:20:23 +08:00
李昂
2178fd1586 add #!pika for lvgl example 2022-10-21 23:00:01 +08:00
pikastech
729ce8a497 add test for WriteRegister 2022-09-19 14:38:12 +08:00
pikastech
600950381e modebus rtu_master test ok 2022-09-19 13:27:20 +08:00
pikastech
7ae95663f6 support multy assign, use $l[x] instead of _l[x] 2022-09-09 10:16:15 +08:00
pikastech
e85639a1e9 fix valgrind in check CLS
add pikann
2022-09-08 22:33:23 +08:00
pikastech
d5ab75af41 fix some wars, fix mem leak, add unit test 2022-09-05 22:30:28 +08:00
pikastech
af26aace9d use method from str and bytes directly 2022-09-05 20:40:19 +08:00
pikastech
d85fed9260 add default arg in example 2022-09-03 10:15:31 +08:00
李昂
0e1a2d3249 !110 support default pars for py function
* var_default_vars test ok
* default with input is ok
* use self.val in CallBack/test2.py
* vm ...
2022-09-02 16:16:31 +00:00
李昂
55801b28f5 !109 default
* add callback test
* def test(a=1, b='test') for default is ok
* getNodeAttr
2022-09-02 11:25:32 +00:00
pikastech
4827c6d031 add example function.py 2022-09-02 09:22:39 +08:00
pikastech
718b11d482 support try except in cmodule
not use try_top or try_inner

try dict nofound and try len is tested ok
2022-08-30 15:37:09 +08:00
pikastech
8404d5a305 support '//' transfer to '/' 2022-08-29 18:09:45 +08:00
pikastech
f76e456ea0 add test, examples for re, fix some mem leak 2022-08-29 16:29:03 +08:00
pikastech
eac4b77272 rm init() 2022-08-29 11:03:04 +08:00
pikastech
6726169ad9 serilized to api
use mask in arg for serilized

support isKeyword flag for arg
2022-08-28 19:25:03 +08:00
李昂
78aba92e01
update examples/socket/server_client.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-08-28 06:54:13 +00:00
pikastech
7244267b68 test socket ok 2022-08-26 17:25:45 +08:00
pikastech
ecaf7ed0e9 add __platform for socket, add override 2022-08-26 16:40:12 +08:00
pikastech
a1b3347e5b support [\n ...] and {\n ...} 2022-08-13 00:08:21 +08:00
pikastech
878138329f rm old UnitTest 2022-08-11 19:24:05 +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
e1518e4b8f update lvgl to v1.10.0 2022-08-07 13:09:27 +08:00
pikastech
63b3ef11d4 fix push script 2022-08-06 23:29:14 +08:00
pikastech
e61e4716ac add examples for unittest 2022-08-06 23:26:04 +08:00
pikastech
57d89e256f support try_expect for open 2022-08-06 17:59:32 +08:00
pikastech
e393d33db7 fix Quaternion_test.py 2022-08-01 00:16:23 +08:00
pikastech
9493db3d7c add test file 2022-07-26 10:49:20 +08:00
pikastech
fb1e4e7237 add bigfile test 2022-07-26 10:42:02 +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
pikastech
d3778f05e8 fix .py file update 2022-07-20 22:02:46 +08:00