李昂
2178fd1586
add #!pika for lvgl example
2022-10-21 23:00:01 +08:00
pikastech
729ce8a497
add test for WriteRegister
2022-09-19 14:38:12 +08:00
pikastech
600950381e
modebus rtu_master test ok
2022-09-19 13:27:20 +08:00
pikastech
7ae95663f6
support multy assign, use $l[x] instead of _l[x]
2022-09-09 10:16:15 +08:00
pikastech
e85639a1e9
fix valgrind in check CLS
...
add pikann
2022-09-08 22:33:23 +08:00
pikastech
d5ab75af41
fix some wars, fix mem leak, add unit test
2022-09-05 22:30:28 +08:00
pikastech
af26aace9d
use method from str
and bytes
directly
2022-09-05 20:40:19 +08:00
pikastech
d85fed9260
add default arg in example
2022-09-03 10:15:31 +08:00
李昂
0e1a2d3249
!110 support default pars for py function
...
* var_default_vars test ok
* default with input is ok
* use self.val in CallBack/test2.py
* vm ...
2022-09-02 16:16:31 +00:00
李昂
55801b28f5
!109 default
...
* add callback test
* def test(a=1, b='test') for default is ok
* getNodeAttr
2022-09-02 11:25:32 +00:00
pikastech
4827c6d031
add example function.py
2022-09-02 09:22:39 +08:00
pikastech
718b11d482
support try except in cmodule
...
not use try_top or try_inner
try dict nofound and try len is tested ok
2022-08-30 15:37:09 +08:00
pikastech
8404d5a305
support '//' transfer to '/'
2022-08-29 18:09:45 +08:00
pikastech
f76e456ea0
add test, examples for re, fix some mem leak
2022-08-29 16:29:03 +08:00
pikastech
eac4b77272
rm init()
2022-08-29 11:03:04 +08:00
pikastech
6726169ad9
serilized to api
...
use mask in arg for serilized
support isKeyword flag for arg
2022-08-28 19:25:03 +08:00
李昂
78aba92e01
update examples/socket/server_client.py.
...
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-08-28 06:54:13 +00: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
a1b3347e5b
support [\n ...] and {\n ...}
2022-08-13 00:08:21 +08:00
pikastech
878138329f
rm old UnitTest
2022-08-11 19:24:05 +08:00
pikastech
cd6dfbbb71
unittest can run
2022-08-11 19:21:53 +08:00
pikastech
f180a15343
support %s and %r for any type arg
2022-08-11 18:32:53 +08:00
pikastech
bb54c2e719
support setattr
and getattr
...
run tests() in cases is ok
2022-08-11 17:39:38 +08:00
pikastech
e1518e4b8f
update lvgl to v1.10.0
2022-08-07 13:09:27 +08:00
pikastech
63b3ef11d4
fix push script
2022-08-06 23:29:14 +08:00
pikastech
e61e4716ac
add examples for unittest
2022-08-06 23:26:04 +08:00
pikastech
57d89e256f
support try_expect for open
2022-08-06 17:59:32 +08:00
pikastech
e393d33db7
fix Quaternion_test.py
2022-08-01 00:16:23 +08:00
pikastech
9493db3d7c
add test file
2022-07-26 10:49:20 +08:00
pikastech
fb1e4e7237
add bigfile test
2022-07-26 10:42:02 +08:00
pikastech
4eff1e69d5
use alloc instead of VLA to support MSVC in PikaCV
...
markdown the mem err in PikaCV_test10.py
2022-07-21 14:06:03 +08:00
pikastech
d3778f05e8
fix .py file update
2022-07-20 22:02:46 +08:00
pikastech
d9b296cee8
release configparser
2022-07-20 21:55:40 +08:00
pikastech
2da2f124cf
release configparser.py
2022-07-20 21:54:54 +08:00
pikastech
b6b09ead5c
update testfiles to examples
2022-07-20 21:39:58 +08:00
pikastech
15c0985d2e
add lseek() function
...
support readline(), readlines(), writelines() for FILEIO
2022-07-18 15:23:35 +08:00
李昂
d9349b7812
!61 Support seek() and tell() for FILEIO
...
* fix FILEIO.seek()
* return ftell in FILEIO.seek()
* fix test
* support seek() and tell() for FILEIO
2022-07-18 05:29:43 +00:00
pikastech
108dbebace
add examples to PikaCV
2022-07-15 18:10:37 +08:00
pikastech
554bd00302
write to test/out folder
2022-07-15 15:20:30 +08:00
李昂
45a07c5773
!58 Support read() builtin
...
* support read(-1)
* add example
2022-07-15 02:06:23 +00:00
pikastech
5b1534b0b2
add ctypes.py in example
2022-07-14 18:06:10 +08:00
pikastech
8f9950d4ae
support decode() and encode()
...
for PikaStdData.String() and PikaStdData.ByteArray()
use example/BuiltIn/encode_decode.py
fix CI
2022-07-14 12:02:38 +08:00
pikastech
8889671586
push binascii to package
2022-07-14 10:59:51 +08:00
pikastech
541dcc3cea
move configparser_test to example
...
fix config parser err when value contain '='
2022-07-12 15:12:37 +08:00
pikastech
b7964797f1
transfer to BMP is ok
2022-07-11 10:22:04 +08:00
pikastech
6d4ac36199
support class method
2022-07-08 18:00:46 +08:00
李昂
b463e812bf
!42 Support PikaCV, can read data from Jpeg and convert to rgb888/rgb565
...
* add pikaCV-test.cpp
* read(Image) and convert to RGB565 is tested ok
* transfer can return res, but not assert
* format tjpgd
* add test for PikaCV
* add assert for newContent
* restore assets
* restore PikaCV.pyi
* restore PikaCV
* restore uint16_t
* add jpeg_test.py
* move ADC, GPIO, RGB ... to Device
* add jd_decomp
* convert_JPEGtoREG888 is not ok
* connecting tjpegdec
* Converter.toRGB565() .toRGB888() .toGRay() eachother is ok
* support Gray
* add PikaCV_Image, PikaCV_ImageFormat
* add classes for PikaCV
* add PikaCV
2022-07-08 09:33:53 +00:00
Lyon
a9370691d2
fix image size overflow for g030
2022-07-01 22:55:29 +08:00
pikastech
43f11f26b6
add test
2022-07-01 09:37:09 +08:00