- 03 Jun, 2022 15 commits
-
-
Andrew Leech authored
Signed-off-by: Andrew Leech <andrew@alelec.net>
-
Andrew Leech authored
Because the submodule list can be updated by cmake files. Signed-off-by: Andrew Leech <andrew@alelec.net>
-
Andrew Leech authored
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k. If MICROPY_PY_LWIP is enabled it uses the lwIP TCP stack in MicroPython, communicating with the Wiznet controller in MACRAW mode. In this mode it supports using the INTN pin from Wiznet controller to receive data from an interrupt trigger. If lwIP is not enabled, it runs in modnetwork/socket mode providing an interface to the TCP stack running on the Wiznet controller chip. In this mode it includes some updates by @irinakim12 from #8021, most notably bringing in DHCP support. Supports defining hardware pins in board config or dynamically set at runtime. Sets a default MAC address in the random namespace from board unique-id. Signed-off-by: Andrew Leech <andrew@alelec.net>
-
Andrew Leech authored
Signed-off-by: Andrew Leech <andrew@alelec.net>
-
Andrew Leech authored
So C can can easily configure a pin interrupt and callback. Signed-off-by: Andrew Leech <andrew@alelec.net>
-
Andrew Leech authored
Signed-off-by: Andrew Leech <andrew@alelec.net>
-
Andrew Leech authored
-
Andrew Leech authored
This commit enables extra features from the ROM levels and further simplifies mpconfigport.h. The changes are: - NRF51822 & BLUETOOTH_SD -> MICROPY_CONFIG_ROM_LEVEL_MINIMUM - no changes - NRF51822 -> MICROPY_CONFIG_ROM_LEVEL_CORE_FEATURES - MICROPY_PY_IO = 1 - NRF52832 -> MICROPY_CONFIG_ROM_LEVEL_BASIC_FEATURES - MICROPY_PY_IO = 1 - NRF52840, NRF9160 -> MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES - MICROPY_COMP_MODULE_CONST = 1 - MICROPY_COMP_TRIPLE_TUPLE_ASSIGN = 1 - MICROPY_OPT_MPZ_BITWISE = 1 - MICROPY_PY_ALL_SPECIAL_METHODS = 1 - MICROPY_PY_BUILTINS_EXECFILE = 1 - MICROPY_PY_BUILTINS_SLICE_ATTRS = 1 - MICROPY_PY_BUILTINS_STR_CENTER = 1 - MICROPY_PY_BUILTINS_STR_PARTITION = 1 - MICROPY_PY_BUILTINS_STR_SPLITLINES = 1 - MICROPY_PY_CMATH = 1 - MICROPY_PY_COLLECTIONS_ORDEREDDICT = 1 - MICROPY_PY_FRAMEBUF = 1 - MICROPY_PY_IO = 1 - MICROPY_PY_MATH_SPECIAL_FUNCTIONS = 1 - MICROPY_PY_SYS_STDIO_BUFFER = 1 - MICROPY_PY_UCTYPES = 1 - MICROPY_PY_UHEAPQ = 1 - MICROPY_PY_UJSON = 1 - MICROPY_PY_URE = 1 - MICROPY_PY_UZLIB = 1 - MICROPY_REPL_EMACS_KEYS = 1
-
Andrew Leech authored
This commit is a no-op change to simplify existing config.
-
Andrew Leech authored
Whole packets are now pushed up to the higher layer of the BLE stack, instead of buffering the packets so individual bytes can be requested.
-
Andrew Leech authored
This can improve efficiency for Bluetooth systems that already process whole packets at the lower layers.
-
Takeo Takahashi authored
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
-
Takeo Takahashi authored
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
-
robert-hh authored
The nxp_driver v2.10 allows for/requires some changes to the code: - Remove some part of pwm_backlog.*, which is provided by the lib now. - Change eth.c: the newer versions have additional parameters of the library versions. - Change sdcard.c: use TransferBlocking instead of TransferNonblocking. - Add some support for the MIMXRT1176 device. - Set the clocks for UART, I2C, Timer. - Integrate the I2S module and fix a rebase error. - Use blocking transfer only for SPI. It's faster and interferes less with other modules. - Use the clock_config.c files of library v2.8.5. The mimxrt files keeps the clock_config.c files from Verson 2.8.5. With clock_config.c from v2.10, the boards do not work. Refactoring of the clock set-up is on the to-do list. - Enable expiry timers for UART, I2C and SPI, avoiding a stall in library code. - The clock_config.* files are moved from the board-specific directories to the boards directory and given a MCU related name.
-
robert-hh authored
-
- 02 Jun, 2022 15 commits
-
-
iabdalkader authored
-
Damien George authored
This fixes the cases where the task being waited on finishes just before or just after the wait_for itself is cancelled. Fixes issue #8717. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
It's no longer needed because this macro is now processed after preprocessing the source code via cpp (in the qstr extraction stage), which means unused MP_REGISTER_MODULE's are filtered out by the preprocessor. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
This cleans up the parsing of MP_REGISTER_MODULE() and generation of genhdr/moduledefs.h so that it uses the same process as compressed error string messages, using the output of qstr extraction. This makes sure all MP_REGISTER_MODULE()'s that are part of the build are correctly picked up. Previously the extraction would miss some (eg if you had a mod.c file in the board directory for an stm32 board). Build speed is more or less unchanged. Thanks to @stinos for the ports/windows/msvc/genhdr.targets changes. Signed-off-by: Damien George <damien@micropython.org>
-
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
This gives more information to the user when doing updates from SPI flash. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
The following changes are made: - Use software SPI for external SPI flash access when building mboot. - Enable the mboot filesystem-loading feature, with FAT FS support. - Increase the frequency of the CPU when in mboot to 96MHz, to increase the speed of SPI flash accesses and programming. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
This allows a board to modify initial_r0 if needed. Also make default board behaviour functions always available, named as mboot_get_reset_mode_default and mboot_state_change_default. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
In case the elements should not be passed directly to machine.bootloader. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
This was missed in b2deea67Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
And allow it to be configured externally, if needed. Signed-off-by: Damien George <damien@micropython.org>
-
Jared Hancock authored
-
- 01 Jun, 2022 2 commits
-
-
Damien George authored
I2C transfers are much more efficient if they are combined, instead of doing separate writes and reads. Fixes issue #7134. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
This option is useful for ports where it's more efficient to do a full I2C transfer in one go. Signed-off-by: Damien George <damien@micropython.org>
-
- 27 May, 2022 5 commits
-
-
Andrew Leech authored
-
robert-hh authored
-
robert-hh authored
The procedure given here will work whether or not the DevKit motherboard is used and is equipped with the support MCU. It is laborious but works.
-
robert-hh authored
This shortens the quickref. Also change the note about the hardware SPI frequeny limits.
-
robert-hh authored
-
- 26 May, 2022 3 commits
-
-
Damien George authored
And make it so this test can run on any target. LED and time testing has been removed from this test, that can now be tested using: ./run-tests.py --via-mpy --emit native. Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-
Damien George authored
Signed-off-by: Damien George <damien@micropython.org>
-