Search found 505 matches

by Damien
Tue Mar 21, 2017 4:37 am
Forum: ESP8266 boards
Topic: New buidl with scheduler breaks code
Replies: 5
Views: 144

Re: New buidl with scheduler breaks code

Thanks guys for testing this new code. I'm really trying to maintain backwards compatibility where possible, while at the same time improving the general state of the port with these features. It's good that you are catching these issues so quickly. The problem should now be fixed and old code shoul...
by Damien
Wed Mar 15, 2017 11:52 am
Forum: Development of MicroPython
Topic: %string formatting on decimal zero bug
Replies: 2
Views: 105

Re: %string formatting on decimal zero bug

This is now fixed. Thanks for the report!
by Damien
Fri Mar 10, 2017 10:27 pm
Forum: ESP8266 boards
Topic: mpy-cross not making files smaller
Replies: 8
Views: 244

Re: mpy-cross not making files smaller

Compiled .mpy files can sometimes be large on disk, but usually when you load them into your program (ie import them) they take up a lot less RAM than the size of their file. There are a few things to look out for: ⋅  .mpy files store the source file name of the original .py file, includin...
by Damien
Fri Feb 24, 2017 10:20 pm
Forum: Development of MicroPython
Topic: ESP32: Optimizing Heap and Stack Allocation
Replies: 1
Views: 175

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: 134

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: 238

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: 32
Views: 1880

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: 32
Views: 1880

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: 32
Views: 1880

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: 2350

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.

Go to advanced search