You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Teensy 4: DMAMEM driver statics marked used survive LTO in sketches that never use the driver #4713
sLpUartBuffer (lpuart_driver.cpp.hpp:194) and sSpiBitPattern (objectfled_spi_mode) are 4 KB DMAMEM statics. Whether they end up in a typed-Channel sketch that doesn't use LPUART or SPI depends on how LTO partitions the build (observed +9.2 KB RAM2 between two otherwise-equivalent builds). Teensy's DMAMEM places them in .dmabuffers. Remove used (or confirm the macro adds it) so unused-driver buffers can be garbage-collected.
Activity
fix(teensy): drop unused-driver DMA buffers and newlib printf from RAM (
fix: post-3.10.6 Teensy RAM1/RAM2 trimming and host example slowdown (F…