Search found 9 matches

by EqBooster
Fri Jul 27, 2018 5:26 am
Forum: Development of MicroPython
Topic: Threading Module for Windows build
Replies: 4
Views: 2812

Re: Threading Module for Windows build

Well i guess i have to let this approach then because i don't get it working. It's sad that the windows-build is required for me. The port for the STM32 and i guess other microcontrollers is amazing already :)
by EqBooster
Thu Jul 26, 2018 8:15 am
Forum: Development of MicroPython
Topic: Threading Module for Windows build
Replies: 4
Views: 2812

Re: Threading Module for Windows build

Ohh ok, thanks for your response.. I am currently doing my bachelor thesis and my goal is to wrap a can-stack library written in C. The thing is it is important that the build also runs on windows so i guess i can't use micropython to do this in that case, because threading is required. The build fo...
by EqBooster
Thu Jul 26, 2018 7:47 am
Forum: Development of MicroPython
Topic: Threading Module for Windows build
Replies: 4
Views: 2812

Threading Module for Windows build

Hello guys,

I would really need the threading module for the Windows build. Is this possible already? I found it in the Unix build, and i know that somehow the windows build uses unix.

Sorry if this question is dumb, but i dont know what to do :) .
by EqBooster
Tue Jul 24, 2018 6:25 am
Forum: General Discussion and Questions
Topic: Access CAN-Bus from Windows-Build
Replies: 4
Views: 2953

Re: Access CAN-Bus from Windows-Build

I just asked because there was a discussion already about this specific usb-can driver, but i didn't find anything so i guess it doesn't exist. So have you successfully used Kvaser or Vector with micropython? If yes, can you probably share your implementation so references? I guess i need to extend ...
by EqBooster
Mon Jul 23, 2018 9:41 pm
Forum: General Discussion and Questions
Topic: Access CAN-Bus from Windows-Build
Replies: 4
Views: 2953

Re: Access CAN-Bus from Windows-Build

So i make build a dll of the usb-driver and wrap it to a micropython module on my own?
I was asking if there is something existing like this because there were already some requests for this.
by EqBooster
Mon Jul 23, 2018 1:36 pm
Forum: General Discussion and Questions
Topic: Access CAN-Bus from Windows-Build
Replies: 4
Views: 2953

Access CAN-Bus from Windows-Build

Hello guys, Does someone know if it is possible to use the CAN bus with a USB adapter from micropython when building for Windows? I saw a thread from python-can (https://github.com/hardbyte/python-can/issues/93) and there was a discussion about this, but couldn't find anything else about this. Does ...
by EqBooster
Wed Jul 18, 2018 8:11 am
Forum: General Discussion and Questions
Topic: Wrapper for existing C-Library
Replies: 6
Views: 4502

Re: Wrapper for existing C-Library

Thanks for your fast response dhylands, i got it working now. I had some stupid mistakes with imports before :) My actual goal is to wrap a existing CAN-stack written in C, to use it with micropython. My next goal was to just call python functions out of c. The reason for this is because i don't wan...
by EqBooster
Tue Jul 17, 2018 1:06 pm
Forum: General Discussion and Questions
Topic: Wrapper for existing C-Library
Replies: 6
Views: 4502

Re: Wrapper for existing C-Library

Thanks a lot for all your responses. I think i start understanding how this works now. The next thing i was looking for is how to this the other way around (Accessing python obj, calling functions... from C) I found some examples and tried to implement it myself but i had some trouble. (Especially w...
by EqBooster
Mon Jul 16, 2018 12:15 pm
Forum: General Discussion and Questions
Topic: Wrapper for existing C-Library
Replies: 6
Views: 4502

Wrapper for existing C-Library

Hello guys, I am trying to understand how i can extend the micropython firmware with additional modules. I have some existing C-Libraries for the STM32F4 Discovery Board, and my goal is to make it accessible from python. What are possibilities for me to do this? I already successfully extended the f...