circuitpython/py
Jeff Epler 775addafd3 audiocore: remove support for "single buffer"
This is only needed on samd51, and most of the complexity can be
implemented just once instead of in each audio sample type.

This saves 968 bytes flash on feather rp2350. More importantly,
it'll save some fraction as much on samd21 where stereo audio output
is not supported at all (but savings will be less overall because
fewer audiosample types are available)

Other builds besides raspberrypi are broken & raspberrypi is not even
tested.
2024-12-09 09:26:19 -06:00
..
argcheck.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
asmarm.c py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops. 2024-03-19 10:31:36 +11:00
asmarm.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
asmbase.c spelling 2023-09-20 11:23:39 -05:00
asmbase.h py/emit: Suppress unreachable bytecode/native code that follows jump. 2022-06-20 22:28:18 +10:00
asmthumb.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
asmthumb.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
asmx64.c py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops. 2024-03-19 10:31:36 +11:00
asmx64.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
asmx86.c py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops. 2024-03-19 10:31:36 +11:00
asmx86.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
asmxtensa.c py/asmxtensa: Optimise asm_xtensa_mov_reg_i32_optimised() for tiny ints. 2024-03-19 10:31:36 +11:00
asmxtensa.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
bc.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
bc.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
bc0.h py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 2022-03-28 15:43:09 +11:00
binary.c fix compilation issues; remove more uctypes mentions 2024-09-10 16:04:47 -04:00
binary.h Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
builtin.h wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
builtinevex.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
builtinhelp.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
builtinimport.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
circuitpy_defns.mk need to actually build the files 2024-10-24 11:45:42 -05:00
circuitpy_mkenv.mk fetch-port-submodules; fetch-all-submodules 2023-06-05 17:23:34 -04:00
circuitpy_mpconfig.h Add global GCC version check 2024-11-01 11:30:24 -05:00
circuitpy_mpconfig.mk audiocore: remove support for "single buffer" 2024-12-09 09:26:19 -06:00
compile.c non-conflict merge changes 2024-09-05 14:54:18 -04:00
compile.h py/compile: Add option to allow compiling top-level await. 2024-03-22 13:05:25 +11:00
dynruntime.h restore async scope flag to previous bit position 2024-09-12 18:06:17 -04:00
dynruntime.mk py/dynruntime.mk: Allow building assembly source in natmods. 2022-08-11 14:00:13 +10:00
emit.h py/compile: Fix scope of assignment expression target in comprehensions. 2023-03-09 12:13:12 +11:00
emitbc.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
emitcommon.c py/compile: Fix scope of assignment expression target in comprehensions. 2023-03-09 12:13:12 +11:00
emitglue.c fix raw_code is_generator and is_async 2024-09-13 11:35:17 -04:00
emitglue.h fix raw_code is_generator and is_async 2024-09-13 11:35:17 -04:00
emitinlinethumb.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
emitinlinextensa.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
emitnarm.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnative.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
emitnthumb.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnx64.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnx86.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
emitnxtensa.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnxtensawin.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
enum.c update headers of most CircuitPython-only files 2024-05-17 14:56:28 -04:00
enum.h CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
formatfloat.c address review comments 2024-08-21 16:50:19 -04:00
formatfloat.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
frozenmod.c py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
frozenmod.h py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
gc.c Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.23.0 2024-09-13 15:54:55 -04:00
gc.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
grammar.h Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
lexer.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
lexer.h py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
make_root_pointers.py py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2022-07-18 13:48:23 +10:00
makecompresseddata.py all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
makemoduledefs.py py/makemoduledefs.py: Automatically declare delegation attr functions. 2023-06-14 19:03:46 +10:00
makeqstrdata.py (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
makeqstrdefs.py wip: fixing compilation 2024-07-26 18:38:46 -04:00
maketranslationdata.py wip: fixing compilation 2024-07-26 18:38:46 -04:00
makeversionhdr.py (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
malloc.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
map.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
misc.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
mkenv.mk MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
mkrules.cmake py/mkrules.mk: List hash files as byproducts. 2023-12-15 15:48:07 +11:00
mkrules.mk HELP_BUILD_ERROR: link to Learn Guide 2024-09-15 18:27:09 -04:00
modarray.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
modbuiltins.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
modcmath.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
modcollections.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
moderrno.c Add errno.EROFS and errno.ENOSPC 2024-10-18 16:36:22 -04:00
modgc.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
modio.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
modmath.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
modmicropython.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
modstruct.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
modsys.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
modthread.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
mpconfig.h change remaining STATIC to static 2024-09-03 17:40:07 -04:00
mperrno.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
mphal.h ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
mpprint.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
mpprint.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
mpstate.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
mpstate.h py/mpstate.h: remove permanent_pointers (unused) 2024-09-12 17:59:01 -04:00
mpthread.h py/modthread: Return thread id from start_new_thread(). 2023-09-03 18:49:18 +10:00
mpz.c non-conflict merge changes 2024-09-05 14:54:18 -04:00
mpz.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
nativeglue.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nativeglue.h fix compilation issues; remove more uctypes mentions 2024-09-10 16:04:47 -04:00
nlr.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
nlr.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
nlraarch64.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nlrmips.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nlrpowerpc.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nlrsetjmp.c py/nlrsetjmp: Use MP_NLR_JUMP_HEAD macro to simplify code. 2023-06-02 21:47:34 +10:00
nlrthumb.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nlrx64.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nlrx86.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
nlrxtensa.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
obj.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
obj.h Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objarray.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
objarray.h py/objarray: Raise error on out-of-bound memoryview slice start. 2023-01-20 16:31:37 +11:00
objattrtuple.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objbool.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objboundmeth.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objcell.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objclosure.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objcomplex.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objdeque.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
objdict.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objenumerate.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objexcept.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
objexcept.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
objfilter.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objfloat.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objfun.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objfun.h py/objfun.h: prevent cast-align warnings 2024-09-14 12:48:49 -04:00
objgenerator.c working on compilation errors 2024-09-06 23:10:41 -04:00
objgenerator.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
objgetitemiter.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objint.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objint.h change CIRCUITPY change markers to CIRCUITPY-CHANGE 2023-10-19 16:42:36 -04:00
objint_longlong.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
objint_mpz.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objlist.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objlist.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
objmap.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objmodule.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objmodule.h py/makemoduledefs.py: Automatically declare delegation attr functions. 2023-06-14 19:03:46 +10:00
objnamedtuple.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objnamedtuple.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
objnone.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objobject.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objpolyiter.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objproperty.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objproperty.h non-conflict merge changes 2024-09-05 14:54:18 -04:00
objrange.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objreversed.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objset.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objsingleton.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
objslice.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
objstr.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objstr.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objstringio.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
objstringio.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
objstrunicode.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objtraceback.c non-conflict merge changes 2024-09-05 14:54:18 -04:00
objtraceback.h non-conflict merge changes 2024-09-05 14:54:18 -04:00
objtuple.c Throw TypeError when json-serializing invalid types 2024-11-04 09:16:44 -06:00
objtuple.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
objtype.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
objtype.h change CIRCUITPY change markers to CIRCUITPY-CHANGE 2023-10-19 16:42:36 -04:00
objzip.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
opmethods.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
pairheap.c py/pairheap: Properly unlink node on pop and delete. 2020-03-26 01:21:04 +11:00
pairheap.h py/pairheap: Add helper function to initialise a new node. 2020-03-26 01:21:04 +11:00
parse.c non-conflict merge changes 2024-09-05 14:54:18 -04:00
parse.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
parsenum.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
parsenum.h initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
parsenumbase.c codeformat 2021-04-19 22:22:44 -07:00
parsenumbase.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
persistentcode.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
persistentcode.h py/persistentcode: Bump .mpy sub-version to 6.3. 2024-03-28 16:18:26 +11:00
profile.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
profile.h py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
proto.c update headers of most CircuitPython-only files 2024-05-17 14:56:28 -04:00
proto.h guard2once -s ... 2024-05-19 20:40:44 -04:00
py.cmake MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
py.mk (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
pystack.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
pystack.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
qstr.c non-conflict merge changes 2024-09-05 14:54:18 -04:00
qstr.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
qstrdefs.h change CIRCUITPY change markers to CIRCUITPY-CHANGE 2023-10-19 16:42:36 -04:00
reader.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
reader.h py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
repl.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
repl.h py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 2022-03-10 10:58:33 +11:00
ringbuf.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
ringbuf.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
runtime.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
runtime.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
runtime0.h restore async scope flag to previous bit position 2024-09-12 18:06:17 -04:00
runtime_utils.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
scheduler.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
scope.c py/makeqstrdata.py: Ensure that scope names get low qstr values. 2024-03-26 22:52:25 +11:00
scope.h py/emitglue: Include fun_data_len in mp_raw_code_t only when saving. 2024-02-16 14:17:01 +11:00
sequence.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
showbc.c py/emitglue: Include fun_data_len in mp_raw_code_t only when saving. 2024-02-16 14:17:01 +11:00
smallint.c Add license to some obvious files. 2020-07-06 19:16:25 +01:00
smallint.h py/smallint: Introduce MP_SMALL_INT_BITS macro. 2022-03-25 12:23:43 +11:00
stackctrl.c MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
stackctrl.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
stream.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
stream.h (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
unicode.c all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
unicode.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
usermod.cmake rp2: Add support for USER_C_MODULES to CMake build system. 2021-03-31 00:26:01 +11:00
vm.c change remaining STATIC to static 2024-09-03 17:40:07 -04:00
vmentrytable.h MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
vstr.c (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
warning.c Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00