-
-
Notifications
You must be signed in to change notification settings - Fork 415
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: build-processRelated to the sketch build processRelated to the sketch build processtopic: infrastructureRelated to project infrastructureRelated to project infrastructuretype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Original issue here.
At least for AVR platforms, if the size of the compiled exceeds 65536 bytes, the [sketchname.ino].with_bootloader.hex file is not generated. The reason why I'm stressing this is because MightyCore and MegaCore uses this file actively to prevent wiping the bootloader when uploading using a programmer
Here I'm compiling for Arduino MEGA 2560:
Sketch uses 65536 bytes (25%) of program storage space. Maximum is 253952 bytes.
Files in the /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_435714/
folder:
Here is another example where the sketch is just two bytes larger:
Sketch uses 65538 bytes (25%) of program storage space. Maximum is 253952 bytes.
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: build-processRelated to the sketch build processRelated to the sketch build processtopic: infrastructureRelated to project infrastructureRelated to project infrastructuretype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project