Damien George
440462b18e
py/runtime: Remove long-obsolete MICROPY_FSUSERMOUNT init code.
...
In 1808b2e8d5 it was replaced by MICROPY_VFS
and related code.
2019-03-20 00:16:37 +11:00
Dave Hylands
ec6e62efc2
stm32/mboot: Set USE_MBOOT=1 by default in the Makefile.
...
This allows boards that need USE_MBOOT to be built properly whether or not
USE_MBOOT=1 is specified when building mboot.
2019-03-18 14:01:43 +11:00
Glenn Ruben Bakke
696549d2e5
nrf/bluetooth: Deprecate use of SoftDevice s140 v6.0.0.
...
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-15 20:50:15 +01:00
Glenn Ruben Bakke
a3a266a9c3
nrf/board: Migrate nrf52840 target to new BLE stack.
...
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-15 20:50:15 +01:00
Glenn Ruben Bakke
d3c1436e75
nrf/bluetooth: Add support for SoftDevice s140 version 6.1.1.
...
Updating download script to fetch the new SoftDevice, and
adding corresponding linker script for the BLE stack.
2019-03-15 20:50:15 +01:00
Glenn Ruben Bakke
1e5e3e3d48
nrf/bluetooth: Deprecate use of SoftDevice s132 v6.0.0.
...
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-15 20:50:15 +01:00
Glenn Ruben Bakke
5f26ef1112
nrf/board: Migrate all nrf52832 targets to new BLE stack.
...
This patch moves all the nrf52832 target boards to use the
new SoftDevice s132 v6.1.1 instead of the legacy v6.0.0.
2019-03-15 20:50:15 +01:00
Nguyen Hoan Hoang
e8ed2dea71
nrf/bluetooth: Add support for SoftDevice s132 version 6.1.1.
...
Updating download script to fetch the new SoftDevice, and
adding corresponding linker script for the BLE stack.
2019-03-15 20:50:15 +01:00
roland van straten
c9eb7eb449
stm32/stm32_it: Guard UART7_IRQHandler with check for UART7 define.
...
All STM32 with a UART7 also have a UART8 and vice versa, but this change
improves readability and allows for them to be independent in the future.
2019-03-14 14:02:21 +11:00
Damien George
c7d19dc0ad
ports/{stm32,esp8266}: Set mpy-cross native arch for frozen native code.
2019-03-14 12:22:49 +11:00
Damien George
5a6026c614
py/compile: Check that arch is set when compiling native, viper or asm.
2019-03-14 12:22:25 +11:00
Damien George
55fcb83a42
py/compile: Support multiple inline asm emitters.
2019-03-14 12:22:25 +11:00
Damien George
9c9bc65e74
mpy-cross: Add "-march=<arch>" option to select native emitter.
2019-03-14 12:22:25 +11:00
Damien George
d9d92f27d7
py/compile: Add support to select the native emitter at runtime.
2019-03-14 12:22:25 +11:00
Damien George
0e4c24ec08
py/nativeglue: Rename native convert funs to match other native helpers.
2019-03-14 12:22:25 +11:00
Damien George
3b973a5658
py: Move mp_native_type_from_qstr() from emitnative.c to nativeglue.c.
2019-03-14 12:22:25 +11:00
Damien George
28c2873d99
docs/esp32: Add a note to quickref about use of Pin.PULL_HOLD.
2019-03-14 07:38:50 +11:00
Damien George
6fa830bfd8
docs/library/machine.Pin: Add PULL_HOLD constant to possible pin pulls.
...
As already mentioned in the docs, not all constants may be available on all
ports, so this is optional to implement.
2019-03-14 07:29:04 +11:00
Damien George
ddc934631c
esp32/machine_pin: Add new PULL_HOLD pin pull mode.
2019-03-14 07:28:57 +11:00
Damien George
349b54525e
esp32/machine_pin: Make it so None as pull value disables pull up/down.
...
Previously specifying None as the pull value would leave the pull up/down
state unchanged. This change makes it so -1 leaves the state unchanged and
None makes the pin float, as per the docs.
2019-03-14 07:26:59 +11:00
Wolf Vollprecht
ea2fcdd338
javascript: Fix Emscripten async load, and to compile with modern clang.
2019-03-13 23:52:15 +11:00
Rami Ali
7d675f3a17
javascript: Add new port targeting JavaScript via Emscripten.
...
In this port JavaScript is the underlying "machine" and MicroPython is
transmuted into JavaScript by Emscripten. MicroPython can then run under
Node.js or in the browser.
2019-03-13 23:47:32 +11:00
Wolf Vollprecht
921b999225
extmod/moduselect: Adjust select_select and poll_register to use size_t.
2019-03-13 23:18:59 +11:00
Martin Fischer
912e957512
docs/develop: Fix typos in C-module example for example_add_ints.
2019-03-13 12:54:01 +11:00
johnthagen
ea95bdc1ca
docs/pyboard: Make pyboard v1.1 pinout the default shown in quickref.
2019-03-13 12:37:35 +11:00