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
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
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
Jeff Epler
dc277f0aff
fix HEAP_PTR macro
2023-09-20 11:20:39 -05:00
Jeff Epler
36371fe757
fix compiling gc.c
2023-09-20 11:20:29 -05:00
Jeff Epler
0c64275cc6
Add header for PLACE_IN_ITCM
2023-09-20 11:19:57 -05:00
Dan Halbert
4d175ab41a
convert to MP_DEFINED_CONST_OBJ_TYPE()
2023-09-19 21:09:29 -04:00
Dan Halbert
2c0fa0f7dc
initial merge from v1.20.0; just satisifying conflicts
2023-09-19 11:10:12 -04:00
Jeff Epler
0cab3359df
ignore some cast-align diagnostics
2023-08-20 14:26:48 -05:00
Jeff Epler
1399d0f25b
guard mp_type_native_gen_wrap declaration with MICROPY_EMIT_NATIVE
2023-08-20 14:26:27 -05:00
Jeff Epler
f9e99bd3c3
Fix picow build
2023-08-20 11:30:36 -05:00
Jeff Epler
d5d566dc65
Don't assume __ICACHE_PRESENT is defined
...
This seems to only be defined in cmsis files for M7 family MCUs, so
it's not for e.g., makerdiary_m60_keyboard which enables loading of native
code. Lower MCUs don't ever have icache, so the default is "off".
2023-08-20 10:15:56 -05:00
Jeff Epler
d277294a14
Alias m_new_ll to m_new
...
this saves changing uses of it in ports/ and if we re-add ll later, it'll
make it easier to find the places that needed long-lived allocation.
2023-08-20 10:15:55 -05:00
Jeff Epler
7e38b79e21
Add mp_type_native_coro_wrap
2023-08-20 10:15:55 -05:00
Jeff Epler
b0bf36ef3b
Fix building with !MICROPY_PY_ASYNC_AWAIT
2023-08-19 17:17:50 -05:00
Jeff Epler
a94301122a
Make natmods work again.
...
And put back our magic number, because our bytecode format differs
from upstream
drop btree & framebuf natmods, they had additional problems I didn't
want to fix right now.
2023-08-19 16:59:13 -05:00
Dan Halbert
bfccb77ec1
asyncio test fixes and asyncio library updates
2023-08-18 13:16:16 -04:00
Jeff Epler
8d5e844b00
Implement traceback length limit
2023-08-15 13:10:31 -05:00
Jeff Epler
df1dd6ad3c
make 'import uerrno' work again in unix port
...
this fixes tests that 'import uerrno'.
2023-08-15 11:50:13 -05:00
Dan Halbert
3d48e87e60
jepler: fix 18 tests (redo commit to be correct)
2023-08-14 18:34:32 -04:00
Dan Halbert
b73f05fe64
turn off viper tests; thanks jepler
2023-08-14 16:43:07 -04:00
Dan Halbert
8cf5b6e707
fixes to unix port support; thanks @jepler
2023-08-14 09:51:52 -04:00
Dan Halbert
d582407b06
pre-commit fixes
2023-08-14 00:59:22 -04:00
Dan Halbert
2171e67c1b
merge latest adafruit/main
2023-08-13 19:43:54 -04:00
Dan Halbert
27c7807693
silabs build needs work; other builds are working
2023-08-13 19:05:16 -04:00