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
caternuson
ac6695faba
update design guide
2021-02-11 14:28:58 -08:00
Kevin Banks
87fe58fea5
Added WEBUSB_README to the table of contents (required by CI)
2021-02-04 08:56:51 -06: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
Dan Halbert
d116ad042f
Merge pull request #4070 from rpavlik/patch-1
...
Update design_guide.rst
2021-01-26 15:25:10 -05:00
Ryan A. Pavlik
365fafb32b
Update design_guide.rst
...
Add CO2 as a member name, and clarify the description of eCO2.
2021-01-26 10:36:40 -06:00
Dan Halbert
5b4249e365
fix doc typos
2021-01-25 23:06:47 -05:00
Dan Halbert
a9f339b461
typo in circuitpy_mpconfig.h; forgot cxd56 port
2021-01-25 22:40:31 -05:00
Dan Halbert
34d63debd5
Remove obsolete esp.rst, network.rst
2021-01-25 09:29:16 -05:00
Dan Halbert
69869e1439
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-24 23:10:20 -05:00
Scott Shawcroft
733094aead
Add initial RP2040 support
...
The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.
Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-20 19:16:56 -08:00
Dan Halbert
6928de0364
merge from upstream and update to 6.0.x
2021-01-10 13:54:08 -05:00
Dan Halbert
ce59b54361
Merge remote-tracking branch 'adafruit/main' into robots.txt
2021-01-10 13:52:47 -05: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
Mike Causer
eedcc98cc5
Fix some spelling mistakes
2020-12-10 02:52:18 +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
stijn
25c4563f26
examples: Add example code for user C modules, both C and C++.
...
Add working example code to provide a starting point for users with files
that they can just copy, and include the modules in the coverage test to
verify the complete user C module build functionality. The cexample module
uses the code originally found in cmodules.rst, which has been updated to
reflect this and partially rewritten with more complete information.
2020-10-29 15:30:42 +11:00
stijn
0153148fd2
py/py.mk: Support C++ code for user C modules.
...
Support C++ code in .cpp files by providing CXX counterparts of the
_USERMOD_ flags we have for C already. This merely enables the Makefile of
user C modules to use variables specific to C++ compilation, it is still up
to each port's main Makefile to also include these in the build.
2020-10-29 15:29:20 +11:00
stijn
78c8b55067
docs: Fix reference to QSTR_GEN_CFLAGS Makefile flag.
2020-10-29 15:28:18 +11:00
Kevin Thomas
6eebdbc495
docs/reference/glossary.rst: Fix minor grammar error, An -> A.
2020-10-22 15:40:11 +11:00
Howard Lovatt
4842060366
docs/library/machine.Timer.rst: Add mention of constructor arguments.
2020-10-20 17:23:54 +11:00
Howard Lovatt
cf6845b1cf
docs/library/machine.Signal.rst: Correct typo: usecases to use cases.
2020-10-20 17:21:30 +11:00
Howard Lovatt
23f9439f44
docs/library/machine.rst: Correct minor typo: timout to timeout.
2020-10-20 17:19:47 +11:00
Howard Lovatt
3bc0ecbcd9
docs/library/btree.rst: Correct method typo: __detitem__ to __delitem__.
2020-10-20 17:13:02 +11:00
Damien George
d4b61b0017
extmod/utime_mphal: Add generic utime.time_ns() function.
...
It requires mp_hal_time_ns() to be provided by a port. This function
allows very accurate absolute timestamps.
Enabled on unix, windows, stm32, esp8266 and esp32.
Signed-off-by: Damien George <damien@micropython.org>
2020-10-01 14:20:42 +10:00
Damien George
98182a97c5
docs: Update I2C and SPI docs to add reference to SoftI2C and SoftSPI.
...
Signed-off-by: Damien George <damien@micropython.org>
2020-10-01 12:57:10 +10:00
David Lechner
ee7568ca8d
docs/reference/packages.rst: Fix typo, remove duplicate "port".
...
Fixes #6485 .
2020-09-30 23:32:24 +10:00
Scott Shawcroft
785f2beed0
Merge pull request #3481 from caternuson/iss3480_docupdate
...
Add MP const info to Design Guide
2020-09-28 14:30:28 -07:00
caternuson
4d4dbbcafe
RST tweak
2020-09-28 13:28:38 -07:00
caternuson
8e4f08a109
add MP const info to Design Guide
2020-09-28 13:15:43 -07:00