Commit Graph

34626 Commits

Author SHA1 Message Date
Jeff Epler a285a33076
Restore our defines for exception chaining 2023-09-22 10:39:12 -05:00
Jeff Epler 9104654930
makeqstrdata: ensure _lt and _gt qstrs are sorted early
this fixes a build error because their numbers have to be <256
2023-09-22 10:38:52 -05:00
Jeff Epler 018baf75d5
Add micropython-lib
this is needed during the unix coverage build
2023-09-22 10:38:21 -05:00
Dan Halbert 37180b28dd
Merge pull request #8418 from tannewt/fix_mdns_crash_after_user_disconnect
Fix MDNS after the user turns off wifi
2023-09-21 14:18:23 -04:00
Dan Halbert e964dd94f0
Merge pull request #8419 from reppad/fix-codespace
Fix codespace
2023-09-21 14:12:33 -04:00
Luca Burelli dd58be19ee esp32: Fix Partition.writeblocks() partial write corruption.
To simulate a partial erase, the code reads a native block, erases it,
and writes back the data before and after the erased area. However, the
current logic was filling the area after the erased block with data
from the beginning of the native block-aligned data, instead of applying
the proper offset.

Fixes #12474.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2023-09-21 17:49:48 +02:00
Dan Halbert 10b95a1998 add translate.h and linker.h includes back to runtime.h; remove linker.h refs; remove top-level lib/cyw43-driver 2023-09-20 22:00:09 -04:00
Reppad 65e514ee49 Fix codespace 2023-09-20 22:04:50 +00:00
Scott Shawcroft 8f3c6422ee
Fix MDNS after the user turns off wifi
We need to reset our MDNS state instead of just the IDF's.
2023-09-20 14:46:42 -07:00
Scott Shawcroft d4000023d8
Fix board def mistakes and cast 2023-09-20 11:45:45 -07:00
Jeff Epler a00f2d8940
array extend/append need extern linkage & right names 2023-09-20 11:46:51 -05:00
Jeff Epler 7a386545ca
re-add translation make rules 2023-09-20 11:46:35 -05:00
Jeff Epler a760794449
re-add objtraceback.o 2023-09-20 11:46:22 -05:00
Jeff Epler f83a235c85
re-add mp_obj_exception_get_native 2023-09-20 11:46:14 -05:00
Jeff Epler e7c74f273c
add translation to mpy-cross 2023-09-20 11:46:03 -05:00
Jeff Epler 1c611f6474
file not used any longer 2023-09-20 11:45:54 -05:00
Jeff Epler 2d5709a352
spelling 2023-09-20 11:27:25 -05:00
Jeff Epler 6250cd2711
fix mpy_ld 2023-09-20 11:27:19 -05:00
Jeff Epler 5108c3a11f
whitespace 2023-09-20 11:27:12 -05:00
Jeff Epler 51f49698c2
indentation 2023-09-20 11:27:01 -05:00
Jeff Epler 76ef77a620
fix exception chaining, preprocessor error 2023-09-20 11:26:57 -05:00
Jeff Epler e068ff7234
fix compile errors, fix mp_raise prototypes 2023-09-20 11:26:41 -05:00
Jeff Epler 1ab884ab0f
fix compile errors 2023-09-20 11:26:26 -05:00
Jeff Epler c87703512a
fix conditional nesting 2023-09-20 11:26:17 -05:00
Jeff Epler 37c8b0df9c
fix argument name 2023-09-20 11:26:03 -05:00
Jeff Epler 6b8ee2ca6f
remove old python style checking for "special accessors"
this appears to be properly handled by other (new?) code, but
tests will tell.
2023-09-20 11:25:58 -05:00
Jeff Epler bb6d530c1d
slots & macro moved to header 2023-09-20 11:25:09 -05:00
Jeff Epler 7806044e5e
string construction changed 2023-09-20 11:25:01 -05:00
Jeff Epler 9cedfc4cbd
implemented as macro now 2023-09-20 11:24:53 -05:00
Jeff Epler ee51968d9d
can't be static, is called from builtins 2023-09-20 11:24:45 -05:00
Jeff Epler 4ed939f26e
fix compile error 2023-09-20 11:24:26 -05:00
Jeff Epler 680b94d463
fix compile erors 2023-09-20 11:24:22 -05:00
Jeff Epler be62395c47
fix indentation 2023-09-20 11:24:15 -05:00
Jeff Epler f9fb567a07
fix CP vs MP differences in exception-throwing functions 2023-09-20 11:24:07 -05:00
Jeff Epler 37a881f4d3
Get the type object for the constructor call 2023-09-20 11:23:49 -05:00
Jeff Epler 082b299a0c
spelling 2023-09-20 11:23:39 -05:00
Jeff Epler e7668ed91d
spelling 2023-09-20 11:23:34 -05:00
Jeff Epler 2b754b1f6b
spelling 2023-09-20 11:23:28 -05:00
Jeff Epler a715f089f4
mpy-cross needs to know it's targeting circuitpython 2023-09-20 11:23:24 -05:00
Jeff Epler d83285b7d5
update translations 2023-09-20 11:22:43 -05:00
Jeff Epler 8e00c69cdf
spelling 2023-09-20 11:22:34 -05:00
Jeff Epler cd3ca6b6a6
fix array object name 2023-09-20 11:22:25 -05:00
Jeff Epler fb2eb6a7d9
add mp_obj_is_tuple_compatible 2023-09-20 11:22:01 -05:00
Jeff Epler e4e58ac223
add mp_obj_get_type_qstr 2023-09-20 11:21:56 -05:00
Jeff Epler a9d6661d5b
add and fix exception prototypes 2023-09-20 11:21:50 -05:00
Jeff Epler b499b7fdc2
add missing type objects 2023-09-20 11:21:34 -05:00
Jeff Epler 57c3dfd579
fix missing define of NONSTANDARD_TYPECODES 2023-09-20 11:21:10 -05:00
Jeff Epler 649ea62f57
fix typo 2023-09-20 11:21:02 -05:00
Jeff Epler 73612ac119
Fix availability of MP_ERROR_TEXT in misc.h 2023-09-20 11:20:56 -05:00
Jeff Epler aceb573c88
fix makeversionhdr 2023-09-20 11:20:45 -05:00