Search found 167 matches

by danielm
Mon Nov 14, 2016 3:56 pm
Forum: Other Boards
Topic: MicroPython on USR-C322 (CC3200)
Replies: 1
Views: 1865

Re: MicroPython on USR-C322 (CC3200)

I use similar modules - I think they are exactly the same from HW point of view.
(e.g. http://www.alibaba.com/product-detail/C ... 0.0.jylGWm)

Some pictures here: http://forum.micropython.org/viewtopic. ... ter#p11503
by danielm
Sun Nov 13, 2016 6:55 pm
Forum: General Discussion and Questions
Topic: JSON string vs bytearray
Replies: 1
Views: 1563

JSON string vs bytearray

What is the best approach when attempting to construct JSON string repeatedly in every cycle of main loop in case one wants to avoid memory allocation in every cycle? Could formatted string be somehow directly stored in pre-allocated bytearray? The JSON string always contains same keys, but lenght(n...
by danielm
Sun Nov 13, 2016 6:44 pm
Forum: General Discussion and Questions
Topic: Cross compiled module vs class inheritance
Replies: 4
Views: 3173

Re: Cross compiled module vs class inheritance

Thank you for your answers. I am working with CC3200 so unfortunately I cannot use frozen bytecode from flash. But it is good to know it works also in this case. I am using this approach for several days and there were no issues directly related to inheriting classes from cross-compiled modules. @py...
by danielm
Sun Nov 13, 2016 6:35 pm
Forum: General Discussion and Questions
Topic: Remove imported module from RAM
Replies: 62
Views: 16003

Re: Remove imported module from RAM

Thanks, I will try that.
by danielm
Sat Nov 12, 2016 7:02 pm
Forum: General Discussion and Questions
Topic: Remove imported module from RAM
Replies: 62
Views: 16003

Remove imported module from RAM

Is there any way how to remove imported module from RAM?

E.g. - it would make sense for untplib/NTPClient which is usually required to be used only once during boot process.

Class instantiated as an object can be deleted from RAM by "del" method?
by danielm
Wed Nov 09, 2016 10:01 pm
Forum: Other Boards
Topic: Porting to STM32L476Discovery/LimiFrog
Replies: 44
Views: 20870

Re: Porting to STM32L476Discovery/LimiFrog

I just found out that this Moto Mod devkit for Lenovo Moto Z smartphones uses L476:
https://developer.motorola.com/build/mdk-user-guide

https://www.youtube.com/watch?v=HLSLrzmcXGM&t=185s

What changes needs to be done to your port to make it running on that devkit?
by danielm
Fri Nov 04, 2016 8:53 am
Forum: General Discussion and Questions
Topic: Cross compiled module vs class inheritance
Replies: 4
Views: 3173

Cross compiled module vs class inheritance

I am developing HVAC device controller board based on CC3200. Because of limited RAM resources I had to put most of the code into cross-compiled module containing one class which I instantiate in main.py and call function with main loop. Because of the fact that uploading .py files to Linux server, ...
by danielm
Fri Nov 04, 2016 7:57 am
Forum: WiPy and CC3200 boards
Topic: RFC: Moving forward with the WiPy/CC3200 port
Replies: 6
Views: 3940

Re: RFC: Moving forward with the WiPy/CC3200 port

I would also like to clarify which CC3200 service pack will be used during testing? Latest one is 1.0.1.6-2.7.0.0 (http://processors.wiki.ti.com/index.php/CC32xx_Release_Notes) while flash instructions for CC3200 port on GitHub still mention 1.0.0.10.0 (https://github.com/micropython/micropython/tre...
by danielm
Thu Nov 03, 2016 8:38 pm
Forum: WiPy and CC3200 boards
Topic: RFC: Moving forward with the WiPy/CC3200 port
Replies: 6
Views: 3940

Re: RFC: Moving forward with the WiPy/CC3200 port

Damien, thank you for your effort to maintain CC3200 port in the future. Does it mean that Pycom people are not going to support their first product any more?

I am ok with backwards-incompatible changes, I will update my scripts I am actively using.