Search found 5 matches

by deepak
Fri May 29, 2020 4:53 pm
Forum: General Discussion and Questions
Topic: memory and small int overflow error
Replies: 1
Views: 1542

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: 3597

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: 3597

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 Nuttx, which has only core python and want to run a mpy file on ...
by deepak
Tue May 05, 2020 7:56 am
Forum: Programs, Libraries and Tools
Topic: Problem in micropython porting
Replies: 6
Views: 3597

Problem in micropython porting

Hi, I am new to micropython and was trying to port micropython v1.12 to 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-readline and used these files...
by deepak
Sun Apr 19, 2020 5:46 pm
Forum: General Discussion and Questions
Topic: Error in micropython porting
Replies: 1
Views: 1492

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...