Search found 27 matches

by tecdroid
Tue Jun 01, 2021 7:27 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio missing on stm32f407vgt6
Replies: 1
Views: 1267

Re: uasyncio missing on stm32f407vgt6

i just copied uasyncio folder into a newly created lib folder. this did the trick I think
by tecdroid
Tue Jun 01, 2021 6:35 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio missing on stm32f407vgt6
Replies: 1
Views: 1267

uasyncio missing on stm32f407vgt6

Hi,

i managed to compile mp for my board but cannot find uasynio.
all i find is the import _uasyncio which only contains a Task and TaskQueue class but no functions..
how do i get my uasyncio loop, etc?
by tecdroid
Tue Jun 01, 2021 5:31 pm
Forum: Hardware Projects
Topic: STM32F407 usb REPL
Replies: 2
Views: 16837

Re: STM32F407 usb REPL

according to this schematic diy-more hasn't VBUS and ID pin connected to anything. I managed to repair this somehow.. somewhere down there is my mpconfigboard.h So, this config seems to work... Even if I only have 90Kib free space.. #define MICROPY_HW_BOARD_NAME "TDDBOARD" #define MICROPY_HW_MCU_NAM...
by tecdroid
Tue Jun 01, 2021 12:34 pm
Forum: Hardware Projects
Topic: STM32F407 usb REPL
Replies: 2
Views: 16837

STM32F407 usb REPL

Hi, i got a diymore STM32F4 board which is basically an stm32f407 with almost all ios led to pins and want to build a micropython on it. as far as I know, stm32f407 is basically same as stm32f405 but having ethernet. I started by copying boards/STM32F4DISC into STM32F407 and compiled this, which see...
by tecdroid
Sat May 29, 2021 5:18 pm
Forum: General Discussion and Questions
Topic: building on stm32f405vg
Replies: 0
Views: 982

building on stm32f405vg

Hi, I need a controller with external voltage reference for adc/dac. Since most boards use stm32f405rg I wonder what to do to migrate to stm32f405vg. I'd basically clone the pyboard for my application except using a little more space for the 100 pin package and, additionally, having that external vo...
by tecdroid
Tue Apr 13, 2021 8:26 am
Forum: Programs, Libraries and Tools
Topic: Porting Libraries important for Machine Learning to Micropython
Replies: 4
Views: 3908

Re: Porting Libraries important for Machine Learning to Micropython

Hi,

is it possible to compile this into a mpy module? I don't want to re-compile and re-flash my board permanently..
by tecdroid
Thu Apr 08, 2021 6:40 am
Forum: Programs, Libraries and Tools
Topic: Creating a class in native module
Replies: 0
Views: 1331

Creating a class in native module

Hi there, i want to create a simple image class as native module which is capable of performing image filtering (sobel operators, etc.) and transformation(eg. hough, color to gray, etc.) Both are basically a function which returns a new image. imagine the api like image = Image(camera.capture(), 320...