Jeff Epler
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally
2023-10-30 09:49:06 +01:00
Dan Halbert
10b94796c0
wip; fix more m_malloc and gc_alloc
2023-08-11 00:30:34 -04:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Michael Wisslead
e63a327107
Bound PulseIn start indexes to maxlen.
2022-04-28 02:28:34 +00:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Jeff Epler
93b373d617
"pop from empty %q"
...
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Jeff Epler
c849b781c0
Combine 'index out of range' messages
2020-08-04 14:45:45 -05:00
Jeff Epler
dddd25a776
Combine similar strings to reduce size of translations
...
This is a slight trade-off with code size, in places where a "_varg"
mp_raise variant is now used. The net savings on trinket_m0 is
just 32 bytes.
It also means that the translation will include the original English
text, and cannot be translated. These are usually names of Python
types such as int, set, or dict or special values such as "inf" or
"Nan".
2020-08-04 13:34:29 -05:00
Scott Shawcroft
c0ba2a839f
Updates based on feedback from jepler
2020-04-06 16:03:31 -07:00
Scott Shawcroft
6db11cf68b
Fix up Spresense build. It doesn't sleep.
2020-03-17 14:21:45 -07:00
Dan Halbert
b6206406de
new pin validation routines; don't use mp_const_none if NULL will do
2020-02-28 23:43:04 -05:00
Kamil Tomaszewski
1fa8841d20
Change port name to cxd56
2019-10-11 08:23:51 +02:00