circuitpython/ports
Jeff Epler 510890b207
Enable squeezing property storage in flash
.. and enable it on atmel-samd and raspberrypi. On trinket_m0 this saves
96 net bytes of flash. There are 216 bytes actually saved by reducing
the flash storage size of the property descriptors, but added code in
several paths takes back over half of the 'raw savings'.

By organizing the "get-only" and "get-set" (but no delete) properties
each in a different section, we can represent then more efficiently.

Testing performed: that a get-only property can still be gotten but
can't be set or deleted; that a get-set property can sill be gotten or
set but can't be deleted.  Tested on pygamer.

Because this requires linker file support, I only enabled it on two of
the ports.
2022-05-03 08:48:53 -05:00
..
atmel-samd Enable squeezing property storage in flash 2022-05-03 08:48:53 -05:00
broadcom Make MP_PROPERTY_GETTER / _GETSET fully declare the property 2022-05-03 08:48:53 -05:00
cxd56 Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
espressif mpconfigboard.h also needs neopixel tweak 2022-05-02 13:23:55 -07:00
litex Board definition clean up 2022-03-21 17:58:43 -07:00
mimxrt10xx Merge pull request #6287 from KurtE/mimxrt_pwm 2022-04-25 09:02:40 -04:00
nrf Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
raspberrypi Enable squeezing property storage in flash 2022-05-03 08:48:53 -05:00
stm Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
unix Merge branch 'main' into uzlib-module 2022-04-03 11:48:37 -05:00