I have a Nucleo F446 Board. I have a REPL connection and after importing the uos module I can see with
Code: Select all
uos.listdir(uos.getcwd())
the content of the flash.
But if I want to add code to main.py, how do I do this?
There are at least three ways:
1) Sendiing CTRL + F to the Terminal:
http://www.carminenoviello.com/2015/06/ ... nucleo-f4/
Thsi doesn't work with my REPL. The file repl.c from Carmine looks similar, but maybe this function is added in runtime.c? Maybe I will have a closer look at this code.
2) Working with pyboard.py
This is also from Carmine Noviello, There is a python script named pyboard.py in the tools folder. I try to get a connection with my Nucleo board at this time.
3) The third way is to add an external USB:
viewtopic.php?f=12&t=2343&p=13429&hilit ... usb#p13429
This I will try tomorrow.
What are You using? Which way do You prefer? Or is there a fourth or fifth way?
Best regards.
Guenther