Search found 15 matches

by michael.o
Sun Jan 30, 2022 4:44 am
Forum: Development of MicroPython
Topic: Creating a C Module Help
Replies: 1
Views: 11630

Re: Creating a C Module Help

This is the best documentation for getting started: https://micropython-usermod.readthedocs.io/en/latest/usermods_05.html That whole site is made by the creator of ulab and details in a good detail how to setup the plumbing in C for creating the module and types and functions within it. Just start s...
by michael.o
Thu Dec 23, 2021 6:49 am
Forum: ESP32 boards
Topic: Which is the most advanced ESP32 board?
Replies: 1
Views: 6939

Re: Which is the most advanced ESP32 board?

You may want to wait because the ESP32S3 is sampling and supposed to go to mass production soon. It will support 8MB usable PSRAM and larger amounts of flash 16 MB or some will have 32MB. I think you can have larger values for both psram and flash but those are just what is included on die. Checkout...
by michael.o
Thu Dec 23, 2021 6:22 am
Forum: Other Boards
Topic: [Nucleo-H743ZI2] Where to set breakpoint to find cause of board reset
Replies: 1
Views: 10675

Re: [Nucleo-H743ZI2] Where to set breakpoint to find cause of board reset

I found out that you can have the board hold on a hard fault. This will show you the stack trace where the problem occurred:

Code: Select all

pyb.fault_debug(1)
by michael.o
Fri Oct 29, 2021 8:25 pm
Forum: Other Boards
Topic: [Nucleo-H743ZI2] Where to set breakpoint to find cause of board reset
Replies: 1
Views: 10675

[Nucleo-H743ZI2] Where to set breakpoint to find cause of board reset

I have a micropython firmware that integrates the tensorflow micro c++ api. It works for ESP32 and I'm trying to increase the number of boards it supports starting with stm32 with a Nucleo H743ZI2 board (1MB RAM, 2MB Flash). I'm encountering an issue when I try to run the hello world example where i...
by michael.o
Thu Aug 12, 2021 12:15 pm
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 7785

Re: I2S on ESP32

Getting them from the python side is very clean and easy. Here are some details on how they are setup on the C side. They are setup in the local scope of the I2S class here: https://github.com/micropython/micropython/blob/42d1a1635cc35fd3a9ae28b19685184fc3c23f1e/ports/esp32/machine_i2s.c#L666 The MP...
by michael.o
Thu Aug 12, 2021 1:26 am
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 7785

Re: I2S on ESP32

I have it working on esp32 with an INMP441 mic. I just put some notes together on my wiring and then the I2S configuration block I am using: https://github.com/mocleiri/tensorflow-micropython-examples/tree/main/examples/micro-speech/esp32 I also have a script that you can run to sample audio to a 2 ...
by michael.o
Wed Mar 31, 2021 11:46 pm
Forum: ESP32 boards
Topic: ESP32 port now uses CMake
Replies: 20
Views: 14987

Re: ESP32 port now uses CMake

The rp2 pull request #6960 has been merged. My pull request #6956 works and is greatly simplified now that its using the rp2 port contributions. If anyone has custom esp32 firmwares can you checkout the branch from my pull request and see if it works for you? Its successfully built the usercexample'...
by michael.o
Fri Mar 19, 2021 12:29 am
Forum: Development of MicroPython
Topic: Tensorflow and about contributing
Replies: 18
Views: 13939

Re: Tensorflow and about contributing

Thanks @v923. I will circle back later and follow those useful links to allow doing the mfcc transform in micropython using ulab.
by michael.o
Fri Mar 05, 2021 4:28 am
Forum: ESP32 boards
Topic: ESP32 port now uses CMake
Replies: 20
Views: 14987

Re: ESP32 port now uses CMake

I had some trouble getting the c++ example to build but I just finished pushing my code that supports user modules on esp32 using the rp2 port approach. https://github.com/micropython/micropython/pull/6956 Caveat : I changed how the qstr.i.last file is generated and while it works I have no idea if ...
by michael.o
Sat Feb 27, 2021 11:29 pm
Forum: ESP32 boards
Topic: ESP32 port now uses CMake
Replies: 20
Views: 14987

Re: ESP32 port now uses CMake

I was able to get the approach used by the rp2 to work on esp32 so will adapt my pull request to share the same approach. The base changes will go in on their pull request: https://github.com/micropython/micropython/pull/6960 Then I'll adjust mine(https://github.com/micropython/micropython/pull/6956...