mirror of
https://github.com/marqs85/ossc
synced 2025-10-27 14:06:02 +03:00
Replace an array of const char* literals with a single const char* literal containing all the messages in the rotating prompt and an array of alt_u8 containing the offsets of each message within the literal. This ends up yielding a larger size reduction than expected, a healthy 20 bytes, despite a meager 8-byte difference in the size of local variables and slightly more complex pointer math in calculating the address of the current message within the string literal. |
||
|---|---|---|
| .. | ||
| drivers | ||
| HAL | ||
| alt_sys_init.c | ||
| create-this-bsp | ||
| libhal_bsp.a | ||
| linker.h | ||
| linker.x | ||
| Makefile | ||
| mem_init.mk | ||
| memory.gdb | ||
| public.mk | ||
| settings.bsp | ||
| system.h | ||