884 Commits

Author SHA1 Message Date
lyon
602f7604a8 add_files 2023-04-09 17:05:39 +08:00
Lyon
ba2fb33249 Merge branch 'master' of https://gitee.com/lyon1998/pikapython 2023-04-08 12:31:33 +00:00
supperthomas
9c9093cf02
[rtt]pika entry fixed
fix the autorunning entry function.
2023-04-07 22:28:35 +08:00
lyon
7e4e5fbe35 add_files 2023-04-06 20:08:54 +08:00
lyon
90470be56f add_files 2023-04-02 21:44:25 +08:00
lyon
ae8afa2d51 add_files 2023-04-02 21:42:08 +08:00
pikastech
fe3dff9b3d support obj_newTuple/List helper function 2023-03-30 16:28:42 +08:00
pikastech
d2ae781a18 fix typo 2023-03-30 11:33:13 +08:00
pikastech
1faaacafb7 add STD_in/out ctrl on soft_iic 2023-03-30 11:21:12 +08:00
pikastech
5fdf6701e0 add SOFT_IIC.c
add hal_SOFT_IIC
2023-03-30 11:13:58 +08:00
lyon
553612bee2 add news 2023-03-27 17:09:56 +08:00
pikastech
06150d0133 fix os_split 2023-03-26 21:30:18 +08:00
pikastech
07db54e02e support assertNotIn for unittest 2023-03-26 20:49:10 +08:00
pikastech
34dedcde2d add os_path support 2023-03-26 20:43:51 +08:00
李昂
a6da7df186
update package/docgen.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-03-20 03:26:15 +00:00
pikabot
5575b49deb support cjson example 2023-03-20 11:22:15 +08:00
pikabot
e5697342ef fix docgen 2023-03-20 11:14:21 +08:00
pikabot
f40d63e250 add sub title 2023-03-20 11:11:18 +08:00
pikastech
03e1b65689 support examples on API doc 2023-03-20 11:03:56 +08:00
pikastech
6464bcfbe5 fix comment on stddevice 2023-03-20 10:30:49 +08:00
pikabot
a9b7d4b9d1 support sort docgen 2023-03-20 10:27:05 +08:00
lyon
d582a42e0f finish docgen.py 2023-03-19 21:41:32 +08:00
lyon
369f6eef82 add docgen.py 2023-03-19 21:30:33 +08:00
pikastech
e9f832c517 enhance int() for int('1234', 8) 2023-03-17 14:28:10 +08:00
pikastech
ee9d1e696a auto release packages form linux port 2023-03-15 16:20:59 +08:00
pikastech
b9a0109c61 (fix) fix os on ESP32 2023-03-15 03:20:25 +00:00
pikastech
a3b402ae36 add os module
fix color for GC DUMP

add os module and test

support ESP32
2023-03-15 03:20:25 +00:00
dreamcmi
58f49ba3fe fix timestamp 2023-03-15 02:12:46 +08:00
dreamcmi
4fb6ae1f37 Merge branch 'master' into add/iotcloud 2023-03-15 00:54:48 +08:00
lyon
ec8405d304 support str.join()
fix VM for nano mode
2023-03-11 22:36:12 +08:00
lyon
7889c4028c (vm) raise err when slice of get out of range 2023-03-11 13:14:54 +08:00
pikastech
ca65efd1fa fix args_foreach handler
add PikaGC class

add gc.onMarkObj

add GC DUMP

support gcdump()

improve gcdump
2023-03-09 16:52:57 +08:00
lyon
01be7b7ad7 try to add runbytecodereturn
switch to runbytecodereturn

gc test pass except pikaui

skip pikaui test, local root not work
2023-03-09 11:23:33 +08:00
lyon
1441c6dd61 fix new_pikaobj api 2023-03-08 21:14:19 +08:00
pikastech
7f5edaf090 add objCnt
ready to check where enable the mark_sweep

auto gc with threshold failed, add some assert

more assert about obj alive, dict mark not correct

add pikaGC_try, but cannot run at any time

markSweep crashed on keyword

save gcRoot for obj to debug

add debug point

add kernal_debug config to keep more debug info

use @res_<opt> to mark operation

found self reference on __iter__()

can not fix gc err around iter

remove lock, only keep the self lock

more obj info for debug

only pikaui not pass

only pikaui not pass
2023-03-08 09:35:27 +08:00
lyon
c01775b39a add comment for modbus.py, from AI 2023-03-02 00:35:14 +08:00
lyon
f152db319c support fullfealure of type() 2023-03-01 22:03:51 +08:00
lyon
cc6fd6605b ready to intruce mark-sweep GC 2023-03-01 21:23:33 +08:00
lyon
ae2ec0a7cd fix 'self' for get method from getattr 2023-03-01 19:28:16 +08:00
pikastech
cb30579c08 update thread, fix parse err on 'not in or' 2023-03-01 15:46:22 +08:00
李昂
7e1b48e3f7
update package/STM32F1/STM32F1_Time.c.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-28 03:27:52 +00:00
李昂
8e499bfea6
update package/STM32F1/STM32F1.pyi.
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-28 03:27:36 +00:00
pikastech
fc5e21140b fix ci, fix wars 2023-02-27 19:47:46 +08:00
lyon
fe6d343b61 add_files 2023-02-26 21:14:45 +08:00
pikastech
6258ccebb2 add clear() builtin, fix REPL thread 2023-02-26 17:48:19 +08:00
pikastech
6d4b7a3eb7 enhance event ant thread
enhance _thread start
2023-02-26 17:04:58 +08:00
dreamcmi
2ac39e522d fix socket fcntl has wrong number of parameters in lwip 2023-02-26 02:00:10 +08:00
lyon
2077880671 fix modbus err 2023-02-23 15:52:44 +08:00
lyon
6c6be65db6 support add and build 2023-02-22 21:59:28 +08:00
李昂
c795887d02
fix sprintf dependency for cJson
Signed-off-by: 李昂 <liang6516@outlook.com>
2023-02-20 08:21:59 +00:00