circuitpython/py
Scott Shawcroft af67261469
Tweak computation of new heap area size
It now computes slightly more bytes to account for ATB size using
truncated division. In other words, any remaining block space that
doesn't fill an ATB byte won't be used. So, we round up our next
area size to use an exact number of ATB bytes.

Fixes #10451
2025-07-29 14:52:22 -07:00
..
argcheck.c
asmarm.c
asmarm.h
asmbase.c
asmbase.h
asmrv32.c
asmrv32.h py/emitnative: Emit shorter exception handler entry code on RV32. 2025-01-26 23:42:36 +11:00
asmthumb.c
asmthumb.h
asmx64.c
asmx64.h
asmx86.c
asmx86.h
asmxtensa.c
asmxtensa.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
bc.c
bc.h Apply suggestions from code review 2025-04-24 12:29:57 -07:00
bc0.h
binary.c wip: fix some tests 2025-06-11 22:53:06 -04:00
binary.h
builtin.h
builtinevex.c py/objcode: Factor code object out into its own file. 2025-02-11 16:42:14 +11:00
builtinhelp.c
builtinimport.c
circuitpy_defns.mk Requested fixes to exceptions, docs, config 2025-06-09 18:13:08 -04:00
circuitpy_mkenv.mk
circuitpy_mpconfig.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
circuitpy_mpconfig.mk Merge remote-tracking branch 'upstream/main' into esp-microros 2025-06-11 12:52:38 -04:00
compile.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
compile.h py/objcode: Factor code object out into its own file. 2025-02-11 16:42:14 +11:00
cstack.c
cstack.h
dynruntime.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
dynruntime.mk tools/mpy_ld.py: Allow linking static libraries. 2025-03-17 13:03:27 +11:00
emit.h
emitbc.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
emitcommon.c
emitglue.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
emitglue.h
emitinlinerv32.c py/emitinlinerv32: Move include of asmrv32.h to within feature guard. 2025-04-14 11:13:19 +10:00
emitinlinethumb.c
emitinlinextensa.c py/emitinlinextensa: Simplify register name lookup. 2025-02-28 13:21:44 +11:00
emitnarm.c
emitnative.c micropython v1.25.0 merge: fix tests, fix typos, fix includes 2025-06-21 11:25:07 -04:00
emitndebug.c
emitnrv32.c
emitnthumb.c
emitnx64.c
emitnx86.c
emitnxtensa.c
emitnxtensawin.c
enum.c
enum.h
formatfloat.c
formatfloat.h
frozenmod.c
frozenmod.h
gc.c Tweak computation of new heap area size 2025-07-29 14:52:22 -07:00
gc.h Apply suggestions from code review 2025-04-24 12:29:57 -07:00
grammar.h
lexer.c Make collect the default 2025-04-24 14:59:07 -07:00
lexer.h
make_root_pointers.py
makecompresseddata.py
makemoduledefs.py
makeqstrdata.py MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
makeqstrdefs.py Add Zephyr port 2025-02-04 11:24:13 -08:00
maketranslationdata.py Switch to ruff like MicroPython 2025-02-05 11:09:15 -08:00
makeversionhdr.py Update py/makeversionhdr.py 2025-05-15 09:46:02 -04:00
malloc.c Fix finaliser in malloc helper 2025-05-02 22:49:12 -07:00
map.c Make collect the default 2025-04-24 14:59:07 -07:00
misc.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
mkenv.mk
mkrules.cmake rp2,esp32,extmod: Implement UPDATE_SUBMODULES in CMake. 2025-03-27 17:51:12 +11:00
mkrules.mk MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
modarray.c
modbuiltins.c
modcmath.c
modcollections.c
moderrno.c
modgc.c
modio.c
modmath.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
modmicropython.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
modstruct.c
modsys.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
modthread.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
mpconfig.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
mperrno.h
mphal.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
mpprint.c
mpprint.h
mpstate.c
mpstate.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
mpthread.h py: Add optional support for recursive mutexes, use for gc mutex. 2025-02-03 15:02:02 +11:00
mpz.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
mpz.h wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
nativeglue.c
nativeglue.h
nlr.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlr.h wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlraarch64.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlrmips.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlrpowerpc.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlrrv32.c
nlrrv64.c
nlrsetjmp.c
nlrthumb.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlrx64.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlrx86.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
nlrxtensa.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
obj.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
obj.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
objarray.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objarray.h py/objarray: Add MP_DEFINE_MEMORYVIEW_OBJ convenience macro. 2025-03-06 12:52:35 +11:00
objattrtuple.c
objbool.c
objboundmeth.c
objcell.c
objclosure.c Make collect the default 2025-04-24 14:59:07 -07:00
objcode.c py/objcode: Factor code object out into its own file. 2025-02-11 16:42:14 +11:00
objcode.h py/objcode: Factor code object out into its own file. 2025-02-11 16:42:14 +11:00
objcomplex.c
objdeque.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objdict.c Add selective collect to memory allocations 2025-04-22 14:07:00 -07:00
objenumerate.c
objexcept.c Remove old traceback type 2025-05-12 14:47:37 -07:00
objexcept.h
objfilter.c
objfloat.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objfun.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
objfun.h
objgenerator.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objgenerator.h
objgetitemiter.c
objint.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
objint.h wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objint_longlong.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objint_mpz.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objlist.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objlist.h
objmap.c Add selective collect to memory allocations 2025-04-22 14:07:00 -07:00
objmodule.c Add selective collect to memory allocations 2025-04-22 14:07:00 -07:00
objmodule.h
objnamedtuple.c
objnamedtuple.h
objnone.c
objobject.c
objpolyiter.c
objproperty.c Add selective collect to memory allocations 2025-04-22 14:07:00 -07:00
objproperty.h
objrange.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
objreversed.c
objringio.c
objset.c
objsingleton.c
objslice.c
objstr.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
objstr.h
objstringio.c
objstringio.h
objstrunicode.c
objtraceback.c
objtraceback.h
objtuple.c Make collect the default 2025-04-24 14:59:07 -07:00
objtuple.h
objtype.c wip: ports compile and pass smoke tests 2025-06-10 21:53:41 -04:00
objtype.h
objzip.c
opmethods.c
pairheap.c
pairheap.h
parse.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
parse.h
parsenum.c py/parsenum: Fix parsing complex literals with negative real part. 2025-07-08 13:44:39 -04:00
parsenum.h
parsenumbase.c py/parsenumbase: Favor clarity of code over manual optimisation. 2025-01-29 12:39:05 +11:00
parsenumbase.h
persistentcode.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
persistentcode.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
profile.c py/objcode: Factor code object out into its own file. 2025-02-11 16:42:14 +11:00
profile.h py/objcode: Factor code object out into its own file. 2025-02-11 16:42:14 +11:00
proto.c
proto.h
py.cmake MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
py.mk MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
pystack.c
pystack.h Make collect the default 2025-04-24 14:59:07 -07:00
qstr.c MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
qstr.h MicroPython v1.25.0 merge 2025-06-20 14:26:24 -04:00
qstrdefs.h extmod/vfs: Add mp_vfs_mount_romfs_protected() helper. 2025-03-06 12:52:35 +11:00
reader.c
reader.h all: Upgrade codespell to v2.4.1. 2025-02-25 16:11:33 +11:00
repl.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
repl.h
ringbuf.c
ringbuf.h
runtime.c Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.25.0 2025-06-20 17:25:01 -04:00
runtime.h wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
runtime0.h
runtime_utils.c
scheduler.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
scope.c Make collect the default 2025-04-24 14:59:07 -07:00
scope.h
sequence.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
showbc.c
smallint.c
smallint.h
stackctrl.c wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
stackctrl.h wip: initial merge; no compilation yet 2025-06-08 19:23:05 -04:00
stream.c
stream.h
unicode.c
unicode.h
usermod.cmake
verbose.mk
version.py Fix version determination for 10.x 2025-04-01 14:35:38 -07:00
vm.c
vmentrytable.h
vstr.c
warning.c