63 Commits

Author SHA1 Message Date
lyon
2344903b89 update PikaStdDevice to port/linux
use unused as defult enum
2022-11-21 17:02:18 +08:00
lyon
58ff9fe166 add_files 2022-11-21 14:10:05 +08:00
lyon
b7112610bb add_files 2022-11-21 02:03:01 +08:00
lyon
2ad9caacc9 add test for hal, use table_map for hal 2022-11-20 23:55:03 +08:00
pikastech
fa374c72da adding pika_hal 2022-11-20 22:16:41 +08:00
pikastech
d63d50a322 use pika_float to support switch for float/double
update pre-comp

update pre-win
2022-09-28 11:54:10 +08:00
pikastech
f09ea25237 add version check for socket and stddevice 2022-08-26 20:05:20 +08:00
pikastech
5f75d370dd update stddevice 2022-08-26 19:41:25 +08:00
pikastech
b26b4ddffa update stddevice 2022-08-24 14:58:09 +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
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
9d087a934b fix ci error 2022-07-01 23:10:51 +08:00
Lyon
a9370691d2 fix image size overflow for g030 2022-07-01 22:55:29 +08:00
pikastech
9dac9149ea fix pika_event_listener 2022-06-17 15:18:42 +08:00
pikastech
b10faacfec remove no used file 2022-06-17 14:39:35 +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
李昂
e88cf95105
fix type conflic on rt-thread 2022-06-16 01:22:13 +00:00
pikastech
822fb48b11 fix __init__ report err in StdDevice.Time() 2022-06-16 00:09:41 +08:00
pikastech
5d00dcf260 add config for PikaStdDevice_Time 2022-06-15 23:59:32 +08:00
李昂
5148412411 !24 support double in C Module
* Merge branch 'master' into dev
* fix float->double for bytecodegen
* update to /package
* Use double in C for float in python
2022-06-13 10:02:59 +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
pikastech
bbd9a906ce update PikaStdDevice in /package 2022-06-04 15:20:59 +08:00
lyon
a7613dd097 fix readBytes memory error 2022-05-24 15:26:12 +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
lyon
d5f308117a add '#api' for each package/*.py 2022-04-26 21:38:15 +08:00
lyon1998
7826f74c83 fix spi.phase set api 2022-04-15 15:10:25 +08:00
lyon1998
faea89a2df can.addfilter need override 2022-04-15 14:54:00 +08:00
lyon1998
69eee43c81 set addFilter as override 2022-04-15 14:53:25 +08:00
lyon1998
da538a1a22 add CAN for std device 2022-04-15 14:50:27 +08:00
lyon1998
4a70db1465 add default val in __init__ for SPI 2022-04-14 23:31:47 +08:00
lyon1998
7b92fe30a7 fix make.sh 2022-04-14 23:19:55 +08:00
lyon1998
29d9760256 add SPI to stddevice 2022-04-14 23:13:17 +08:00
lyon1998
5baa725885 update PikaStdDevice, use 'self' arg 2022-04-07 22:57:59 +08:00
lyon1998
a512ab3e4c use runNativeMethod to speed up stddevice 2022-03-19 09:53:48 +08:00
lyon1998
5ca10f95a3 restore pikaStdDevice 2022-03-19 09:49:19 +08:00
lyon1998
5bf555a51e use runNativeMethod to speed up 2022-03-19 09:44:53 +08:00
lyon
1878ea884f add disable api for adc iic pwm and uart in std device 2022-03-07 14:58:21 +08:00
lyon
589b6d938e add api for stddevice.PWM and support rtDevice_PWM 2022-02-28 19:44:38 +08:00
lyon
17cc05c42c update StdDevice and pikaRTDevice 2022-02-26 14:40:56 +08:00
Lyon
4c0f326718
Update PikaStdDevice_GPIO.c 2022-01-11 09:39:35 +08:00
pikastech
0bb5bb5ffb rm *.o 2021-12-11 19:30:43 +08:00