Search found 5 matches

by graemef
Thu Aug 01, 2019 5:46 am
Forum: Development of MicroPython
Topic: Micropython on STM32F746
Replies: 0
Views: 168

Micropython on STM32F746

Hi, A while back I used the basic support for STM32F746Discovery board and installed it. Since then I got the LCD and touchscreen working and implemented some libraries at both the C-level and Python level. The modified micropython source folder is on my github (link below). My goal is to add image ...
by graemef
Mon Jul 31, 2017 1:20 pm
Forum: General Discussion and Questions
Topic: Overall stability
Replies: 9
Views: 2300

Re: Overall stability

I have been using uPy on the STM32F429DISCO for about a month and the only thing I have noticed stability wise is that when power is removed while the PYBFLASH drive is mounted, then more often than not the file main.py disappears and gets replaced with the default main.py. So this is a sympton of u...
by graemef
Thu Jul 27, 2017 5:32 am
Forum: General Discussion and Questions
Topic: Importing a module
Replies: 1
Views: 715

Importing a module

Hi, I have a question about using an external python project/module in micropython. Specifically I tried as an experiment to load the mpmath project which is implemented in python. It seems that it relies on modules such as operator.py distutils etc. In the root directory (of mplab distro) is a file...
by graemef
Mon Jul 24, 2017 6:32 am
Forum: Drivers for External Components
Topic: Re: Images on STMF7 display
Replies: 0
Views: 630

Re: Images on STMF7 display

Hi, I got the display and touchscreen interface working on the STM746 Discovery board with micro python over the weekend. Have implemented a showPicture command which reads image from SDcard and displays it. I read oneline,display, then read next line etc. I would like to speed this up by handing of...
by graemef
Fri Jun 23, 2017 3:24 pm
Forum: Development of MicroPython
Topic: Mapping between Micropython and C
Replies: 1
Views: 801

Mapping between Micropython and C

Hi, I would like to understand how the following maps to C drivers. As an example: i2c.scan() I understand the driver level code and found the I2C driver including the scan commands in the drivers. What I don't understand is how calling the python code maps to the C code. Followed this http://wiki.m...