Search found 104 matches

by ttmetro
Sun Jan 07, 2018 6:55 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 539570

Re: MicroPython on ESP32 with SPIRAM support

@roberthh and @loboris: Thanks a million, everything works now as expected!
by ttmetro
Sat Jan 06, 2018 9:38 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 539570

Re: MicroPython on ESP32 with SPIRAM support

How do I add a custom C-module? I added it to SRC_C in components/microphython/component.mk . It compiles, but does not get included in the firmware. Code (with probably more headers than I need): #include <stdio.h> #include <sys/time.h> #include <time.h> #include <string.h> #include "freertos/FreeR...
by ttmetro
Tue Dec 19, 2017 11:55 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 539570

Re: MicroPython on ESP32 with SPIRAM support

Is there also a ready to use binary i can flash with esp32 tool? atm i'm working only under windows and not that firm with the whole build process. More than you are asking for, but it does include a compiled binary: https://github.com/bboser/IoT49 . The compiled firmware is here: https://github.co...
by ttmetro
Sat Dec 16, 2017 12:48 am
Forum: Development of MicroPython
Topic: portmodules.h: No such file or directory
Replies: 3
Views: 3327

portmodules.h: No such file or directory

I'm following the tutorial for adding modules (http://micropython-dev-docs.readthedocs.io/en/latest/adding-module.html) and am trying to add "mymodule" to the standard esp32 port (the new rebased one). Compilation fails with portmodules.h: No such file or directory : make Use make V=1 or set BUILD_V...
by ttmetro
Fri Dec 15, 2017 11:46 pm
Forum: Programs, Libraries and Tools
Topic: mpfshell: how to execute a file
Replies: 4
Views: 4699

Re: mpfshell: how to execute a file

I added a run command to rshell at https://github.com/bboser/rshell.
by ttmetro
Fri Dec 15, 2017 11:40 pm
Forum: ESP32 boards
Topic: no /flash in standard ESP32 build
Replies: 4
Views: 3500

Re: no /flash in standard ESP32 build

I also found that -a is required with the ESP32.
Maybe it would make sense to reduce the default buffer size below 255 and make -a default (in my version it is). Of course better hardware (pyboard) works well with the current defaults.

Bernhard
by ttmetro
Fri Dec 15, 2017 2:38 am
Forum: ESP32 boards
Topic: no /flash in standard ESP32 build
Replies: 4
Views: 3500

Re: no /flash in standard ESP32 build

I've made a custom rshell (https://github.com/bboser/rshell) for the ESP32 port (should still work with other hardware, but I have not checked).

Aside from the path issue, I had to reduce the BUFFER_SIZE for file transfers to 255, apparently the maximum the ESP32 port can stomach.

Bernhard
by ttmetro
Thu Dec 14, 2017 7:00 pm
Forum: ESP32 boards
Topic: no /flash in standard ESP32 build
Replies: 4
Views: 3500

no /flash in standard ESP32 build

Is it possible to configure the ESP32 port to use /flash as root rather than /?
(for compatibility with rshell).

Bernhard
by ttmetro
Tue Dec 12, 2017 9:26 pm
Forum: MicroPython pyboard
Topic: ADC Vref
Replies: 4
Views: 3258

Re: ADC Vref

I see, the internal reference is only and input, it is never applied to the ADC Vref, which is 3.3V. Exactly what I need for ratiometric readout.

2nd Question: Apparently adc.read_timed is blocking? Are interrupts still served?

Thanks!
Bernhard
by ttmetro
Mon Dec 11, 2017 9:33 pm
Forum: MicroPython pyboard
Topic: ADC Vref
Replies: 4
Views: 3258

ADC Vref

Can I set the ADC to use the 3.3V supply (or a voltage supplied on a pin) for Vref on the pyboard in Micropython?

Many thanks,
Bernhard