pikastech
5b2febdbe0
rm noused _unittest.pyi
2022-08-11 19:27:31 +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
ac97532a7a
support exec()
builtin
2022-08-10 12:07:32 +08:00
pikastech
e0eee73209
support dir()
builtin, fix str disp in list...
2022-08-10 11:49:54 +08:00
pikastech
751f61a656
use 'is' and 'in' and 'assert' in unittest
...
update unittest
2022-08-09 18:37:24 +08:00
pikastech
e1518e4b8f
update lvgl to v1.10.0
2022-08-07 13:09:27 +08:00
pikastech
e61e4716ac
add examples for unittest
2022-08-06 23:26:04 +08:00
pikastech
b34804697c
fix pkg-update
2022-08-06 22:32:26 +08:00
pikastech
e8a2d43521
add unittest.c
2022-08-06 21:19:23 +08:00
pikastech
69b3fddc24
add unittest module
...
add _unittest.pyi
support _xxxx.pyi
2022-08-06 21:02:29 +08:00
pikastech
57d89e256f
support try_expect for open
2022-08-06 17:59:32 +08:00
李昂
1e2529ae9b
update package/pikaRTThread/pikaRTThread.pyi.
2022-08-06 07:19:22 +00:00
李昂
9d7b155af3
fit for v1.10
2022-08-05 06:27:21 +00:00
pikastech
525f08e088
fix for in dict
2022-08-02 13:52:20 +08:00
pikastech
5a4deb5fc9
fix List to list
2022-08-01 00:19:53 +08:00
pikastech
4899884747
use u32 for mem info
...
add speed by using register in for-loop
fix ci_benchmark
2022-07-31 11:14:49 +08:00
pikastech
a40f68e9b2
use more inline in PikaVM
...
use static refcnt in PikaObj
use static _clsptr
2022-07-30 21:26:46 +08:00
pikastech
117096a764
correct the sort of fun dec in .h
...
fix .h and .pyi
update PikaMath
update pika_cjson
2022-07-30 18:56:20 +08:00
pikastech
1d7bcf2a39
use __getitem__ __setitem__ instead of __get__ __set__
2022-07-29 23:40:16 +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
9493db3d7c
add test file
2022-07-26 10:49:20 +08:00
purewind7
5cc9b48966
add annotation in check function
2022-07-23 23:22:26 +08:00
purewind7
121ad21697
Add check size and format func in PikaCV
2022-07-23 23:22:26 +08:00
李昂
3119a938da
fix UART write not work
2022-07-23 04:12:40 +00:00
pikastech
8cc5a5a844
install valgrind in CI, fix valgrind err in CV
2022-07-21 21:51:48 +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
d3a9f6e226
rename pika_configparser to configparser
2022-07-20 22:06:23 +08:00
pikastech
2da2f124cf
release configparser.py
2022-07-20 21:54:54 +08:00
pikastech
bf2091c3d1
update PikaMath
2022-07-20 21:33:11 +08:00
purewind7
509159ecca
Add adaptive threshold
2022-07-20 07:00:01 +00:00
purewind7
08aad5aac0
Add median filter
2022-07-20 07:00:01 +00:00
purewind7
ec8611260e
Add class filter and meanfilter method in PikaCV
2022-07-20 07:00:01 +00:00
pikastech
de10086338
add arg_new<T> api
...
update version
2022-07-20 10:34:50 +08:00
purewind7
eb4b72a1a7
Add resize and OTSU in PikaCV ,fix threshold
2022-07-19 18:04:38 +08:00
pikastech
4ca4c4ac52
update version
2022-07-18 15:46:35 +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
126b661af3
split, merge test ok
2022-07-15 07:17:33 +00:00
pikastech
423d01a43d
push configparsert to package
2022-07-15 12:13:50 +08:00
pikastech
f019b5ca79
hex(0) return '0x00'
2022-07-15 10:47:24 +08:00
pikastech
dddd6f7367
add const to PikaParser
2022-07-15 10:30:38 +08:00
李昂
45a07c5773
!58 Support read() builtin
...
* support read(-1)
* add example
2022-07-15 02:06:23 +00:00
pikastech
9944537282
push pikamath to package
2022-07-14 18:00:31 +08:00
pikastech
01ed312fdf
fix RGB565 to RBG888
2022-07-14 17:49:19 +08:00
pikastech
18e15559b7
fix rgb565 chanel err
2022-07-14 17:33:30 +08:00
李昂
e7e501ab73
!56 Support tuple literal
...
* Merge branch 'master' into tuple
* sue SyntaxItemList
* cut the parser
* update preCompiler
* not use tiny_obj in stdlib
* use BUILTIN_STRUCT_ENABLE for list, dict, tuple
* add PikaStdData.Tuple()
* !51 Support bind .pyi from other *.py expect main.py
* fix overflow issue
* fix overflow issue and simplification code
* update PikaCV_Image.c.
2022-07-14 08:36:02 +00:00