Skip to content

Commit deafaad

Browse files
committed
Add attiny404 target spec
1 parent 8d32995 commit deafaad

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

avr-specs/avr-attiny404.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"arch": "avr",
3+
"atomic-cas": false,
4+
"cpu": "attiny404",
5+
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
6+
"eh-frame-header": false,
7+
"exe-suffix": ".elf",
8+
"late-link-args": {
9+
"gcc": [
10+
"-lgcc",
11+
"-lc"
12+
]
13+
},
14+
"linker": "avr-gcc",
15+
"llvm-target": "avr-unknown-unknown",
16+
"max-atomic-width": 0,
17+
"pre-link-args": {
18+
"gcc": [
19+
"-mmcu=attiny404"
20+
]
21+
},
22+
"relocation-model": "static",
23+
"target-c-int-width": "16",
24+
"target-pointer-width": "16"
25+
}

0 commit comments

Comments
 (0)