4917 Commits

Author SHA1 Message Date
lyon
416e8b12fc cut no used code for nano by nano_lcov 2022-11-16 21:22:31 +08:00
lyon
d8b71908f0 enhance syntax check for def 2022-11-16 13:26:32 +08:00
lyon
94fb091226 cancel bc1, use common bc cache on REPL 2022-11-16 11:28:26 +08:00
lyon
53fce2a219 optimize bytecode cache, cancel cache bc0 2022-11-16 10:23:54 +08:00
lyon
09643a4a3b support runByteCodeFile 2022-11-15 23:09:13 +08:00
pikastech
157638a4f1 supporting no const bytecode 2022-11-15 22:16:52 +08:00
pikastech
9418eceb9e support check pos arg num for default fn 2022-11-15 20:15:58 +08:00
lyon
363238987e support fn and class def on bytecode
update version, fix warning
2022-11-15 14:57:51 +08:00
lyon
307477f033 fix get arg_num_pos
check is_keys is_vars is_default

support load default from pos arg
2022-11-15 12:22:34 +08:00
lyon
b9c94ca91d update precompiler 2022-11-15 09:59:12 +08:00
lyon
6a64652ac8 fix pkg-push for symble link 2022-11-14 20:50:00 +08:00
pikastech
6d61bc07cc support print None
optimizing runbytecode

use _cache_bcf

arrange the run_bytecode and cache

more args for _do_pikaVM_runBytecode

support print(None)
2022-11-14 16:11:21 +08:00
lyon
3837c3aafd use requests.pyi
requests.get() method ok

test requests.get passed
2022-11-13 19:15:14 +08:00
lyon
adb8df45af mqtt 2022-11-13 15:19:23 +08:00
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
lyon
c6bb6ba61b add mqtt_release_free api 2022-11-13 14:57:40 +08:00
lyon
5adc75c088 test mqtt-lease-free 2022-11-13 14:52:39 +08:00
lyon
a030e919b4 fix include 2022-11-13 13:48:33 +08:00
lyon
e70e4f1f45 fix compile err on esp32 2022-11-13 13:41:05 +08:00
lyon
b980fd4710 update mqtt 2022-11-12 23:28:55 +08:00
lyon
7d90370d4c fix parse err for kw def
fix VM typelist overflow
2022-11-12 23:18:11 +08:00
lyon
244d196ef3 add mqtt.py and _mqtt.pyi 2022-11-12 22:21:23 +08:00
pikastech
3da2e18fcf compile pass on esp32 2022-11-12 16:52:22 +08:00
pikastech
60948ada6f fix typo of main.go 2022-11-12 16:11:25 +08:00
pikastech
6bc8056759 release v0.0.1 mqtt and reqeusts 2022-11-12 15:51:58 +08:00
pikastech
04a174a7d3 fix <errno.h> for requests 2022-11-12 15:49:50 +08:00
pikastech
ebe10bc5f4 insert freertos and lwip platform for network 2022-11-12 15:39:42 +08:00
pikastech
a67a71f944 support linux/freertos/weak for mqtt platform 2022-11-12 15:20:51 +08:00
pikastech
e88fbd2f6a fix WEAK_FUNCTION_NEED_OVERRIDE_ERROR macro 2022-11-12 14:11:32 +08:00
pikastech
a8bac33fdf clean platform include 2022-11-12 14:09:01 +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
0882bd0c6e add pthread lib to fix CI on github 2022-11-12 00:54:35 +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
f506721544 use self host strdup 2022-11-10 19:55:28 +08:00
lyon
a96e3f5e56 add test network 2022-11-10 18:07:42 +08:00
lyon
bf651c260b test websocket on linux test ok 2022-11-10 18:07:09 +08:00
lyon
b590df0979 rename platform_socket.h to pika_socket.h 2022-11-10 17:17:29 +08:00
lyon
31bda65f87 add adapter_rtt 2022-11-10 17:13:56 +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
李昂
353fc0bce6
update bsp/swm320/README.md.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-11-09 11:03:14 +00:00
李昂
df448472a4 restore swm320 2022-11-09 18:55:21 +08:00
pikastech
a97212a5b3 support bytes add bytes 2022-11-09 16:42:09 +08:00
lyon
43d65eabc6 format 2022-11-09 01:42:35 +08:00
lyon
46b8644aeb fix core dump when line overflow 2022-11-09 01:34:49 +08:00
李昂
3764c638f4 left-right cmd test ok on putty - g070 2022-11-09 01:20:20 +08:00
lyon
a0c00498f8 support KEY_LEFT and KEY_RIGHT 2022-11-08 23:36:50 +08:00
lyon
db95b14950 support float('1.1') 2022-11-08 22:07:23 +08:00
pikastech
b38133b44f fix obj_setInt for <str> arg error 2022-11-08 15:58:39 +08:00