Search found 629 matches

by jickster
Mon Oct 02, 2017 8:54 pm
Forum: Development of MicroPython
Topic: how to decompile bytecode into human readable format
Replies: 15
Views: 13918

how to decompile bytecode into human readable format

I used the mpy-cross utility to turn a .py into a bytecode .mpy file.

Is it possible to decompile the .mpy into human readable format?
by jickster
Fri Sep 29, 2017 7:12 pm
Forum: Development of MicroPython
Topic: Debugger plans?
Replies: 5
Views: 5763

Re: Debugger plans?

Can't speak for the authors but I think there's more important work to do at the moment, debugging might not fit in the 'Micro' spirit, and it might not really be needed: in most cases a little bit of knowledge of uPy's internals and knowing how to use your favourite C debugger are just as good, if...
by jickster
Thu Sep 28, 2017 10:06 pm
Forum: Development of MicroPython
Topic: Debugger plans?
Replies: 5
Views: 5763

Re: Debugger plans?

mikaeleiman wrote:Hi,

I've looked around for plans on adding support for debugging Python code when running Micropython, but didn't find a whole lot other than someone saying "that's worth discussing" here on the forum.

Are there any plans?
Ping. Any updates?
by jickster
Mon Sep 25, 2017 1:51 pm
Forum: General Discussion and Questions
Topic: how to list all available modules to import
Replies: 3
Views: 3138

Re: how to list all available modules to import

help('modules') That gives me this: >>> help('modules') object modules is of type str decode -- <function> encode -- <function> find -- <function> rfind -- <function> index -- <function> rindex -- <function> join -- <function> split -- <function> rsplit -- <function> startswith -- <function> endswi...
by jickster
Fri Sep 22, 2017 8:47 pm
Forum: Announcements and News
Topic: Forum FAQ
Replies: 6
Views: 59713

Re: Forum FAQ

It would be really helpful to mark a thread as CLOSED/SOLVED to help other people.

Ideally, the thread author or admin could do it or more trusted users could vote to close

....

Which brings me to another point: it'd be nice to have functionality similar to stackoverflow.
by jickster
Thu Sep 21, 2017 6:16 pm
Forum: Development of MicroPython
Topic: heap - what if it's disabled?
Replies: 1
Views: 1845

heap - what if it's disabled?

What happens if you disable the heap?
MICROPY_ENABLE_GC
by jickster
Fri Sep 15, 2017 8:05 pm
Forum: General Discussion and Questions
Topic: how to list all available modules to import
Replies: 3
Views: 3138

how to list all available modules to import

What's the command, to run on serial console, to list all the available modules that can be imported?
by jickster
Fri Sep 15, 2017 1:42 pm
Forum: Announcements and News
Topic: Forum FAQ
Replies: 6
Views: 59713

Re: Forum FAQ

Is there a way to expedite the code-tag approval process?
by jickster
Thu Sep 14, 2017 1:24 pm
Forum: Development of MicroPython
Topic: what does function nlr_jump do?
Replies: 1
Views: 2042

what does function nlr_jump do?

I'm refactoring micro python into a C++ class but I don't know if I need to include the following function __attribute__((noreturn)) __attribute__((naked)) void nlr_jump(void *val) { nlr_buf_t **top_ptr = &(mp_state_ctx.thread.nlr_top); nlr_buf_t *top = *top_ptr; if (top == ((void *)0)) { nlr_jump_f...