Search found 3 matches

by ralienpp
Wed Nov 02, 2016 3:31 pm
Forum: Drivers for External Components
Topic: DP83848 Ethernet
Replies: 3
Views: 11243

DP83848 Ethernet

Hi, I am attempting to understand what is necessary to provide compatibility with the DP83848 Ethernet module. A search on Github reveals that such a driver is not available in https://github.com/micropython/micropython/tree/master/drivers However, there is a reference to the model here https://gith...
by ralienpp
Wed Oct 26, 2016 3:03 pm
Forum: General Discussion and Questions
Topic: How to call functions from other binary modules via uctypes?
Replies: 4
Views: 4289

Re: How to call functions from other binary modules via uctypes?

Thank you for the swift answer. Going through the examples directory I found a promising sample: https://github.com/micropython/micropython/blob/b9672bcbe8dd29b61326af8eb026df4d10a8f0ce/examples/unix/ffi_example.py I am posting an excerpt here for the convenience of others who might be looking for t...
by ralienpp
Wed Oct 26, 2016 2:29 pm
Forum: General Discussion and Questions
Topic: How to call functions from other binary modules via uctypes?
Replies: 4
Views: 4289

How to call functions from other binary modules via uctypes?

I would like to combine Python's expressive syntax with the capabilities of existing libraries written in C. It is clear how I can do that with Python and ctypes, but having examined the documentation of uctypes in Micropython, I did not see any references to calling functions in other modules, it i...