Commit graph

1659 commits

Author SHA1 Message Date
Scott Shawcroft
7c9d043031
Merge pull request #9919 from RetiredWizard/rotationdoc
SUNTON_ESP32-2432S024C:  Add rotation settings.toml documentation
2025-01-02 13:05:34 -08:00
RetiredWizard
9858ec6b92 SUNTON_ESP32-2432S024C: Add rotation settings.toml documentation 2024-12-27 19:59:51 -05:00
RetiredWizard
ae3aa285fd environment.rst typo 2024-12-24 01:28:38 -05:00
RetiredWizard
9c74562a0a Sunton 8048S050: Configure display frequency in settings.toml 2024-12-23 23:13:14 -05:00
Hurst, Brandon
dc2c214c84 - Add elf target for CI build. - Add ports/analog/README to toctree for Sphinx docs. 2024-11-25 15:28:42 -08:00
Hurst, Brandon
a8ba80fa09 Add "analog" to shared_bindings_matrix.py 2024-11-25 15:28:41 -08:00
RetiredWizard
0d235d792e Additional rotation detail 2024-09-24 17:18:07 -04:00
RetiredWizard
df9b39f8c2 pre-commit run --all 2024-09-24 16:44:54 -04:00
RetiredWizard
d3d6a73ad9 Add board specific key documentation 2024-09-24 16:41:59 -04:00
RetiredWizard
b22a571a98 pre-commit run -all 2024-09-23 21:41:48 -04:00
RetiredWizard
18fe80d771 Update Environment Variables documentation to note possible board specific keys 2024-09-23 21:27:38 -04:00
Dan Halbert
d220557154 fix doc build problems 2024-09-10 17:52:54 -04:00
Dan Halbert
1f68fffa13 merge from main 2024-09-10 16:36:32 -04:00
Dan Halbert
84abc7c0fa add _eve to module support matrix 2024-09-08 21:54:57 -04:00
Dan Halbert
7812695281 non-conflict merge changes 2024-09-05 14:54:18 -04:00
Dan Halbert
ac7e15f88a (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
Dan Halbert
37acfe3a10 build fixes 2024-07-30 09:54:14 -04:00
Dan Halbert
be6fa2af21 merge from main 2024-07-29 17:41:46 -04:00
Dan Halbert
69b667406b MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
Scott Shawcroft
bffdf3beea
Merge pull request #9436 from jepler/veesix
Add IPv6 support for Espressif
2024-07-23 12:43:22 -07:00
21a5c93ada IPv6: improvments based on review notes
* don't enable ipv6 by default due to privacy concerns
 * move list of board support for ipv6 to socketpool documentation
 * removed wifi.supports_ipvx properties
 * throw an exception when start_dhcp_client(ipv6=True) but not supported
2024-07-23 14:18:03 -05:00
RetiredWizard
01fb9de802 Add depreciation warning for sys.print_exception 2024-07-22 22:54:13 -04:00
3825822833
Use single backticks to create links
.. so that the reader of the documentation can readily get to the `traceback.print_exception` docs
2024-07-22 15:44:39 -05:00
5ffc4b2f4f Tick more boxes on the TODO list
* v6 on by default
 * dhcp can start v4 & v6 separately
 * self documenting property for v4 & v6 support
   * v4 support is always on .. for now
2024-07-22 10:48:47 -05:00
RetiredWizard
95cf8b6b7b Remove reference to micropython-lib 2024-07-15 13:36:22 -04:00
RetiredWizard
1ccbe2f446 Update Standard Library sys documentation 2024-07-12 23:37:28 -04:00
Tim
0c9a683ad7 move board_summaries.py to tools 2024-05-29 15:59:52 -07:00
Damien George
5f6e689124 LICENSE,docs: Update copyright year range to include 2024.
Signed-off-by: Damien George <damien@micropython.org>
2024-05-27 23:39:16 +10:00
Tim
008ae936da add board summaries 2024-05-26 08:17:51 -07:00
Damien George
abd1f28bc2 docs/library/asyncio: Document that ThreadSafeFlag now works on unix.
ThreadSafeFlag works on the unix port since commit
df08c38c28.

Signed-off-by: Damien George <damien@micropython.org>
2024-05-15 14:13:30 +10:00
Olivier Lenoir
e816b49c44 docs/reference: Document how to mip install packages from GitLab.
Signed-off-by: Olivier Lenoir <olivier.len02@gmail.com>
2024-05-15 13:35:27 +10:00
Angus Gratton
c3301da176 docs/library/machine.USBDevice: Update note about packages in mp-lib.
Also fix a small typo.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-05-09 15:48:26 +10:00
Rick Sorensen
63c30a2dfc esp32/modesp32: Add mcu_temperature() function for C3/S2/S3 devices.
For ESP32C3/S2/S3 IDFv5 exposes new internal temperature API which is
different to the base ESP32, IDFv4.

Thanks to @robert-hh for cleaner code and testing sensor capability in
these devices.

See discussion #10443.

Signed-off-by: Rick Sorensen <rick.sorensen@gmail.com>
2024-05-07 17:29:22 +10:00
Rick Sorensen
595f86155a docs/esp32/quickref: Add note about different ESP32 varieties.
Signed-off-by: Rick Sorensen <rick.sorensen@gmail.com>
2024-05-07 17:28:25 +10:00
Matt Trentini
b1ac266bb5 docs/develop/optimizations: Fix typo identified in issue 14391.
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
2024-04-29 09:20:28 +10:00
Scott Shawcroft
b63d422768
Fix more boards and docs 2024-04-23 16:04:42 -07:00
Scott Shawcroft
3321442a37
Add renode as supported port 2024-04-23 14:13:29 -07:00
Angus Gratton
d11ca092f7 shared/tinyusb: Fix dynamic USB control callbacks for wLength==0.
In the case where an OUT control transfer triggers with wLength==0 (i.e.
all data sent in the SETUP phase, and no additional data phase) the
callbacks were previously implemented to return b"" (i.e. an empty buffer
for the data phase).

However this didn't actually work as intended because b"" can't provide a
RW buffer (needed for OUT transfers with a data phase to write data into),
so actually the endpoint would stall.

The symptom was often that the device process the request (if processing
it in the SETUP phase when all information was already available), but the
host sees the endpoint stall and eventually returns an error.

This commit changes the behaviour so returning True from the SETUP phase of
a control transfer queues a zero length status response.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-04-17 12:39:47 +10:00
Scott Shawcroft
aca3191a58
Add Max3421E support for usb host
It is enabled on:
* SAMD51 boards with 1MB flash (SKU ending in 20A)
* Feather RP2040 DVI. Others have PIO usb host.
* All ESP32 boards.
* All nRF boards

Fixes #8676
2024-04-10 10:57:28 -07:00
Damien George
628a37e6cf docs/reference/mpyfiles: Document change in .mpy sub-version.
Signed-off-by: Damien George <damien@micropython.org>
2024-03-28 16:21:35 +11:00
Dan Halbert
c035ade1fd
Merge pull request #9065 from SAK917/expand-objdeque-implementation
Expand objdeque implementation
2024-03-26 19:28:07 -04:00
Amirreza Hamzavi
57de9da352 docs/library/machine.RTC: Add docs for RTC.memory() method.
Co-Authored-By: glenn20 <glenn20@users.noreply.github.com>

Signed-off-by: Amirreza Hamzavi <amirrezahamzavi2000@gmail.com>
2024-03-26 17:59:06 +11:00
SAK917
4010f90666 Update deque documentation to reflect new functionality 2024-03-21 21:07:16 -07:00
Scott Shawcroft
e81e5587a2
Merge pull request #9062 from dhalbert/nrf-to-nordic
rename ports/nrf to ports/nordic
2024-03-20 09:48:12 -07:00
Matthias Urlichs
e520fa2e0f py/binary: Support half-float 'e' format in struct pack/unpack.
This commit implements the 'e' half-float format: 10-bit mantissa, 5-bit
exponent.  It uses native _Float16 if supported by the compiler, otherwise
uses custom bitshifting encoding/decoding routines.

Signed-off-by: Matthias Urlichs <matthias@urlichs.de>
Signed-off-by: Damien George <damien@micropython.org>
2024-03-20 14:13:49 +11:00
Dan Halbert
dc69c29dac rename ports/nrf to ports/nordic 2024-03-19 17:36:57 -04:00
CDarius
bb683fa4cf Renamed module 'keypaddemux' in 'keypad_demux' and fix documentation 2024-03-19 09:59:02 +01:00
Nicko van Someren
77f08b72ca docs/library/rp2.DMA: Add documentation for rp2 DMA support.
Signed-off-by: Nicko van Someren <nicko@nicko.org>
2024-03-19 17:10:54 +11:00
Damien George
d92dff881c docs/library/collections: Update deque docs to describe new features.
Signed-off-by: Damien George <damien@micropython.org>
2024-03-19 10:09:11 +11:00
CDarius
88b4e38625 Moved DemuxKeyMatrix in the keypaddemux module 2024-03-18 17:11:34 +01:00