| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-04-15 | py/runtime: Fix mp_unpack_ex so seq can't be reclaimed by GC during use. | Damien George | |
| The issue described in the comment added here can be seen by forcing a gc_collect() at the start of each call to gc_alloc(). | |||
| 2019-04-15 | py/objset: Remove unused forward declaration and clean up whitespace. | Damien George | |
| 2019-04-15 | py/runtime: Optimise to not create temp float for int to power negative. | Damien George | |
| 2019-04-12 | py/makedefs: Use io.open with utf-8 encoding when processing source. | Damien George | |
| In case (user) source code contains utf-8 encoded data and the default locale is not utf-8. See #4592. | |||
| 2019-04-12 | stm32/rtc: Remove non-ASCII mu-character from source code comment. | Damien George | |
| And fix a typo in the comment on this line. | |||
| 2019-04-11 | zephyr/CMakeLists.txt: Set AR to point to the Zephyr toolchain exe. | Damiano Mazzella | |
| 2019-04-11 | stm32/rtc: Remove unused LSE detection code. | Damien George | |
| 2019-04-11 | stm32/rtc: Add auto-LSE-bypass detection with fallback to LSE then LSI. | Damien George | |
| If MICROPY_HW_RTC_USE_BYPASS is enabled the RTC startup goes as follows: - RTC is started with LSE in bypass mode to begin with - if that fails to start (after a given timeout) then LSE is reconfigured in non-bypass - if that fails to start then RTC is switched to LSI | |||
| 2019-04-11 | extmod/modlwip: Abort TCP conns that didn't close cleanly in a while. | Damien George | |
| 2019-04-09 | stm32/boards/NUCLEO_L432KC: Disable complex nos and default frozen mods. | Damien George | |
| To save space, since this board only hase 256k of flash. | |||
| 2019-04-08 | tools/mpy-tool.py: Fix init of QStrWindow, and remove unused variable. | Damien George | |
| The qstr window size is not log-2 encoded, it's just the actual number (but in mpy-tool.py this didn't lead to an error because the size is just used to truncate the window so it doesn't grow arbitrarily large in memory). Addresses issue #4635. | |||
| 2019-04-08 | stm32/boards/NUCLEO_H743ZI: Add config options to support mboot. | Damien George | |
| 2019-04-08 | stm32/mboot: Add support for H7 MCUs, with H743 flash layout. | Damien George | |
| 2019-04-08 | stm32/usbd_conf: Add support for USB HS peripheral on H7 MCUs. | Damien George | |
| 2019-04-08 | stm32/i2cslave: Add support for H7 MCUs. | Damien George | |
| 2019-04-08 | tools/mpy-tool.py: Adjust use of super() to make it work with Python 2. | Damien George | |
| Fixes the regression introduced in ea3c80a514c5dc4cc3a8349815eceec4fa1ac57f | |||
| 2019-04-05 | stm32/network_wiznet5k: Automatically set MAC if device doesn't have one | Damien George | |
| 2019-04-05 | stm32/network_wiznet5k: Add ability to set the MAC address. | Damien George | |
| 2019-04-05 | stm32/network_wiznet5k: Add ability to trace Ethernet TX and RX frames. | Damien George | |
| Via: nic.config(trace=2|4) | |||
| 2019-04-05 | esp32/boards/sdkconfig: Disable WDT check of idle task on CPU1. | Damien George | |
| With dual-core enabled it's possible that the uPy task has full utilisation of CPU1. Fixes issue #4673. | |||
| 2019-04-04 | tests/run-tests: Ignore exception in process kill when ending repl test. | stijn | |
| When running Linux on WSL, Popen.kill() can raise a ProcessLookupError if the process does not exist anymore, which can happen here since the previous statement already tries to close the process by sending Ctrl-D to the running repl. This doesn't seem to be a problem on other OSes, so just swallow the exception silently since it indicates the process has been closed already, which after all is what we want. | |||
| 2019-04-03 | extmod/modlwip: Use correct listening socket object in accept callback. | Damien George | |
| Since commit da938a83b587c7387b8849f795f3497735d14267 the tcp_arg() that is set for the new connection is the new connection itself, and the parent listening socket is found in the pcb->connected entry. | |||
| 2019-04-01 | nrf/Makefile: Update to match latest oofatfs version. | Glenn Ruben Bakke | |
| See corresponding commit b5f33ac2cb6076468a77f36d69df6db16b62134a | |||
| 2019-04-01 | stm32/moduos: Allow to compile again without USB enabled. | Damien George | |
| 2019-04-01 | lib/stm32lib: Update library to fix F7 MMC capacity calculation. | Damien George | |
| 2019-04-01 | stm32: Add support for MMC driver, exposed via pyb.MMCard class. | Damien George | |
| Enable it via MICROPY_HW_ENABLE_MMCARD. | |||
| 2019-04-01 | stm32: Rename MICROPY_HW_HAS_SDCARD to MICROPY_HW_ENABLE_SDCARD. | Damien George | |
| For consistency with the majority of other MICROPY_HW_ENABLE_xxx macros. | |||
| 2019-04-01 | stm32/uart: Handle correctly the char overrun case of RXNE=0 and ORE=1. | Damien George | |
| Fixes issue #3375. | |||
| 2019-04-01 | extmod/modlwip: Free any stored incoming bufs/connections on TCP error. | Damien George | |
| 2019-04-01 | extmod/modlwip: Protect socket.accept with lwIP concurrency lock. | Damien George | |
| This is needed now that the accept queue can have pending connections removed asynchronously. | |||
| 2019-04-01 | extmod/modlwip: Handle case of accept callback called with null PCB. | Damien George | |
| 2019-04-01 | extmod/modlwip: Handle case of connection closing while on accept queue. | Damien George | |
| In such a case the connection is aborted by lwIP and so must be removed from the pending accept queue. | |||
| 2019-04-01 | stm32/timer: Expose the PWM BRK capability of Timer 1 and 8. | roland van straten | |
| The break mode is configurable via the 'brk' keyword to the Timer constructor and init method. It's disabled by default. | |||
| 2019-04-01 | stm32: Make default USB_VCP stream go through uos.dupterm for main REPL. | Andrew Leech | |
| Use uos.dupterm for REPL configuration of the main USB_VCP(0) stream on dupterm slot 1, if USB is enabled. This means dupterm can also be used to disable the boot REPL port if desired, via uos.dupterm(None, 1). For efficiency this adds a simple hook to the global uos.dupterm code to work with streams that are known to be native streams. | |||
| 2019-03-29 | docs/develop: Remove paragraph that was copied in error from other doc. | Damien George | |
| 2019-03-29 | stm32/Makefile: Allow to override CROSS_COMPILE with included Makefile. | Boris Vinogradov | |
| 2019-03-28 | stm32/boards/STM32L476DISC: Enable servo support on STM32L476DISC board. | Boris Vinogradov | |
| 2019-03-28 | docs/esp32: Add example for pin isolation in combination with deepsleep. | spacemanspiff2007 | |
| 2019-03-27 | esp32/boards: Enable dual core support by default. | Damien George | |
| Single core is still supported, just by adding CONFIG_FREERTOS_UNICORE=y to a custom sdkconfig file. | |||
| 2019-03-27 | esp32/mpthreadport: Exit vPortCleanUpTCB early if threading not init'd. | Damien George | |
| 2019-03-27 | unix/mpthreadport: Use named semaphores on Mac OS X. | Damiano Mazzella | |
| Unnamed semaphores (via sem_init) are not supported on this OS. See #4465. | |||
| 2019-03-27 | tests/extmod: Add test for FAT filesystem on a very large block device. | Damien George | |
| 2019-03-26 | stm32/mpconfigport.h: Remove malloc/free/realloc helper macros. | Damien George | |
| These macros are unused, and they can conflict with other entities by the same name. If needed they can be provided as static inline functions, or just functions. Fixes issue #4559. | |||
| 2019-03-26 | mpy-cross: Support compiling with MICROPY_PY___FILE__ enabled. | Damien George | |
| 2019-03-26 | extmod/vfs_fat: Fallback to FAT32 if standard FAT16/SFD format fails. | Andrew Leech | |
| This allows formatting SD cards, larger flash etc which do not support the default FAT16/SFD format mode. | |||
| 2019-03-26 | stm32/system_stm32: Provide default value for HSI calibration. | roland van straten | |
| If HSI is used the calibration value must be valid. Fixes #4596. | |||
| 2019-03-26 | tools/pyboard.py: Add missing line from example usage comments. | rhubarbdog | |
| 2019-03-26 | py/nlrthumb: Add support for iOS where the C func is _nlr_push_tail. | Romain Goyet | |
| 2019-03-26 | py/scheduler: Convert micropythyon.schedule() to a circular buffer. | Andrew Leech | |
| This means the schedule operates on a first-in, first-executed manner rather than the current last-in, first executed. | |||
| 2019-03-26 | zephyr/i2c: Add support for hardware i2c. | Maureen Helm | |
| Adds support for hardware i2c to the zephyr port. Similar to other ports such as stm32 and nrf, we only implement the i2c protocol functions (readfrom and writeto) and defer memory operations (readfrom_mem, readfrom_mem_into, and writeto_mem) to the software i2c implementation. This may need to change in the future because zephyr is considering deprecating its i2c_transfer function in favor of i2c_write_read; in this case we would probably want to implement the memory operations directly using i2c_write_read. Tested with the accelerometer on frdm_k64f and bbc_microbit boards. | |||
