Skip to content

Commit

Permalink
Use the same target json file as avr-hal.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptjar committed May 28, 2022
1 parent 2a2a3d7 commit 8118e82
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions avr-atmega328p.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
{
"llvm-target": "avr-unknown-unknown",
"cpu": "atmega328p",
"target-endian": "little",
"target-pointer-width": "16",
"target-c-int-width": "16",
"os": "unknown",
"target-env": "",
"target-vendor": "unknown",
"arch": "avr",
"atomic-cas": false,
"cpu": "atmega328p",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",

"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,

"late-link-args": {
"gcc": [
"-lgcc"
]
},
"linker": "avr-gcc",
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "avr-unknown-unknown",
"max-atomic-width": 8,
"no-default-libraries": false,
"pre-link-args": {
"gcc": ["-Os", "-mmcu=atmega328p"]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-mmcu=atmega328p",
"-Wl,--as-needed"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
"target-c-int-width": "16",
"target-pointer-width": "16"
}

0 comments on commit 8118e82

Please sign in to comment.