Search found 4 matches
- Wed Aug 17, 2016 6:12 pm
- Forum: General Discussion and Questions
- Topic: Raw REPL not receiving output
- Replies: 5
- Views: 4727
Re: Raw REPL not receiving output
I've got it working, somewhat. When sending the command over exec_(), to get the output, I have to print the result. For example, a command would look like this: exec_("print(getInt())" It will then return the value in string form. To get the literal python evaluation of it, I can cast it to whateve...
- Wed Aug 17, 2016 5:28 pm
- Forum: General Discussion and Questions
- Topic: Raw REPL not receiving output
- Replies: 5
- Views: 4727
Re: Raw REPL not receiving output
Thank you for the reply. I will try to use your remote function. I see that it calls enter_raw_repl and exit_raw_repl in the function itself, which in turn causes a soft reboot. In my project that would be unfavorable so I will try an edited version. Regarding what you said about following on exec_,...
- Wed Aug 17, 2016 12:16 am
- Forum: General Discussion and Questions
- Topic: Raw REPL not receiving output
- Replies: 5
- Views: 4727
Raw REPL not receiving output
Hi all, When I run a script on CPython to communicate with the pyboard using pyboard.py, I'm not receiving the return value from the function on the micropython side. For example purposes, I have a module on the pyboard, ayo.py, containing: def getInt(): return 23 def getList(): return [1, 2, 3] def...
- Tue Jun 30, 2015 11:18 pm
- Forum: Other Boards
- Topic: Porting to STM32F429, where to increase code size?
- Replies: 56
- Views: 72034
Re: Porting to STM32F429, where to increase code size?
I am working with kylesat to help with the port. As for programming the board there are a couple of options. Initially, I attempted to program the board using the ST-LINK utility on windows. I believe was able to flash the firmware from STM32F407 Discovery board, but had no way find out whether it w...