- 01 Sep, 2021 2 commits
-
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
- 31 Aug, 2021 6 commits
-
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
EXTRA_EXPORTED_RUNTIME_METHODS is deprecated. Signed-off-by: Damien George <damien@micropython.org>
-
David Lechner authored
To keep things neat and tidy, we ensure that each file has 1 and only 1 newline at the end of each file. Signed-off-by: David Lechner <david@pybricks.com>
-
Damien George authored
Otherwise the Python network object continues to report that it is attempting to connect. Also make the return error code consistent with wifi scan. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
This makes sure deinit() can be called on the interface many times without error, and that the state of the driver is fully reset. Fixes issue #7493. Signed-off-by: Damien George <damien@micropython.org>
-
- 30 Aug, 2021 10 commits
-
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
The first 1MiB is used by the built-in bootloader and is best left as-is. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
A board can now define the following to fully customise the extended block device interface provided by the storage sub-system: - MICROPY_HW_BDEV_BLOCKSIZE_EXT - MICROPY_HW_BDEV_READBLOCKS_EXT - MICROPY_HW_BDEV_WRITEBLOCKS_EXT - MICROPY_HW_BDEV_ERASEBLOCKS_EXT Signed-off-by: Damien George <damien@micropython.org>
-
Patrick Van Oosterwijck authored
Add a new board type for ESP32-C3 revision 3 and up that implement the USB serial/JTAG port on pin 18 and 19. This variant uses the USB serial for programming and console, leaving the UART free. - Pins 18 and 19 are correctly reserved for this variant. Also pins 14-17 are reserved for flash for any ESP32-C3 so they can't be reconfigured anymore to crash the system. - Added usb_serial_jtag.c and .h to implement this interface. - Interface was tested to work correctly together with webrepl. - Interface was tested to work correctly when sending and receiving large files with ampy. - Disconnecting terminal or USB will not hang the system when it's trying to print.
-
Peter Hinch authored
-
Fernando authored
Signed-off-by: Fernando <fepegar@gmail.com>
-
Fernando authored
Signed-off-by: Fernando <fepegar@gmail.com>
-
Jim Mussared authored
Saves 71 bytes of bytecode. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
This makes fill() about 7x faster (PYBV11 and PYBD_SF6) for the cost of +40 bytes of bytecode (or 120 bytes text). Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
- 29 Aug, 2021 3 commits
-
-
iabdalkader authored
-
iabdalkader authored
* For boards a with reset switch, pressing twice resets into bootloader. * Enabled by linking with the pico_bootsel_via_double_reset library.
-
iabdalkader authored
Flash erase/program functions disable the XIP bit. If any code runs from flash at the same time (eg an IRQ or code it calls) it will fail and cause a lockup.
-
- 26 Aug, 2021 1 commit
-
-
Damien George authored
This feature {x=} was introduced in Python 3.8 so needs a separate .exp file to run on earlier Python versions. See https://bugs.python.org/issue36817Signed-off-by: Damien George <damien@micropython.org>
-
- 25 Aug, 2021 5 commits
-
-
Jim Mussared authored
This makes it work like --no-follow and --no-exclusive using a mutex group and dest. Although the current implementation with BooleanOptionAction is neater it requires Python 3.9, so don't use this feature. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
You can set one or the other (or neither) but not both. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
The --no-exclusive flag was accidentally added to the mutex group in 178198a0. The --soft-reset flag was accidentally added to the mutex group in 41adf178. These flags can be specified independently to --[no-]follow so should not be in that mutex group. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Peter Hinch authored
This achieves a substantial performance improvement when rendering glyphs to color displays, the benefit increasing proportional to the number of pixels in the glyph.
-
- 24 Aug, 2021 1 commit
-
-
Jim Mussared authored
The compiler was optimising this out already so it's a no-op change. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
- 20 Aug, 2021 2 commits
-
-
Jim Mussared authored
Saves ~1kiB. Add comment to this effect to mpconfig.h. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
- 19 Aug, 2021 10 commits
-
-
Damien George authored
And using "-B" means mpy-cross is forcefully rebuilt, sometimes with invalid CFLAGS_EXTRA options which makes the auto-build fail. Signed-off-by: Damien George <damien@micropython.org>
-
Tobias Thyrrestrup authored
Signed-off-by: Tobias Thyrrestrup <tt@LEGO.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
Hand-written version for M0, and cycle-counter version for everything else. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-
Jim Mussared authored
This is a generic API for synchronously bit-banging data on a pin. Initially this adds a single supported encoding, which supports controlling WS2812 LEDs. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-