Commit Graph

28483 Commits

Author SHA1 Message Date
Jeff Epler
6a833a77cc
modbuiltins: Catch most exceptions during dir()
This helps with Python-compatibility (see issue #4171) but doesn't
completely resolve it.

Now, `dir()` still computes any properties of the underlying object,
HOWEVER, if the property raises an exception this expression is
captured.

This ability to capture exceptions always existed in
`mp_load_method_protected`, we just need to turn it on via the
`catch_all_exc` boolean parameter.
2022-06-30 15:21:04 -05:00
Scott Shawcroft
71358a4a63
Merge pull request #6526 from xuhow/elecfreaks_picoed
Add some frozen libraries to elecfreaks_picoed
2022-06-30 11:53:59 -07:00
Dan Halbert
b0efd130c9 ESP32 REPL working through debug UART 2022-06-29 23:19:36 -04:00
Xu Hao
e210b9c816 Update Adafruit_CircuitPython_IS31FL3731 submodule 2022-06-30 09:49:47 +08:00
Scott Shawcroft
3be3e89d82
Merge branch 'main' into cp_webserver 2022-06-29 14:01:32 -07:00
Dan Halbert
c3a149c14a
Merge pull request #6533 from tannewt/fix_connect_crash
Fix auto-wifi created crash
2022-06-29 16:51:33 -04:00
Scott Shawcroft
d42c811fb9
Safe mode when ESP interrupt watchdog fires
This makes us enter safe mode when sleep on the S3 fails. The
task watchdog is used for the user watchdog.
2022-06-29 12:31:18 -07:00
Dan Halbert
0972502af5
Merge pull request #6531 from tannewt/update_idf
Update to newer 4.4 branch
2022-06-29 15:30:00 -04:00
Scott Shawcroft
8dc8265275
Fix auto-wifi created crash
The wifi event_handler runs on the other core so we need to be
careful when calling into CP APIs.

Fixes #6503
2022-06-29 11:53:10 -07:00
Scott Shawcroft
1f065a313c
Update with startup fix instead of revert 2022-06-29 11:12:29 -07:00
Xu Hao
1599844b82 Add some frozen libraries to elecfreaks_picoed 2022-06-29 15:03:29 +08:00
Dan Halbert
780c4963cb wip; change never-ever reset pin mechanism 2022-06-28 23:06:49 -04:00
Jeff Epler
7608d90fcb
Use arm-none-eabi-gcc-action 2022-06-28 18:43:19 -05:00
Scott Shawcroft
a8bb3eb557
Update to newer 4.4 branch 2022-06-28 15:38:55 -07:00
Dan Halbert
ca64950503 wip fixes 2022-06-28 18:32:08 -04:00
Dan Halbert
5b3ad68cb2
Merge pull request #6530 from dhalbert/restore-matrixportal-traceback
restore traceback to matrixportal build
2022-06-28 17:13:59 -04:00
Dan Halbert
131d70cebd restore traceback to matrixportal build 2022-06-28 16:10:55 -04:00
Scott Shawcroft
08c93ad0ce
Fix creator ID and build order 2022-06-27 14:40:38 -07:00
Scott Shawcroft
d19270e318
Add docs and 404 in file PUT into non-existent dir 2022-06-27 13:39:09 -07:00
Scott Shawcroft
41039445c9
Clean up and add docs 2022-06-27 13:39:09 -07:00
Scott Shawcroft
7acc5ebeb9
Add logo for going to home. Fix origin check 2022-06-27 13:39:09 -07:00
Scott Shawcroft
3cd05291d0
Static files + welcome page 2022-06-27 13:39:09 -07:00
Scott Shawcroft
7543dd9af0
CORS works and autoreload too 2022-06-27 13:39:08 -07:00
Scott Shawcroft
eeb9b7881e
Disable/enable buttons 2022-06-27 13:39:08 -07:00
Scott Shawcroft
d6eaaafee8
Basic JS 2022-06-27 13:39:08 -07:00
Scott Shawcroft
964828398e
JSON directory API 2022-06-27 13:39:08 -07:00
Scott Shawcroft
847ac60dce
Fix wifi but not ble builds. Add DELETE and PUT support 2022-06-27 13:39:06 -07:00
Scott Shawcroft
92593aa7a1
Fix bind, remove hard coded ip 2022-06-27 13:34:13 -07:00
Scott Shawcroft
35045f0eab
Auth works 2022-06-27 13:34:13 -07:00
Scott Shawcroft
4f0a7aedfd
WIP adding devices.json and auth 2022-06-27 13:34:13 -07:00
Scott Shawcroft
77cecdbe2a
Turn on mdns service 2022-06-27 13:34:13 -07:00
Scott Shawcroft
32478345f8
more tweaks 2022-06-27 13:34:13 -07:00
Scott Shawcroft
0882cbf823
web server kinda works 2022-06-27 13:34:13 -07:00
Scott Shawcroft
61d0f7947b
WIP doesn't flush response before closing 2022-06-27 13:34:13 -07:00
Scott Shawcroft
301f3e0456
Start of web server 2022-06-27 13:34:13 -07:00
Dan Halbert
55784c93de wip; compiles 2022-06-26 21:22:22 -04:00
Dan Halbert
02069eb0b5 wip 2022-06-23 15:59:06 -04:00
Scott Shawcroft
a055113ed5
Merge pull request #6520 from dhalbert/7.3.1-to-main
Merge 7.3.1 changes to main
2022-06-23 11:15:40 -07:00
Dan Halbert
b0219f9b5b
Merge pull request #6518 from xorbit/rp2040-shim
Add board Silicognition LLC RP2040-Shim
2022-06-23 11:04:40 -04:00
Jeff Epler
2b7c81b0e0
Merge pull request #6515 from FoamyGuy/palette_index_fix
palette_index validation in Palette functions
2022-06-23 16:49:40 +02:00
Dan Halbert
feb1d903f7 merge 7.3.1 to main 2022-06-23 09:07:49 -04:00
foamyguy
a45de19731 use validate_int_range(). remove string translation entry 2022-06-23 07:28:04 -05:00
Patrick Van Oosterwijck
e114154e63 Merge branch 'rp2040-shim' of github.com:xorbit/circuitpython into rp2040-shim 2022-06-22 17:07:05 -06:00
Patrick Van Oosterwijck
c3ed4585e7 Update nvm.toml to add support for Puya P25Q32H 2022-06-22 17:06:27 -06:00
Scott Shawcroft
f9bbd0559a
Merge pull request #6492 from EmergReanimator/disabled_fs_support
Fixed build issue when DISABLE_FILESYSTEM is set.
2022-06-22 09:50:28 -07:00
Scott Shawcroft
897297bba4
Merge pull request #6516 from Neradoc/setup-default-ports-hiibot-iots2
Implement default busses to IOTS2
2022-06-22 09:46:08 -07:00
Scott Shawcroft
40fa3baccc
Merge pull request #6511 from blues/swan_r5_uf2_support
feat(swan_r5): Enable UF2 support for Swan R5 board
2022-06-22 09:41:54 -07:00
Scott Shawcroft
83c1de4d25
Merge pull request #6517 from dhalbert/7.3.x-update-frozen-20220622
update frozen libraries
2022-06-22 09:40:05 -07:00
Patrick Van Oosterwijck
0b80c62400
Merge branch 'adafruit:main' into rp2040-shim 2022-06-22 11:40:02 -05:00
Scott Shawcroft
25206a8aff
Merge pull request #6513 from dhalbert/7.3.x-6495-backport-ble-disconnect-check
Test for a BLE disconnect while reading
2022-06-22 09:38:24 -07:00