perf: unused TinyUSB classes off on nRF52, SSD1306 sends only changed blocks, ESP32 loop yields when idle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-12 19:30:46 +02:00
co-authored by Claude Opus 5.5
parent 2b9e013071
commit ec42a74ab6
5 changed files with 85 additions and 2 deletions
+8
View File
@@ -93,6 +93,14 @@ build_flags = ${arduino_base.build_flags}
-D LFS_NO_ASSERT=1
-D EXTRAFS=1
-D USE_CC310_HW_CRYPTO=1
; USB is the serial port only: TinyUSB's other device classes (on by default
; in the core's tusb_config_nrf.h) cost ~2.4 KB of RAM for nothing.
-D CFG_TUD_MSC=0
-D CFG_TUD_HID=0
-D CFG_TUD_MIDI=0
-D CFG_TUD_VENDOR=0
-D CFG_TUD_VIDEO=0
-D CFG_TUD_VIDEO_STREAMING=0
lib_deps =
${arduino_base.lib_deps}
https://github.com/oltaco/CustomLFS#0.2.3