Search found 502 matches

by Damien
Fri Feb 24, 2017 10:20 pm
Forum: Development of MicroPython
Topic: ESP32: Optimizing Heap and Stack Allocation
Replies: 1
Views: 101

Re: ESP32: Optimizing Heap and Stack Allocation

Unfortunately a lot of the "512k" RAM of the esp32 is not available for the user's app. To start with, there's only 320k of actual DRAM to store stack, data and bss (the rest seems to be used for caching of flash). If you have bluetooth enabled (MicroPython doesn't, yet) then that uses 64k...
by Damien
Mon Jan 30, 2017 2:10 pm
Forum: Other Boards
Topic: SPIFLASH for STM32L476DISC Speed is very slow
Replies: 2
Views: 116

Re: SPIFLASH for STM32L476DISC Speed is very slow

It is a simple configuration option that you can easily disable so that internal Flash is used instead of external SPI flash.

Otherwise, the performance will eventually be improved.

Sent from my GT-I9105P using Tapatalk
by Damien
Mon Jan 30, 2017 2:04 pm
Forum: ESP8266 boards
Topic: I2C improvements in 1.8.7
Replies: 3
Views: 217

Re: I2C improvements in 1.8.7

Thanks @deshipu for the feedback. The main driver for improving machine.I2C was the new LCD160CR display in the uPy shop. It needs a fast and robust I2C implementation with support for nacks.

Sent from my GT-I9105P using Tapatalk
by Damien
Tue Jan 24, 2017 11:02 pm
Forum: Other Boards
Topic: Esp32 port
Replies: 17
Views: 1070

Re: Esp32 port

I am very happy to report that, after some discussion, Pycom will be joining forces with us on the ESP32 port! We will be merging our efforts and code and the core ESP32 port will be MIT licensed with contributions from Pycom. Here is their announcement (see their forum https://forum.pycom.io/topic/...
by Damien
Tue Jan 24, 2017 10:57 pm
Forum: Other Boards
Topic: Esp32 port
Replies: 17
Views: 1070

Re: Esp32 port

torwag wrote:Could you share which board you use for dev and testing. It might be helpful, if people first start on a common HW resp. source to avoid misleading bug reports due to board differences or unreliable sources.


I'm using the LoPy, but it's also known to work on the SparkFun ESP32 Thing.
by Damien
Fri Jan 20, 2017 3:56 am
Forum: Other Boards
Topic: Esp32 port
Replies: 17
Views: 1070

Re: Esp32 port

@marfis thanks for starting this topic. As it says in the README, this ESP32 port was sponsored by an Australian company Microbric. They were very keen to see an MIT-licensed port of MicroPython to this chip, so that they, and other people, can use it freely in their own products. The core of the po...
by Damien
Mon Nov 28, 2016 4:11 am
Forum: Development of MicroPython
Topic: Code breaking change to stm module
Replies: 1
Views: 2323

Re: Code breaking change to stm module

This was an unintended breaking-change. The constants stm.GPIO_BSRRL and stm.GPIO_BSRRH have been added back to the module (for F4 MCUs only). Although these constants will stick around, it's recommended to use just GPIO_BSRR, to conform with the datasheet of the microcontroller.
by Damien
Mon Nov 07, 2016 12:28 pm
Forum: The WiPy
Topic: WiPy 2/ESP32 specs and performance
Replies: 13
Views: 3863

Re: WiPy 2/ESP32 specs and performance

I now have a LoPy board and have run some basic tests to see how the ESP32 compares with the ESP8266. I'm using the latest firmware from Pycom, 0.9.3.b2. It's hard to tell what version of uPy it is based on because the git hash doesn't correspond to anything in the main uPy repository. The time modu...
by Damien
Mon Nov 07, 2016 6:07 am
Forum: ESP8266 boards
Topic: Downloading 1GB of data with MicroPython ESP8266 port
Replies: 26
Views: 2896

Re: Downloading 1GB of data with MicroPython ESP8266 port

I had a go with @pfalcon's test_dl.py script but didn't get very good results: after running for a few hours I only managed 1 full download of the 24mb file (SHA passed). Other tests either had ETIMEOUT or only downloaded part of the file and failed the SHA. It ran at about 6k/s which is pretty slow...
by Damien
Mon Nov 07, 2016 2:03 am
Forum: General Discussion and Questions
Topic: const no longer a keyword
Replies: 2
Views: 239

Re: const no longer a keyword

"const" was never a keyword in the strict sense of the lexer (eg "for" is a keyword). The recent changes to "const" usage are the following: ⋅  micropython.const(x) function was added, which just returns its argument. ⋅  all Python scripts in the mic...

Go to advanced search