aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-09stm32/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-08tools/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-08stm32/boards/NUCLEO_H743ZI: Add config options to support mboot.Damien George
2019-04-08stm32/mboot: Add support for H7 MCUs, with H743 flash layout.Damien George
2019-04-08stm32/usbd_conf: Add support for USB HS peripheral on H7 MCUs.Damien George
2019-04-08stm32/i2cslave: Add support for H7 MCUs.Damien George
2019-04-08tools/mpy-tool.py: Adjust use of super() to make it work with Python 2.Damien George
Fixes the regression introduced in ea3c80a514c5dc4cc3a8349815eceec4fa1ac57f
2019-04-05stm32/network_wiznet5k: Automatically set MAC if device doesn't have oneDamien George
2019-04-05stm32/network_wiznet5k: Add ability to set the MAC address.Damien George
2019-04-05stm32/network_wiznet5k: Add ability to trace Ethernet TX and RX frames.Damien George
Via: nic.config(trace=2|4)
2019-04-05esp32/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-04tests/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-03extmod/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-01nrf/Makefile: Update to match latest oofatfs version.Glenn Ruben Bakke
See corresponding commit b5f33ac2cb6076468a77f36d69df6db16b62134a
2019-04-01stm32/moduos: Allow to compile again without USB enabled.Damien George
2019-04-01lib/stm32lib: Update library to fix F7 MMC capacity calculation.Damien George
2019-04-01stm32: Add support for MMC driver, exposed via pyb.MMCard class.Damien George
Enable it via MICROPY_HW_ENABLE_MMCARD.
2019-04-01stm32: 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-01stm32/uart: Handle correctly the char overrun case of RXNE=0 and ORE=1.Damien George
Fixes issue #3375.
2019-04-01extmod/modlwip: Free any stored incoming bufs/connections on TCP error.Damien George
2019-04-01extmod/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-01extmod/modlwip: Handle case of accept callback called with null PCB.Damien George
2019-04-01extmod/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-01stm32/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-01stm32: 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-29docs/develop: Remove paragraph that was copied in error from other doc.Damien George
2019-03-29stm32/Makefile: Allow to override CROSS_COMPILE with included Makefile.Boris Vinogradov
2019-03-28stm32/boards/STM32L476DISC: Enable servo support on STM32L476DISC board.Boris Vinogradov
2019-03-28docs/esp32: Add example for pin isolation in combination with deepsleep.spacemanspiff2007
2019-03-27esp32/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-27esp32/mpthreadport: Exit vPortCleanUpTCB early if threading not init'd.Damien George
2019-03-27unix/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-27tests/extmod: Add test for FAT filesystem on a very large block device.Damien George
2019-03-26stm32/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-26mpy-cross: Support compiling with MICROPY_PY___FILE__ enabled.Damien George
2019-03-26extmod/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-26stm32/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-26tools/pyboard.py: Add missing line from example usage comments.rhubarbdog
2019-03-26py/nlrthumb: Add support for iOS where the C func is _nlr_push_tail.Romain Goyet
2019-03-26py/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-26zephyr/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.
2019-03-26esp32/machine_pin: Rework pull mode config to fix GPIO hold feature.Damien George
For gpio_hold_en() to work properly (not draw additional current) pull up/down must be disabled when hold is enabled. This patch makes sure this is the case by reworking the pull constants to be a bit mask.
2019-03-19nrf/readme: Add section about LTO.Glenn Ruben Bakke
Adding section about on how to disable use of the linker flag -flto, by setting the LTO=0 argument to Make. Also, added a note on recommended toolchains to use that works well with LTO enabled.
2019-03-20py/runtime: Remove long-obsolete MICROPY_FSUSERMOUNT init code.Damien George
In 1808b2e8d5c9fff8020628a7849a537ffa9790e3 it was replaced by MICROPY_VFS and related code.
2019-03-18stm32/mboot: Set USE_MBOOT=1 by default in the Makefile.Dave Hylands
This allows boards that need USE_MBOOT to be built properly whether or not USE_MBOOT=1 is specified when building mboot.
2019-03-15nrf/bluetooth: Deprecate use of SoftDevice s140 v6.0.0.Glenn Ruben Bakke
Removing linker script for nrf52840 s140 v6.0.0 as pca10056 target board now points to the new v6.1.1. Also, removing the entry from the download_ble_stack.sh script.
2019-03-15nrf/board: Migrate nrf52840 target to new BLE stack.Glenn Ruben Bakke
This patch moves pca10056/nrf52840 target board to use the new SoftDevice s140 v6.1.1 instead of the legacy v6.0.0.
2019-03-15nrf/bluetooth: Add support for SoftDevice s140 version 6.1.1.Glenn Ruben Bakke
Updating download script to fetch the new SoftDevice, and adding corresponding linker script for the BLE stack.
2019-03-15nrf/bluetooth: Deprecate use of SoftDevice s132 v6.0.0.Glenn Ruben Bakke
Removing linker script for nrf52832 s132 v6.0.0 as all target boards now points to the new v6.1.1. Also, removing the entry from the download_ble_stack.sh script.
2019-03-15nrf/board: Migrate all nrf52832 targets to new BLE stack.Glenn Ruben Bakke
This patch moves all the nrf52832 target boards to use the new SoftDevice s132 v6.1.1 instead of the legacy v6.0.0.