Search found 350 matches

by stijn
Fri Sep 20, 2019 1:07 pm
Forum: General Discussion and Questions
Topic: Does anybody know what is going on with micropython?
Replies: 15
Views: 575

Re: Does anybody know what is going on with micropython?

the only truth here is that it might not work for you but it definitely works well for others. That's not how you build a community : such a reply is the best springboard for "not staying". Because if you don't care for my use case or my friend's ones . why should we care about those of yours and g...
by stijn
Fri Sep 20, 2019 8:15 am
Forum: General Discussion and Questions
Topic: Does anybody know what is going on with micropython?
Replies: 15
Views: 575

Re: Does anybody know what is going on with micropython?

The sad truth is there's no way to build something realistic with micropython on *any* platform You make some valid points, but here I think you're extrapolating your particular experience to a more general case which isn't correct. For example I've seen many neat projects here using microcontrolle...
by stijn
Tue Sep 17, 2019 3:48 pm
Forum: General Discussion and Questions
Topic: Debugger for Micropython
Replies: 13
Views: 2949

Re: Debugger for Micropython

Yes that's it.
I briefly tinkered with it and it's fairly easy to implement 'break when line in file y is hit' and print a stacktrace, but inspecting variables seems harder because not all features for that are implemented yet.
by stijn
Tue Sep 17, 2019 7:19 am
Forum: General Discussion and Questions
Topic: Debugger for Micropython
Replies: 13
Views: 2949

Re: Debugger for Micropython

With the recent addition of sys.settrace we're one step closer to a Python-level debugger..
by stijn
Mon Sep 09, 2019 2:34 pm
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

if you pass a pointer to a function, it is the caller's responsibility to allocate the required amount of memory, otherwise, all hell might break loose. But no one would consider this error prone. Depends on whom you ask, one can always find (misinformed) people who consider C and raw pointer acces...
by stijn
Mon Sep 09, 2019 10:14 am
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

Yes that's also possible, but then the calling code has to know exactly what the function is going to do and create a buffer of the correct size. Certainly doable, but more error prone and increases coupling of the code.
by stijn
Mon Sep 09, 2019 8:49 am
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

From my understanding the C function that performs the fft doesn't need access to any of the MP modules (not sure how RAM allocation for the C functions works). Ok I get what you're saying. Such fft example indeed doesn't need much 'internal' things, but just returning a new buffer does mean having...
by stijn
Mon Sep 09, 2019 8:42 am
Forum: General Discussion and Questions
Topic: Does anybody know what is going on with micropython?
Replies: 15
Views: 575

Re: Does anybody know what is going on with micropython?

the micropython-themed subs are dead. Has the project failed or something? The state of a forum isn't a good measure of project activity. Github is much better for that, and shows continuous work on the code: https://github.com/micropython/micropython/commits/master (that doesn't always reflect the...
by stijn
Sun Sep 08, 2019 10:58 am
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

With case 1 do you maen anything which access the public API, and/or can you give an example of what you consider case 2? Just asking because the public API of MicroPython (i.e. all functions which are non-static and accessible through it's headers) is pretty large in that it exposes pretty much eve...
by stijn
Tue Sep 03, 2019 6:01 pm
Forum: ESP8266 boards
Topic: ESP Wi-Fi Vulnerabilities
Replies: 0
Views: 282

ESP Wi-Fi Vulnerabilities

Not sure if this is a problem with the SDKs used by MicroPython (if so, should probably upgrade a.s.a.p), but interesting nonetheless: https://github.com/Matheus-Garbelini/es ... 66_attacks