Search found 892 matches

by jimmo
Fri Dec 06, 2019 3:17 am
Forum: ESP8266 boards
Topic: RTC vs machine.Timer
Replies: 2
Views: 117

Re: RTC vs machine.Timer

Is this the correct file for the ESP8266 machine.Timers code? If so, am I reading correctly that the Timer implementation is based on the same clock source as utime.ticks_us? If that's the case then is my assumption that Timer instances should share the same accuracy as utime.ticks_us? Yes that is ...
by jimmo
Fri Dec 06, 2019 3:03 am
Forum: General Discussion and Questions
Topic: PWM hardware fade
Replies: 1
Views: 148

Re: PWM hardware fade

Unfortunately the ledc_*fade functions are not exposed to the Python API. It would be really cool to support this though. I wonder if rather than implementing this as part of the Python machine.PWM API, it might make sense to implement this as esp32.LEDControl as it does seem like that would be quit...
by jimmo
Fri Dec 06, 2019 2:58 am
Forum: Development of MicroPython
Topic: How to build uPy going forwards?
Replies: 1
Views: 141

Re: How to build uPy going forwards?

To your general comment -- yes I agree the "onboarding" experience for a new developer can be quite confusing, and there's lots of work we can do to improve it. Especially if someone is not already familiar with the sorts of tools and styles used, there's a lot to learn. I think that part of this is...
by jimmo
Wed Dec 04, 2019 9:27 am
Forum: General Discussion and Questions
Topic: get more free RAM...
Replies: 16
Views: 390

Re: get more free RAM...

If I understood it right, there are two possibilities: "Freeze modules" and "precompiling to .mpy", right? Both seem quite complex to me. It's just something else than only saving the .py files on the device. Yes. Both are alternatives to saving the .py files on the device. You can generate an .mpy...
by jimmo
Tue Dec 03, 2019 2:37 am
Forum: Development of MicroPython
Topic: Can't build a module to micropython on esp32 port
Replies: 4
Views: 249

Re: Can't build a module to micropython on esp32 port

The build process don't wildcard match files. It's not enough just to place the file in ports/esp32. It might actually work if you put it in the board directory (i.e. ports/esp32/boards/GENERIC) but you're better off using the instructions that you linked to and setting it up in a different director...
by jimmo
Tue Dec 03, 2019 2:00 am
Forum: Programs, Libraries and Tools
Topic: Low level details documentation
Replies: 2
Views: 177

Re: Low level details documentation

Hi, To your specific question: Most ports use LWIP for their TCP stack. either directly (e.g. STM32), or via an arch-specific SDK (e.g. ESP32 via IDF). LWIP supports TCP_KEEPIDLE, but only when built with "#define LWIP_TCP_KEEPALIVE 1". For STM32, you could set this in ports/stm32/lwip_inc/lwipopts....
by jimmo
Mon Dec 02, 2019 11:00 pm
Forum: ESP32 boards
Topic: About BLE.gap_connect(esp32-based ubluetooth)
Replies: 41
Views: 2071

Re: About BLE.gap_connect(esp32-based ubluetooth)

I'm connecting it with ESP32(arduino) and arduino 101 and Android Phones.They all work normally. For micropython,I used to connect with old firmware(2017-08) and was able to connect successfully. So, heart rate sensors work normally, maybe I'll wait. Sorry I'm still not quite sure I follow... Is it...
by jimmo
Mon Dec 02, 2019 10:41 pm
Forum: Development of MicroPython
Topic: Tensorflow and about contributing
Replies: 5
Views: 292

Re: Tensorflow and about contributing

You might also find this project interesting and useful if you're working on a tensorflow-like library: https://github.com/v923z/micropython-ulab

It's also relevant as a good example of how to write functionality in C outside of the main tree.
by jimmo
Mon Dec 02, 2019 9:11 pm
Forum: ESP32 boards
Topic: TinyPICO Firmware
Replies: 4
Views: 173

Re: TinyPICO Firmware

Right now, there's no difference I think, but Seon's plan is to make it include some extra libraries to support board functionality (like the rgb led). (Which I think are included in the firmware it ships with?)
by jimmo
Mon Dec 02, 2019 1:04 am
Forum: Pyboard D-series
Topic: BLE Pairing & bonding
Replies: 1
Views: 197

Re: BLE Pairing & bonding

BLE features are being tracked at https://github.com/micropython/micropython/issues/5186

But in summary... it's on the TODO list.