81 Commits

Author SHA1 Message Date
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
lyon
363238987e support fn and class def on bytecode
update version, fix warning
2022-11-15 14:57:51 +08:00
lyon
3837c3aafd use requests.pyi
requests.get() method ok

test requests.get passed
2022-11-13 19:15:14 +08:00
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
pikastech
04a174a7d3 fix <errno.h> for requests 2022-11-12 15:49:50 +08:00
pikastech
a67a71f944 support linux/freertos/weak for mqtt platform 2022-11-12 15:20:51 +08:00
pikastech
6844b686b3 arrange thread and time delay 2022-11-12 14:02:43 +08:00
pikastech
a762713359 use PikaPlatform_socket.c to hold socket depend 2022-11-12 13:55:15 +08:00
lyon
8c96721a55 compile mqtt module passed on linux
mqttclient compile pass, log and ssl config off
2022-11-12 00:36:28 +08:00
lyon
66da5271ec more __platform_api in requests module 2022-11-10 17:06:54 +08:00
lyon
39c44e20a8 add requests module, add rtt adapter 2022-11-10 16:55:14 +08:00
pikastech
a97212a5b3 support bytes add bytes 2022-11-09 16:42:09 +08:00
lyon
0705e4d9f6 add fatfs
add pika_posixfs
2022-10-22 20:03:25 +08:00
pikastech
c5ccb1bf4f support multiline define for pre-compiler 2022-09-30 15:44:36 +08:00
pikastech
04ae205e74 uptimize for big arg, not ok 2022-09-29 14:50:43 +08:00
pikastech
459da8ab5b support '__getattribute__()'
support `__getattr__()`

disable proxy for PIKA_NANO_ENABLE

fix typo

support `__setattr__()`

proxy for cmodule is ok
2022-09-23 16:34:14 +08:00
pikastech
f2e184aa81 support list(str) 2022-09-19 09:53:27 +08:00
pikastech
fc9562ccd6 add modbus module
add aglie_mmodbus

add agile_modbus and LICENSE

fix warning

add serialize deserialize API
2022-09-18 23:42:10 +08:00
pikastech
b4321d3a5c fix err when arg.type or arg.flag both u8 2022-09-16 14:27:10 +08:00
pikastech
25bd3a9294 support def test(a:int64)-> int64: 2022-09-14 12:30:23 +08:00
pikastech
7f193cec04 support dict.items() 2022-09-11 00:51:17 +08:00
pikastech
c70947aa6e cut VM for nano mode 2022-09-10 23:16:59 +08:00
pikastech
e85639a1e9 fix valgrind in check CLS
add pikann
2022-09-08 22:33:23 +08:00
pikastech
27ebfb049f support input None to object 2022-09-07 14:25:25 +08:00
pikastech
af26aace9d use method from str and bytes directly 2022-09-05 20:40:19 +08:00
pikastech
a563f7947c add arg_newObj api 2022-09-05 17:43:17 +08:00
pikastech
45c70ffe79 support __contains__ for dict 2022-09-05 15:39:15 +08:00
pikastech
cfbc2d98f9 fix cre.c:310:3: error: a label can only be part of a statement and a declaration is not a statement 2022-08-29 16:58:01 +08:00
pikastech
f76e456ea0 add test, examples for re, fix some mem leak 2022-08-29 16:29:03 +08:00
pikastech
3d97469e25 add platform_h for socket.c 2022-08-26 17:55:17 +08:00
pikastech
7244267b68 test socket ok 2022-08-26 17:25:45 +08:00
pikastech
ecaf7ed0e9 add __platform for socket, add override 2022-08-26 16:40:12 +08:00
pikastech
2a4115722e create socket.py
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
5354708450 use hash instead of itoa in list and queue 2022-08-17 10:29:54 +08:00
pikastech
d01ca77a51 support *var in py function 2022-08-16 12:21:11 +08:00
pikastech
bb54c2e719 support setattr and getattr
run tests() in cases is ok
2022-08-11 17:39:38 +08:00
pikastech
bfebd7500e add clang_format settings for vsc 2022-08-11 16:26:14 +08:00
lyon
019a3c9b58 rm setting.json 2022-04-27 23:38:47 +08:00
lyon
7f70e2a9df import type() 2022-04-27 23:38:00 +08:00
lyon1998
be4caeee45 add other ctypes_type, add c_float 2022-04-18 14:16:55 +08:00
lyon1998
a2bbe2ef5e add ctypes_utils to supply method for ctypes 2022-04-17 22:54:07 +08:00
lyon1998
2c4ec18e06 fix preCompiler for snake case 2022-04-16 11:38:24 +08:00
lyon1998
32cc9d20bd add ctypes package 2022-04-16 00:02:41 +08:00
lyon1998
da538a1a22 add CAN for std device 2022-04-15 14:50:27 +08:00
lyon1998
29d9760256 add SPI to stddevice 2022-04-14 23:13:17 +08:00
lyon1998
52e69f45a7 support built-in list and dict 2022-04-13 12:03:10 +08:00
lyon1998
85f5265f98 need method for token as unit 2022-04-02 01:54:29 +08:00
lyon1998
b46e795b4e release v1.5.4 2022-03-30 20:15:26 +08:00
lyon1998
5154dd5e65 use PIKA_OPTIMIZE == to config OPTIMIZE 2022-03-30 20:12:39 +08:00