Damien George
fd13ce5e60
stm32/mboot: Add support for H7 MCUs, with H743 flash layout.
2019-04-08 14:33:57 +10:00
Damien George
ae1e18a346
stm32/usbd_conf: Add support for USB HS peripheral on H7 MCUs.
2019-04-08 14:30:16 +10:00
Damien George
2c3fa4ad82
stm32/i2cslave: Add support for H7 MCUs.
2019-04-08 14:28:45 +10:00
Damien George
643d2a0e86
tools/mpy-tool.py: Adjust use of super() to make it work with Python 2.
...
Fixes the regression introduced in ea3c80a514
2019-04-08 11:21:18 +10:00
Damien George
fd523c53c3
stm32/network_wiznet5k: Automatically set MAC if device doesn't have one
2019-04-05 22:37:06 +11:00
Damien George
4f936afc44
stm32/network_wiznet5k: Add ability to set the MAC address.
2019-04-05 22:35:04 +11:00
Damien George
4410efc1e3
stm32/network_wiznet5k: Add ability to trace Ethernet TX and RX frames.
...
Via: nic.config(trace=2|4)
2019-04-05 22:33:49 +11:00
Damien George
69cb24a21d
esp32/boards/sdkconfig: Disable WDT check of idle task on CPU1.
...
With dual-core enabled it's possible that the uPy task has full utilisation
of CPU1. Fixes issue #4673 .
2019-04-05 12:25:21 +11:00
stijn
d89ce2ed1d
tests/run-tests: Ignore exception in process kill when ending repl test.
...
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-04 15:24:29 +11:00
Damien George
3dda964785
extmod/modlwip: Use correct listening socket object in accept callback.
...
Since commit da938a83b5 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-03 16:43:44 +11:00
Glenn Ruben Bakke
1f5d945afa
nrf/Makefile: Update to match latest oofatfs version.
...
See corresponding commit b5f33ac2cb
2019-04-01 19:22:25 +02:00
Damien George
83f3c29d36
stm32/moduos: Allow to compile again without USB enabled.
2019-04-01 17:11:39 +11:00
Damien George
ca5f8975fa
lib/stm32lib: Update library to fix F7 MMC capacity calculation.
2019-04-01 17:04:43 +11:00
Damien George
7ce2a08231
stm32: Add support for MMC driver, exposed via pyb.MMCard class.
...
Enable it via MICROPY_HW_ENABLE_MMCARD.
2019-04-01 17:04:43 +11:00
Damien George
9670b26526
stm32: Rename MICROPY_HW_HAS_SDCARD to MICROPY_HW_ENABLE_SDCARD.
...
For consistency with the majority of other MICROPY_HW_ENABLE_xxx macros.
2019-04-01 15:21:26 +11:00
Damien George
7b5bf5f6fd
stm32/uart: Handle correctly the char overrun case of RXNE=0 and ORE=1.
...
Fixes issue #3375 .
2019-04-01 13:40:35 +11:00
Damien George
2848a613ac
extmod/modlwip: Free any stored incoming bufs/connections on TCP error.
2019-04-01 13:36:44 +11:00
Damien George
490e0f39d1
extmod/modlwip: Protect socket.accept with lwIP concurrency lock.
...
This is needed now that the accept queue can have pending connections
removed asynchronously.
2019-04-01 13:36:43 +11:00
Damien George
2ec7838967
extmod/modlwip: Handle case of accept callback called with null PCB.
2019-04-01 13:36:43 +11:00
Damien George
da938a83b5
extmod/modlwip: Handle case of connection closing while on accept queue.
...
In such a case the connection is aborted by lwIP and so must be removed
from the pending accept queue.
2019-04-01 13:36:43 +11:00
roland van straten
edd0e0f93d
stm32/timer: Expose the PWM BRK capability of Timer 1 and 8.
...
The break mode is configurable via the 'brk' keyword to the Timer
constructor and init method. It's disabled by default.
2019-04-01 13:30:37 +11:00
Andrew Leech
9d6f70f715
stm32: Make default USB_VCP stream go through uos.dupterm for main REPL.
...
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-04-01 13:04:05 +11:00
Damien George
0fb15fc3f4
docs/develop: Remove paragraph that was copied in error from other doc.
2019-03-29 11:50:39 +11:00
Boris Vinogradov
6947dff7da
stm32/Makefile: Allow to override CROSS_COMPILE with included Makefile.
2019-03-29 11:34:05 +11:00
Boris Vinogradov
1a608ce1e8
stm32/boards/STM32L476DISC: Enable servo support on STM32L476DISC board.
2019-03-28 15:35:58 +11:00