clock_generator/firmware/rust/avr-specs/avr-atmega328p.json
finga ec45734f6b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
build: Refactor build flags
Remove `-as-needed` linker flag. Fix formatting and add `-Os`,
`-mrelax` and `flto`.
2023-06-07 21:08:23 +02:00

29 lines
608 B
JSON

{
"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-is-gnu": true,
"llvm-target": "avr-unknown-unknown",
"max-atomic-width": 8,
"no-default-libraries": false,
"pre-link-args": {
"gcc": [
"-mmcu=atmega328p",
"-Os",
"-mrelax",
"-flto"
]
},
"target-c-int-width": "16",
"target-pointer-width": "16"
}