]>
Commit | Line | Data |
---|---|---|
c30ab7b3 SL |
1 | // Targets the Cortex-M3 processor (ARMv7-M) |
2 | ||
29967ef6 | 3 | use crate::spec::{Target, TargetOptions}; |
c30ab7b3 | 4 | |
29967ef6 XL |
5 | pub fn target() -> Target { |
6 | Target { | |
5e7ed085 | 7 | llvm_target: "thumbv7m-none-eabi".into(), |
29967ef6 | 8 | pointer_width: 32, |
5e7ed085 FG |
9 | data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(), |
10 | arch: "arm".into(), | |
c30ab7b3 | 11 | |
136023e0 | 12 | options: TargetOptions { |
5e7ed085 | 13 | abi: "eabi".into(), |
136023e0 XL |
14 | max_atomic_width: Some(32), |
15 | ..super::thumb_base::opts() | |
16 | }, | |
29967ef6 | 17 | } |
c30ab7b3 | 18 | } |