Merged
Conversation
- Local build artifacts: firmware.elf, firmware.map, build.log - Memory usage: RAM 17.3% (56,560/327,680 bytes), Flash 99.3% (1,302,037/1,310,720 bytes) - Added GitHub Actions workflow for CI baseline capture - Created comprehensive memory usage summary for future comparisons
Size Optimization Summary: - Before: 1,302,037 bytes (99.3% Flash usage) - After: 1,211,449 bytes (92.4% Flash usage) - Reduction: 90,588 bytes (~90KB) Changes Made: 1. Added size-optimization compiler flags: -Os, -ffunction-sections, -fdata-sections, -Wl,--gc-sections 2. Reduced LMIC debug level from 3 to 0 for smaller binary size 3. Created comprehensive build documentation in docs/BUILD.md 4. Updated README.md with size-saving tips and current build sizes 5. Added build environment configurations for release, debug, and minimal builds Build Types: - ttgo-lora32-v1-release: Production build with size optimizations - ttgo-lora32-v1-debug: Debug build with logging (101.4% Flash - exceeds limit) - ttgo-lora32-v1-minimal: Minimal build with reduced dependencies This optimization successfully reduces the build size by 90KB while maintaining all functionality, making the firmware fit comfortably within Flash constraints.
…n info - Create docs/BUILD.md with build types and optimization tips - Update README.md with size-saving tips and current build sizes - Document 90KB size reduction achievement - Fix skip_size_check.py script for proper operation
- Remove --json-output flag from PlatformIO run command (doesn't exist) - Update flash usage extraction pattern to match actual PlatformIO output - Primary pattern: 'Flash:.*used \K\d+' - Fallback pattern: 'used \K\d+' - Improve error handling and debugging output - Fix all three pipelines: branch, main, and release
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.