40 Commits

Author SHA1 Message Date
pikastech
925e773200 add test for bytes 0 size 2022-07-21 21:26:00 +08:00
李昂
6acc0f9ecd !25 support format output for print()
* test for format with tuple is ok
* 'format'%var is ok (tuple var is not ok)
* rename _cformat to cformat()
* optimize the memory usage of format_list
* add string-test.cpp
* cformat() is ok
* fix variable par load issue
* use test_common.h
* use test_common to simplify the gtest case
* Merge branch 'master' into dev
* fix float->double for bytecodegen
* update to /package
* Use double in C for float in python
2022-06-14 03:20:17 +00:00
pikastech
a87da14c7d move print() and print_no_end from BaseObj to SysObj 2022-06-10 12:04:06 +08:00
Lyon
b359062172
Dev (#118)
* add PLOOC

* add PLOOC to kernal

* remove unrequired files

* remove pack

* fix plooc ci in test/*.cpp

* add test_common.h

Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
2022-05-19 20:52:19 +08:00
lyon
b422318168 cancel (char*) in test 2022-04-30 21:17:19 +08:00
lyon
c3bc444af0 assert for test_import_bf1/2 is ok 2022-04-28 16:55:48 +08:00
lyon
059096a7b1 divide POINTER and REF_OBJECT OK 2022-04-25 15:01:58 +08:00
lyon
37f3062b88 dividing POINTER and REF_OBJECT 2022-04-25 14:49:38 +08:00
lyon
2eaea345cc fix args_setBytes mem error 2022-04-23 00:03:20 +08:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +08:00
lyon1998
e44f9c2368 Use ArgName Bytes instead of Mem 2022-04-19 18:13:07 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
8c41df1ea1 add obj_loadMem API 2022-04-18 16:34:12 +08:00
lyon1998
a2dd87c8a8 add ARG_TYPE_MEM 2022-04-18 12:11:33 +08:00
lyon1998
f23dac8a8a support obj_setMem, obj_getMem, obj_getMemSize API 2022-04-18 12:02:33 +08:00
lyon
ba1c61293b rename 2022-02-22 00:41:45 +08:00
lyon
a9d1bc372e add GTestTask to test task_period 2022-01-24 19:08:33 +08:00
lyon
9b6755eb6e write foarmated __platform_printf to log 2022-01-03 21:51:42 +08:00
lyon
18deeaf7a5 direectly conect print to __platform_printf 2022-01-03 21:40:41 +08:00
lyon
c679f2d0ae use VM_Parameters insteadof Parameters 2021-12-30 19:55:09 +08:00
lyon
150c450231 use self as globals 2021-11-23 12:15:12 +08:00
lyon
5316ede928 add Warning flag and solve warnings 2021-11-14 18:39:08 +08:00
lyon
d06caf63ea use strEqu instead of str_is_start_with to check type 2021-11-14 12:06:06 +08:00
lyon
53d587e619 remove _n and _ctx default arg in obj 2021-11-13 10:50:05 +08:00
pikasTech
98383a3929 use parameters to save globals and locals 2021-10-31 10:37:22 +08:00
pikasTech
69acf27ab3 local arg can be used in multiLine obj run 2021-10-31 10:02:55 +08:00
lyon1998
b432190c3b obj test is ok 2021-10-31 00:02:27 +08:00
pikasTech
88471a15e7 debug obj run 2021-10-30 22:29:10 +08:00
pikasTech
ada7a3c96f obj_run bugs need to solve 2021-10-30 22:13:25 +08:00
lyon1998
2782485553 test obj_run multi line 2021-10-19 11:03:54 +08:00
lyon1998
6c7eb7e55a use New_Class() back, and Class()need to be generate 2021-10-18 17:33:55 +08:00
lyon1998
8bac0f937b all test passed for new agrathem of ne_obj 2021-10-18 16:38:50 +08:00
lyon1998
4c6ec93f41 args_set can update type 2021-10-18 16:08:28 +08:00
lyon1998
95cfbf6caa obj.set and args_set is not needed any more 2021-10-18 15:09:30 +08:00
lyon1998
709f9437bf change New_Class() to Class() 2021-10-18 11:33:11 +08:00
lyon1998
e5408deb06 new Obj by fun directly, not class loader 2021-10-18 09:55:09 +08:00
lyon1998
0e79ffe99a test for sysout is ok 2021-10-15 11:20:07 +08:00
lyon1998
626fa3c9a6 use VM_run instead of invoke, sysOut is not supported 2021-10-14 23:55:35 +08:00
lyon1998
61aed3c36b add object-test for copyArg 2021-10-14 20:44:50 +08:00
graduateDesign
cfa17f3764 chang to linux 2021-10-04 01:10:49 +08:00