pc-monitor/avr-atmega328p.json
alemidev e400459168
build: init project with avr_hal setup and target
Added avr_han project structure with arch definition and cargo config.
Remember to switch to nightly!
Added a basic initial project, with 4 leds (1 for CPU core). Each led
grows in intensity depending on CPU core load. Added a py script to
generate cpu load data on serial port.
2022-08-10 03:44:15 +02:00

25 lines
No EOL
527 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",
"llvm-target": "avr-unknown-unknown",
"max-atomic-width": 8,
"no-default-libraries": false,
"pre-link-args": {
"gcc": [
"-mmcu=atmega328p"
]
},
"target-c-int-width": "16",
"target-pointer-width": "16"
}