Search found 647 matches
- Tue Feb 18, 2020 11:23 am
- Forum: Development of MicroPython
- Topic: How to invoke own method from C?
- Replies: 5
- Views: 4232
Re: How to invoke own method from C?
I posted a possible solution to this in https://github.com/micropython/micropython/pull/5660. This allows the "stem" example to work as originally intended.
- Mon Feb 03, 2020 12:35 am
- Forum: Pyboard D-series
- Topic: Pyboard-D fwupdate.py config help
- Replies: 4
- Views: 3487
Re: Pyboard-D fwupdate.py config help
There are two things of note that might be related to the issues here: The USB connector on the pyboard-D is the USB-HS port which does not support the built-in ST USB DFU bootloader . To access the low-level ST bootloader you'll need a WBUS-DIP28 which brings the USB-FS port out to the USB connecto...
- Mon Jan 06, 2020 12:28 pm
- Forum: General Discussion and Questions
- Topic: dict.keys() does not behave as set
- Replies: 4
- Views: 2857
Re: dict.keys() does not behave as set
This difference has been added to the CPython-difference part of the docs (see github for reference).
- Mon Dec 23, 2019 12:11 am
- Forum: Announcements and News
- Topic: MicroPython version 1.12 released
- Replies: 19
- Views: 123015
MicroPython version 1.12 released
We're happy to announce the next release of MicroPython, v1.12! Source code and firmware can be downloaded from https://micropython.org/download/ The full change log can be found at https://micropython.org/resources/micropython-ChangeLog.txt A summary of the changes follows. Enjoy! v1.12: PYBD board...
- Fri Nov 22, 2019 4:12 am
- Forum: Development of MicroPython
- Topic: How to soft reset the whole context of upy when process running?
- Replies: 3
- Views: 3028
Re: How to soft reset the whole context of upy when process running?
In your code you call both mp_stack_ctrl_init() and mp_stack_set_top(...). Only one of these should be called, usually it's mp_stack_ctrl_init() which sets the stack top automatically. mp_stack_set_top is only used if setting it automatically doesn't work. Otherwise, the stack limit checking is quit...
- Fri Nov 01, 2019 10:51 am
- Forum: Development of MicroPython
- Topic: ulab, or what you will - numpy on bare metal
- Replies: 108
- Views: 93469
Re: ulab, or what you will - numpy on bare metal
The PYBD_SF6 uses double precision float, and only provides the double precision math functions (eg sin, cos, not sinf, cosf). I see in your ulab code that you use "float" exclusively as the FP data type (at the C level). Is this a restriction or can it also work with double? I would suggest changin...
- Fri Nov 01, 2019 10:48 am
- Forum: Pyboard D-series
- Topic: DFU flashing 2nd partition takes 20 minutes
- Replies: 9
- Views: 5689
Re: DFU flashing 2nd partition takes 20 minutes
This really sounds like a hardware issue with the external QSPI flash, the memory-mapped one. The only thing I can suggest at this stage is to remove the PYBD_SF2 completely from anything connected to it, and power it up over USB and measure the current draw using a USB power meter. It should draw a...
- Tue Oct 29, 2019 6:15 am
- Forum: Other Boards
- Topic: Split Other Boards into port specific forums?
- Replies: 2
- Views: 2358
Re: Split Other Boards into port specific forums?
I think it makes sense to create new sub-forums for ports, but only as they see interest/use. The nrf port is a good candidate to start with.
- Wed Oct 16, 2019 10:55 am
- Forum: General Discussion and Questions
- Topic: Raw mode and help missing from the Unix port?
- Replies: 7
- Views: 4720
Re: Raw mode and help missing from the Unix port?
Some of the unix command-line test do run the unix port through a piped connection to a subprocess with redirected input, so that is certainly possible. In such a case raw REPL would be useful.
- Wed Oct 16, 2019 10:53 am
- Forum: MicroPython pyboard
- Topic: What is lowest consumption of D-series?
- Replies: 5
- Views: 4079
Re: What is lowest consumption of D-series?
When developing the pyboard D-series we did a lot of low-power measurements and optimisations, because it was a key goal to obtain optimal lowspower operation of the MCU and WiFi chips. Not all low-power features are available yet, nor all characterised, but to give you an idea: in lowest power mode...