3881 Commits

Author SHA1 Message Date
pikastech
f43e0227a1 remove lib and api of bytecodegen 2022-06-24 16:23:44 +08:00
pikastech
3e371e9e57 fix a[1] = 1 not work inner function() 2022-06-24 16:08:27 +08:00
李昂
442e51e314 !35 support try raise the first step
* Merge branch 'master' into trydev
* Merge branch 'master' into trydev
* Merge branch 'master' into trydev
* Merge branch 'master' into trydev
* Merge branch 'master' into trydev
* raise in function not ok
* support except
* add GER ins
* try raise is test ok
* support default raise RuntimeError
* add except test
* jmp to skip except block after try
* add <try:> parse
2022-06-24 05:44:50 +00:00
pikastech
46fc722b47 restore bsp/pico 2022-06-24 13:36:55 +08:00
李昂
e6a33c058e !34 Support __str__() for PikaStdData.List(),PikaStdData.Dict(),PikaStdData.dict_keys(),
* print list as '[x,x,x]'
* support __str__ for Dict
* support __str__ for dict_keys()
2022-06-24 03:30:56 +00:00
Lyon
3d8a58a3ac
Update README.md 2022-06-24 10:23:18 +08:00
pikastech
c31d224563 update donate info 2022-06-24 09:56:13 +08:00
pikastech
0002479703 add contribute log for cmsis-pack 2022-06-24 09:53:16 +08:00
pikastech
c56f35cd1a use #ifndef in config_valid.h 2022-06-24 09:37:42 +08:00
pikastech
c4de690db8 fix "plooc_class.h" path 2022-06-24 09:18:35 +08:00
lyon
2a05fbd938 fix main.py for pico-dev 2022-06-24 08:54:18 +08:00
Gabriel Wang
60a5028d5b
Add cmsis pack support (#154)
* add script

* add cmsis-pack

* update bsp-pico and cmsis-pack
2022-06-24 08:19:33 +08:00
lyon
ec16f9bef3 add port/cmsis-pack 2022-06-24 00:21:00 +08:00
lyon
cfd6be40f4 fix pico-dev 2022-06-24 00:19:04 +08:00
pikastech
56621882f9 fix STNTEX LEVEL in test 2022-06-23 18:01:18 +08:00
pikastech
a3e318efd5 update fix tools/pikascript/pikascript-api 2022-06-23 17:53:53 +08:00
pikastech
ff16099da5 test iter() for keys is ok 2022-06-23 17:46:50 +08:00
pikastech
524c6c56c1 fix head info 2022-06-23 15:43:07 +08:00
pikastech
ab795de30c pikaVM_runFile change to interpreter mode 2022-06-23 15:37:04 +08:00
lyon
e96292debd fix parse panic when match void line 2022-06-22 16:18:37 +08:00
pikastech
868b028a66 support <None> and <if res == None> 2022-06-22 15:39:48 +08:00
pikastech
1775b6e600 Merge mem pool config to kernal
only export the mem_pool_<> api

    add pool to test, move pool_init to dataMemory
2022-06-22 10:35:37 +08:00
李昂
e1834a2fbb
update README_zh.md. 2022-06-22 01:29:11 +00:00
pikastech
fca634f3cc use -> List 2022-06-21 17:49:18 +08:00
pikastech
1087ed0674 support split() for String Class 2022-06-21 17:42:03 +08:00
李昂
7936348820 !33 support class parameters
* update package
* class_par is tested ok
2022-06-21 09:16:38 +00:00
pikastech
97803a6684 fix *.gcda err info 2022-06-21 15:43:32 +08:00
Lyon
96faa464f8
Update README.md 2022-06-21 15:03:03 +08:00
lyon
8b71911be4 improve build.sh 2022-06-21 14:58:49 +08:00
李昂
f86ddc3d12 !32 support gcov and lcov
* install lcov in docker
* add lcov.sh support gcov
2022-06-21 06:19:07 +00:00
李昂
e31135ba90 !31 fix run context problem when call the callback function
* remove __pikaMain from StdTask
* support run arg from other context(file name space)
* format
* use def_context in callback
* supporting def_context, not ok
2022-06-21 03:29:29 +00:00
lyon
45207b3738 support REPL for keil-simulation 2022-06-21 09:27:47 +08:00
lyon
308c84d22c update keil project 2022-06-20 15:57:13 +08:00
李昂
f207397804
update packages.toml. 2022-06-20 01:30:42 +00:00
李昂
0cf260fca1
update bsp/esp32c3/components/pika_script/requestment.txt.
upgrade esp32c3 to v1.8.6
2022-06-20 01:03:58 +00:00
lyon
47a67e997b update lvgl simu project 2022-06-19 18:08:04 +08:00
pikastech
1f80ce806f release v1.8.7 stdDevice 2022-06-19 11:46:27 +08:00
pikastech
ea71c49888 release v1.8.7 2022-06-19 11:36:14 +08:00
lyon
88f015bcb2 restore restore_link 2022-06-18 22:18:17 +08:00
lyon
b183e7a433 fix doc link 2022-06-18 21:04:11 +08:00
pikastech
9dac9149ea fix pika_event_listener 2022-06-17 15:18:42 +08:00
pikastech
330f485ed4 auto deinit eventListner in TemplateDevice 2022-06-17 15:13:12 +08:00
pikastech
1f20472491 auto init and deinit eventLisener 2022-06-17 15:03:12 +08:00
pikastech
dbeb9ab239 add test and example for event 2022-06-17 14:45:52 +08:00
pikastech
b10faacfec remove no used file 2022-06-17 14:39:35 +08:00
李昂
b0840b9869 !30 add pks_eventLister and support event signal
* format
* use inner_bytecode instead of obj_run
* add asserts for event-test
* test event for PikaStdDevice is ok
* adding event fealure
* fetch PikaStdDevice_Time to port linux
2022-06-17 05:22:47 +00:00
lyon
61ddc402ff support style for lvgl 2022-06-16 20:02:01 +08:00
pikastech
551e688675 release pika_lua v0.0.1 2022-06-16 10:53:33 +08:00
李昂
b5da16e285 !29 add pika_lua package
* fix Dockerfile
* add liblua5.3 to package
* support pika_lua.evalLine()
* create pika_lua package
* install and include lua5.3
* add lua5.4 lib
2022-06-16 02:52:07 +00:00
李昂
0103fca177
fix StdDevice v1.8.6 2022-06-16 01:22:56 +00:00