22 Commits

Author SHA1 Message Date
lyon
8021938826 redirect PikaStdDevice.Time to time, fix msc 2023-01-10 11:41:21 +08:00
lyon
1610574158 error when import pyi from pyi, and imported def fn 2023-01-09 21:56:45 +08:00
lyon
79df1cf1cc move PikaStdDevice.Time to time 2023-01-09 20:35:22 +08:00
lyon
e62072fe0b add close() for std 2022-12-28 06:41:36 +08:00
lyon
256319e035 update port linux std
fix baseDev.addEventCallBack

use setCallBack in std

update std

support flow control for uart

add flowcontrol API for std.uart
2022-12-23 18:43:08 +08:00
lyon
cfef8564f5 fix stddevice 2022-12-07 19:25:28 +08:00
lyon
5b65933398 fix comment for stddevice 2022-12-07 18:24:00 +08:00
pikastech
34ad50ffe8 fix macro in stddevice 2022-08-24 13:18:38 +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
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
pikastech
d67d8a0d92 move sleep() to top of PikaStdDevice.Time() 2022-07-29 09:04:31 +08:00
pikastech
decc25228b support sleep in linux/windows 2022-07-28 18:23:25 +08:00
李昂
b0840b9869 !30 add pks_eventLister and support event signal
* format
* use inner_bytecode instead of obj_run
* add asserts for event-test
* test event for PikaStdDevice is ok
* adding event fealure
* fetch PikaStdDevice_Time to port linux
2022-06-17 05:22:47 +00:00
pikastech
905c33e131 support platformGetTick for Time() 2022-06-04 16:28:36 +08:00
pikastech
9c8b08789d push PikaStdDevice to package 2022-06-04 15:33:58 +08:00
onceday
130deafa01 support unix-time and utc-time with gmtime,localtime,mktime,asctime,ctime,time and so on. 2022-06-04 14:30:15 +08:00
lyon
5498f4fa17 create TemplateDevice package 2022-05-24 13:56:35 +08:00
lyon
d071361c74 add set/writeBytes for StdDevice, compile passed 2022-05-23 17:10:37 +08:00
lyon
f826f42295 adding writebytes and readbytes to stddevice 2022-05-23 16:54:56 +08:00
lyon
27a7cdce88 try to add read/writeBytes, not ok yeat 2022-05-23 16:03:05 +08:00
lyon
8df290da3f use pyi instaed of py for C moudle 2022-04-28 11:47:37 +08:00