Skip to content

Commit

Permalink
removed unjustified/unnecessary gcc compiler options
Browse files Browse the repository at this point in the history
  • Loading branch information
fvilante committed Aug 1, 2023
1 parent 5eb3829 commit eb02c3b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions avr-atmega328p.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"pre-link-args": {
"gcc": [
"-mmcu=atmega328p",
"-Wl,--as-needed,--print-memory-usage,--detailed-mem-usage",
"-fpack-struct",
"-fshort-enums",
"-Wstack-usage=20",
"-Wall","-Wextra","-fstack-usage"
"-Wl,--as-needed"
]
},
"target-c-int-width": "16",
Expand Down

1 comment on commit eb02c3b

@fvilante
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no Idea why this compiler options have been introduced, but I know that they are not necessary to compile atmega328p target.

Please sign in to comment.