Skip to content

Warning about maximum data size should be an error instead #333

@robbieh

Description

@robbieh
Checking size .pio/build/32u416m/firmware.elf                                                     
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"                        
RAM:   [========Warning! The data size (7243 bytes) is greater than maximum allowed (2560 bytes)                                                                                                    
==]  282.9% (used 7243 bytes from 2560 bytes)                                                                                                                                                       
Flash: [===       ]  25.9% (used 7432 bytes from 28672 bytes)                                     
Building .pio/build/32u416m/firmware.hex                                                                                                                                                            
Configuring upload protocol...                                                                                                                                                                      
AVAILABLE: avr109                                                                                                                                                                                   
CURRENT: upload_protocol = avr109                                                                 
Looking for upload port...                                                                        
Auto-detected: /dev/ttyACM0                                                                                                                                                                         
Forcing reset using 1200bps open/close on port /dev/ttyACM0                                                                                                                                         
Waiting for the new upload port...                                                                                                                                                                  
Uploading .pio/build/32u416m/firmware.hex                           

This destroyed the board I was working with. This should have failed with an error instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions