219 Commits

Author SHA1 Message Date
lyon
af319d7b4d add require test for pika_lua 2023-05-14 13:02:50 +08:00
lyon
67f015a628 add pika_lua 2023-05-14 10:43:02 +08:00
pikastech
c487912fc5 cancel GIL yiled between bc to avoid data race 2023-04-22 13:46:59 +08:00
pikastech
ce0999ec95 add test for modbus parse error 2023-04-22 13:46:59 +08:00
lyon
6d3d8b3658 support delay for eventloop 2023-04-21 01:06:02 +08:00
pikastech
70aabb81ad fix thread and eventloop for onec args 2023-04-20 19:26:04 +08:00
pikastech
9b140e90a3 add eventloop module, support get_tick for _time 2023-04-20 17:06:16 +08:00
pikastech
c488eaab7d update _thread pacakge 2023-04-15 11:34:17 +08:00
李昂
f7dbfa3344
update examples/bflb/example.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-04-06 12:16:58 +00:00
李昂
8139d0edbf
examples/bflb/example.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-04-02 13:47:25 +00:00
李昂
362eb6543d
新建 bflb 2023-04-02 13:46:53 +00:00
pikastech
fe3dff9b3d support obj_newTuple/List helper function 2023-03-30 16:28:42 +08:00
pikastech
06150d0133 fix os_split 2023-03-26 21:30:18 +08:00
pikastech
34dedcde2d add os_path support 2023-03-26 20:43:51 +08:00
pikastech
ee9d1e696a auto release packages form linux port 2023-03-15 16:20:59 +08:00
pikastech
a3b402ae36 add os module
fix color for GC DUMP

add os module and test

support ESP32
2023-03-15 03:20:25 +00:00
dreamcmi
4fb6ae1f37 Merge branch 'master' into add/iotcloud 2023-03-15 00:54:48 +08:00
lyon
1441c6dd61 fix new_pikaobj api 2023-03-08 21:14:19 +08:00
lyon
cfa3acba3b add more comments for modbus example 2023-03-03 00:24:04 +08:00
lyon
3df11749dd add thread.self test 2023-02-28 10:59:53 +08:00
pikastech
6d4b7a3eb7 enhance event ant thread
enhance _thread start
2023-02-26 17:04:58 +08:00
lyon
2077880671 fix modbus err 2023-02-23 15:52:44 +08:00
李昂
2551ac3fbe
update examples/_thread/test1.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-19 05:23:33 +00:00
lyon
de571a2662 add while_try_while
fix while_try_while vm err
2023-02-15 12:29:47 +08:00
lyon
6eb79f9b81 update unittest 2023-02-15 11:31:36 +08:00
lyon
e1fb488b29 add test for socket_json issue 2023-02-15 11:25:38 +08:00
lyon
2bb3b2fa4d update file 2023-02-14 21:04:41 +08:00
lyon
165cc7d041 fix thread and socket on freertos
use pikaMalloc/Free inner platform_thread()

socket multithread test passed on linux

update

improve fast_test.sh
2023-02-14 19:37:30 +08:00
lyon
994bb3bdc5 add weakref
add PikaUI test

test PikauI_core passed

save host_obj on methodArg

support save host_obj for method
2023-02-11 00:58:58 +08:00
lyon
cd0029b6d1 fix modbus panic when decode faild 2023-02-10 11:07:25 +08:00
lyon
73e056141b fix mem leak when exit thread
support tuple args for _thread.start_new_thread()

update _thread
2023-02-01 21:35:49 +08:00
lyon
94624f9a4a release netwrok 2023-01-25 19:28:57 +08:00
lyon
00af6c4380 update 2023-01-25 14:14:05 +08:00
lyon
262bc09f1e test wifi sacn on linux 2023-01-25 00:25:18 +08:00
lyon
cba8f7ec44 use type(d) == <type> in json.py 2023-01-24 00:20:43 +08:00
lyon
02d6151cac support json.dumps() 2023-01-21 17:17:28 +08:00
lyon
623547cf99 support json.loads() 2023-01-21 15:48:53 +08:00
lyon
f65697a423 update mqtt pkg 2022-12-27 23:25:03 +08:00
lyon
720f35c8b4 fix test 2022-12-27 22:55:37 +08:00
lyon
8a1add4a0a update mqtt pkg 2022-12-27 22:53:40 +08:00
FlintJ
52f21cbc3c Merge branch 'mqttdev' of https://gitee.com/lyon1998/pikascript into mqttdev 2022-12-27 17:02:45 +08:00
FlintJ
329efb5ced Mask C function printf and 2022-12-27 17:01:56 +08:00
lyon
83680dce51 Merge branch 'master' into mqttdev 2022-12-27 16:04:29 +08:00
FlintJ
a729147989 fixed the setVersion function and implement the disconnect callback function 2022-12-27 15:53:20 +08:00
李昂
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
dreamcmi
29401169c9 iotcloud adapts to the new upstream api 2022-12-23 15:50:29 +08:00
dreamcmi
3c61a38e6d Merge branch 'master' into add/iotcloud 2022-12-23 15:14:28 +08:00
dreamcmi
0235802497 Merge branch 'mqttdev' into add/iotcloud 2022-12-23 15:08:01 +08:00
李昂
537958d1c4
add examples/Device/GPIO_CALLBCK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-22 13:18:13 +00:00