Search found 8 matches

by deepak
Wed Jun 03, 2020 3:18 pm
Forum: General Discussion and Questions
Topic: memory and small int overflow error
Replies: 2
Views: 273

Re: memory and small int overflow error

The memory error may be caused by not having GC enabled (#define MICROPY_ENABLE_GC 1), as don't have "gc.c" in your list. For the int overflow, my hunch would be that you need multi-precision support (#define MICROPY_LONGINT_IMPL 1). Thanks, int oveerflow issue has been resolved by #define MICROPY_...
by deepak
Fri May 29, 2020 4:53 pm
Forum: General Discussion and Questions
Topic: memory and small int overflow error
Replies: 2
Views: 273

memory and small int overflow error

Hi, I have ported minimal micropython to a RTOS, in which core micropython is ported only. for which i have compiled lib/utils/pyexec.c, lib/utils/stdout_helpers.c, lib/mp-readline/readline.c, minimal/main.c, minimal mpconfigport.h, ports/unix/unix_mphal.c and py files which are described in py.mk. ...
by deepak
Mon May 18, 2020 6:52 am
Forum: Programs, Libraries and Tools
Topic: Problem in micropython porting
Replies: 6
Views: 479

Re: Problem in micropython porting

Sorry don't know, little experience with that. But you should provide more info anyway: 'unable to execute' is a bit vague. Is there an actual error message? Actually i want to run a simple test file e.g. mat_mul.py (file contains simple matrix multiplication program). so can you please tell me how...
by deepak
Thu May 14, 2020 6:15 am
Forum: Programs, Libraries and Tools
Topic: Problem in micropython porting
Replies: 6
Views: 479

Re: Problem in micropython porting

Thanks stijn for help, the problem was because of mp_hal_stdin_rx_chr/mp_hal_stdout_tx_strn, though i had replaced it with fprintf adn getc in mpy-1.3.8 and it worked so i thought for same. now i have ported minimal micropython-1.12 to TizenRT, which has only core python and want to run a mpy file o...
by deepak
Tue May 05, 2020 7:56 am
Forum: Programs, Libraries and Tools
Topic: Problem in micropython porting
Replies: 6
Views: 479

Problem in micropython porting

Hi, I am new to micropython and was trying to port micropython v1.12 to TizenRT which is based on Nuttx. and i am interested to port core functionalities as of now so i used main.c and mpconfigport.h from ports/minimal, pyexec.c and pyexec.h from lib/utils, readline.c and readline.h from libs/mp-rea...
by deepak
Wed Apr 22, 2020 11:13 am
Forum: General Discussion and Questions
Topic: Error in micropython porting
Replies: 3
Views: 306

Re: Error in micropython porting

Hi Jim, I have removed all the compilation errors of Micropython port to TizenRT. but currently, facing the issues at the last moment when Micropython main link to TizenRT binary file. LD: tinyara /home/deepak/TizenRT/os/../build/output/libraries/libapps.a(mpprint.o): In function `plat_print_strn': ...
by deepak
Mon Apr 20, 2020 6:33 pm
Forum: General Discussion and Questions
Topic: Error in micropython porting
Replies: 3
Views: 306

Re: Error in micropython porting

Hi, Thanks for your reply. I built the latest NuttX and TizenRT with micropython-1.3.8 using below link: https://github.com/badembed/TizenRT/tree/master/apps/system for building latest OS, I copied micropython folder from above links and pasted in following folders with minor changes in Makefile: fo...
by deepak
Sun Apr 19, 2020 5:46 pm
Forum: General Discussion and Questions
Topic: Error in micropython porting
Replies: 3
Views: 306

Error in micropython porting

Hi everyone, I am new to micropython and was trying to build nuttx with latest micropython using following method: I reverted the commit in which micropython was supported then in the micropython makefile, I changed the micropython version from 1.3.8 to 1.12, then tried to build but got following er...