Thorsten von Eicken
c10d431819
esp32: Add basic support for Non-Volatile-Storage in esp32 module.
...
This commit implements basic NVS support for the esp32. It follows the
pattern of the esp32.Partition class and exposes an NVS object per NVS
namespace. The initial support provided is only for signed 32-bit integers
and binary blobs. It's easy (albeit a bit tedious) to add support for
more types.
See discussions in: #4436 , #4707 , #6780
2021-02-19 15:05:19 +11:00
Thorsten von Eicken
2c1299b007
extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking.
...
Also fix related problems with socket on esp32, improve docs for
wrap_socket, and add more tests.
2021-02-17 11:50:54 +11:00
Jim Mussared
cdf9c8648f
docs/library/uasyncio.rst: Add docs for ThreadSafeFlag.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2021-02-16 16:35:37 +11:00
Jim Mussared
7ed99544e4
extmod/uasyncio: Add asyncio.current_task().
...
Matches CPython behavior.
Fixes #6686
2021-02-13 15:11:17 +11:00
Brianna Laugher
d128999938
tools: Add filesystem action examples to pyboard.py help.
...
Signed-off-by: Brianna Laugher <brianna.laugher@gmail.com >
2021-02-13 14:37:28 +11:00
Damien George
78b23c3a1f
all: Bump version to 1.14.
...
Signed-off-by: Damien George <damien@micropython.org >
2021-02-03 00:59:07 +11:00
Damien George
0e44587076
docs/library/machine.Pin.rst: Make it clear which methods are not core.
...
Signed-off-by: Damien George <damien@micropython.org >
2021-02-03 00:54:18 +11:00
Damien George
ef9fde7339
LICENSE,docs: Update copyright year range to include 2021.
...
Signed-off-by: Damien George <damien@micropython.org >
2021-01-31 23:17:42 +11:00
Samuelson
407df82f81
docs/develop/natmod: Fix a small typo, con->can.
2021-01-30 15:20:44 +11:00
Christopher Tse
ddb53c9458
docs/esp8266/quickref: Add warning block about NeoPixel timing.
2021-01-30 14:36:30 +11:00
Andrew Scheller
499e199add
docs,stm32: Fix minor typos in RTC docs, and->an.
2021-01-30 14:13:30 +11:00
nanjekyejoannah
4eaebc1988
docs/develop: Add MicroPython Internals chapter.
...
This commit adds many new sections to the existing "Developing and building
MicroPython" chapter to make it all about the internals of MicroPython.
This work was done as part of Google's Season of Docs 2020.
2021-01-27 16:59:58 +11:00
iabdalkader
20f8ce1982
stm32/pyb_can: Add ability to calculate CAN bit timing from baudrate.
...
Calculate the bit timing from baudrate if provided, allowing sample point
override. This makes it a lot easier to make CAN work between different
MCUs with different clocks, prescalers etc.
Tested on F4, F7 and H7 Y/V variants.
2020-12-17 23:01:15 +11:00
Damien George
1719459c28
extmod/modubinascii: Update code, docs for hexlify now CPython has sep.
...
Since CPython 3.8 the optional "sep" argument to hexlify is officially
supported, so update comments in the code and the docs to reflect this.
Signed-off-by: Damien George <damien@micropython.org >
2020-12-14 14:35:29 +11:00
Jim Mussared
68136eb4ba
docs/library/ubluetooth.rst: Add passkey docs.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:44:36 +11:00
Jim Mussared
b799fe1421
docs/library/ubluetooth.rst: Add bonding docs.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:42:46 +11:00
Jim Mussared
fff634e031
docs/library/ubluetooth.rst: Add gap_pair() docs.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:41:36 +11:00
Jim Mussared
f822557cbb
docs/library/ubluetooth.rst: Add pairing/bonding config docs.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:41:21 +11:00
Andrew Leech
05fef8c6a4
extmod/modbluetooth: Add _IRQ_ENCRYPTION_UPDATE event.
...
This allows the application to be notified if any of encrypted,
authenticated and bonded state change, as well as the encryption key size.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:40:15 +11:00
Jim Mussared
5e20f689ad
docs/library/ubluetooth.rst: Update read request IRQ docs.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:39:17 +11:00
Jim Mussared
89553997b8
docs/library/ubluetooth.rst: Update char/desc flags.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:37:45 +11:00
Jim Mussared
7a9aa49595
docs/library/ubluetooth.rst: Add _IRQ_CONNECTION_UDPATE docs.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-12-02 14:36:41 +11:00
Damien George
a14ca31e85
docs/reference/repl.rst: Add information about new raw-paste mode.
...
Signed-off-by: Damien George <damien@micropython.org >
2020-12-01 22:35:13 +11:00
Jim Mussared
3795c71271
docs/library/ubluetooth.rst: Add docs for L2CAP channels.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com >
2020-11-24 01:07:17 +11:00
Damien George
dbb13104ca
docs/develop/cmodules.rst: Add link to source code for user C example.
...
Signed-off-by: Damien George <damien@micropython.org >
2020-10-29 23:10:43 +11:00