244 Commits

Author SHA1 Message Date
lyon1998
b015af566d update ctypes Test input to bytes 2022-04-19 18:30:24 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
7362ba0d4b add print_rcv to test Mem arg 2022-04-18 18:44:14 +08:00
lyon1998
034fb16ea1 fix ctypes.py 2022-04-18 18:30:24 +08:00
lyon1998
5bbb1ba948 only compile once 2022-04-18 18:05:34 +08:00
lyon1998
386b2c5d74 add c_void_p 2022-04-18 14:21:04 +08:00
lyon1998
be4caeee45 add other ctypes_type, add c_float 2022-04-18 14:16:55 +08:00
lyon1998
bf50bde599 support setMem, getMem, getMemSize for ctypes 2022-04-18 12:13:10 +08:00
lyon1998
933fad80c5 test for args_mem ok 2022-04-18 11:45:59 +08:00
lyon1998
13afcd2ef6 clear pikaobj.h old api, add ctypesUtils_mem api 2022-04-17 23:02:13 +08:00
lyon1998
7d730006e4 use ctypeUtils in ctype method 2022-04-17 22:56:21 +08:00
lyon1998
a2bbe2ef5e add ctypes_utils to supply method for ctypes 2022-04-17 22:54:07 +08:00
lyon1998
6c0e7e78c9 set other type all to PikaObj* 2022-04-16 14:16:12 +08:00
lyon1998
2c4ec18e06 fix preCompiler for snake case 2022-04-16 11:38:24 +08:00
lyon1998
d13528c4b7 add pointer in pikaObj.py 2022-04-16 11:12:41 +08:00
lyon1998
32cc9d20bd add ctypes package 2022-04-16 00:02:41 +08:00
lyon1998
6ea1c8f883 format stdtask.c 2022-04-15 16:25:03 +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
f6f38bdb73 fix typo of list_enable and dict_enable 2022-04-14 16:37:34 +08:00
lyon1998
45a364aa3d built-in dict is enabled by default 2022-04-14 16:12:18 +08:00
lyon1998
eae58359f1 set enable builtin list as default 2022-04-14 15:58:24 +08:00
lyon1998
920bd7a16a fix parser 2022-04-14 15:12:57 +08:00
lyon1998
52e69f45a7 support built-in list and dict 2022-04-13 12:03:10 +08:00
lyon1998
ef5a3fac13 release v1.2.0 for pikaRTThread 2022-04-11 18:40:52 +08:00
lyon1998
757f00893a support len() for string, support int() for string 2022-04-09 01:15:21 +08:00
lyon1998
d6b2faf96d can run 'pyton3 main.py' 2022-04-07 23:11:28 +08:00
lyon1998
d85f62f3aa update main.py 2022-04-07 23:06:04 +08:00
lyon1998
cc6cb8afcc update StdDevice, use 'self' arg 2022-04-07 23:01:59 +08:00
lyon1998
d18bc16aae use 'self' in stddata 2022-04-07 22:59:57 +08:00
lyon1998
5baa725885 update PikaStdDevice, use 'self' arg 2022-04-07 22:57:59 +08:00
lyon1998
23a9687898 add PikaStdDevice to port/linux 2022-04-07 13:32:53 +08:00
lyon1998
5429ae18b5 support self in msc 2022-04-07 09:19:14 +08:00
lyon1998
d4ead82c98 update pikaStdDevice to prot from package 2022-04-07 09:06:38 +08:00
lyon1998
2c29722f69 PikaStdData.String('test') is ok 2022-04-04 13:52:00 +08:00
lyon1998
f05931d320 check inpput arg num when call function 2022-04-02 16:30:36 +08:00
lyon1998
dc42b5bc4d solving unused stack args 2022-03-31 20:32:33 +08:00
lyon1998
26942923bf use static stack instead of link stack 2022-03-30 00:27:04 +08:00
lyon1998
6e7ffdade1 still faild in pikaMain class_def test 2022-03-29 18:02:55 +08:00
lyon1998
aecfe9bb09 add newline in _List.c 2022-03-25 21:20:15 +08:00
lyon1998
dae8f38d23 add ByteArray to StdData 2022-03-25 21:18:54 +08:00
lyon1998
8195d1f0f2 use PIKA_PYTHON_BEGIN before PIKA_PYTHON 2022-03-24 12:09:34 +08:00
lyon1998
156c842381 use more PIKA_PYTHON macro 2022-03-24 11:48:17 +08:00
lyon1998
d384352c2c use PIKA_PYTHON macro instead of comment 2022-03-24 11:46:27 +08:00
lyon1998
4a4d880a9f not import stddevice in port/linux 2022-03-20 08:52:00 +08:00