829 Commits

Author SHA1 Message Date
lyon
2077880671 fix modbus err 2023-02-23 15:52:44 +08:00
lyon
6c6be65db6 support add and build 2023-02-22 21:59:28 +08:00
李昂
c795887d02
fix sprintf dependency for cJson
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-20 08:21:59 +00:00
lyon
85d989028e support bool type 2023-02-18 16:35:03 +08:00
李昂
e2ecd2cd69
add package/BLMCU/BLMCU.pyi.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-17 06:18:41 +00:00
李昂
f7ae51b1db
删除文件 package/BLMCU/.keep 2023-02-17 06:18:20 +00:00
李昂
a27a4c1a69
add package/BLMCU/ pika_hal_BLMCU_GPIO.c.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-17 06:18:10 +00:00
李昂
33cc8fdadd
新建 BLMCU 2023-02-17 06:17:22 +00:00
李昂
be7b05d9ee
update package/time/_time.c.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-16 07:01:42 +00:00
lyon
6eb79f9b81 update unittest 2023-02-15 11:31:36 +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
4fb1fd3ed4 fix _thread on freertos|esp32c3
fix Nano mode
2023-02-13 22:24:30 +08:00
lyon
de63c2781c update _thread 2023-02-13 20:00:51 +08:00
lyon
0d27c99cdc update _time for GIL 2023-02-13 19:55:56 +08:00
lyon
6898f52a71 add GIL for socket 2023-02-13 19:54:16 +08:00
dreamcmi
76d2980dc4 remove socket debug printf 2023-02-12 21:44:18 +08:00
dreamcmi
cad688a7ee socket recv length fix to actual length 2023-02-12 21:42:30 +08:00
dreamcmi
8a21ba98d1 add socket.setblocking method 2023-02-12 20:44:40 +08:00
lyon
531dced423 use pikafs_fxxx API 2023-02-12 11:12:28 +08:00
pikastech
b09cae79d3 raise when list out of index, fix 'for except brea' 2023-02-11 14:44:11 +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
91f9d74082 fix read too many bytes from uart.readBytes() 2023-02-03 17:11:47 +08:00
lyon
15c1c01942 fix CI 2023-02-02 12:12:09 +08:00
lyon
e55c9a6a17 fix platform_thread_mutex, update time 2023-02-02 00:12:21 +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
20bfc6a681 more thread support 2023-02-01 13:31:30 +08:00
lyon
0752afac79 add _thread module 2023-02-01 13:15:15 +08:00
lyon
d7fedffdc5 renmae platform_timer to thread_timer 2023-01-31 23:38:55 +08:00
lyon
eb519fb78e fix ac5 warnning 2023-01-29 12:11:43 +08:00
lyon
918464a856 add_files 2023-01-27 23:03:01 +08:00
lyon
4c553fdb3e use new WIFI hal framework 2023-01-27 22:47:48 +08:00
lyon
8202a1ab52 add_files 2023-01-26 16:01:44 +08:00
lyon
2eee6e6d43 update package 2023-01-26 15:59:19 +08:00
lyon
897a7eba0b fix str() for bytes 2023-01-26 15:58:58 +08:00
lyon
00af6c4380 update 2023-01-25 14:14:05 +08:00
lyon
9b82685e4d check faild on network
fix pos to kw when no enough pos

ifconfig test ok
2023-01-25 14:13:09 +08:00
lyon
262bc09f1e test wifi sacn on linux 2023-01-25 00:25:18 +08:00
lyon
ecd12f75a1 network from hal OK 2023-01-24 23:40:41 +08:00
lyon
835574e687 add wifi.state enum 2023-01-24 21:10:06 +08:00
lyon
012022dea4 add network module, add WIFI hal 2023-01-24 21:00:02 +08:00
lyon
cba8f7ec44 use type(d) == <type> in json.py 2023-01-24 00:20:43 +08:00
lyon
410f0a0093 support type() for list and dict 2023-01-23 23:59:15 +08:00
lyon
065faab243 support str(type()) again 2023-01-23 23:53:40 +08:00
lyon
e50d75addb use arg_toString to get arg<str> 2023-01-23 23:53:40 +08:00
lyon
63cc3434ee ready to merge arg_singlePrint and _print_arg 2023-01-23 23:53:40 +08:00
lyon
68fac66530 fix fn and arg scope, support type() for basic arg 2023-01-23 23:53:40 +08:00
lyon
e2a9489a87 fix tim no found 2023-01-22 23:25:20 +08:00
lyon
d77e7f3f2d add filter for dir() 2023-01-22 23:16:38 +08:00
lyon
fd910ea086 support split_str 2023-01-21 19:29:35 +08:00