circuitpython/supervisor
Jeff Epler fe3e8d1589 string compression: save a few bits per string
Length was stored as a 16-bit number always.  Most translations have
a max length far less.  For example, US English translation lengths
always fit in just 8 bits.  probably all languages fit in 9 bits.

This also has the side effect of reducing the alignment of
compressed_string_t from 2 bytes to 1.

testing performed: ran in german and english on pyruler, printed messages
looked right.

Firmware size, en_US
Before: 3044 bytes free in flash
After: 3408 bytes free in flash

Firmware size, de_DE (with #2967 merged to restore translations)
Before: 1236 bytes free in flash
After: 1600 bytes free in flash
2020-05-28 08:36:08 -05:00
..
messages Support internationalisation. 2018-08-07 14:58:57 -07:00
shared string compression: save a few bits per string 2020-05-28 08:36:08 -05:00
stub Enable showing the console on a debug uart 2020-05-19 02:02:52 +02:00
cpu.h Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
filesystem.h flush flash filesystem once a second 2019-03-20 12:21:36 -04:00
flash_root_pointers.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
flash.h Hopefully fix flash flush and hopefully audio as well. 2020-03-13 11:12:31 -07:00
linker.h Linker file restructure, TCM and MPU additions 2020-04-03 16:33:18 -04:00
memory.h allow retrieving info about a supervisor allocation 2020-04-14 18:24:54 -05:00
port.h Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
serial.h Enable showing the console on a debug uart 2020-05-19 02:02:52 +02:00
spi_flash_api.h Implement requested changes 2020-01-28 17:11:25 -05:00
supervisor.mk Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
usb.h Added fix to allow remount when usb enabled but msc is ejected 2020-02-12 09:57:58 +02:00