Skip to content

Commit 025b50d

Browse files
Merge pull request #133 from thejpster/enable-thumbv6
Enable thumbv6-none-eabi testing
2 parents 989190f + 1c2c9f5 commit 025b50d

31 files changed

+365
-30
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
uses: taiki-e/install-action@just
6464
- name: Install Rust
6565
run: |
66-
rustup install nightly-2026-01-26
67-
rustup component add rust-src --toolchain nightly-2026-01-26
68-
rustup default nightly-2026-01-26
66+
rustup install nightly-2026-02-21
67+
rustup component add rust-src --toolchain nightly-2026-02-21
68+
rustup default nightly-2026-02-21
6969
- name: Build
7070
run: |
7171
just build-tier3 ${{ matrix.target }}
@@ -89,9 +89,9 @@ jobs:
8989
uses: taiki-e/install-action@just
9090
- name: Install Rust
9191
run: |
92-
rustup install nightly-2026-01-26
93-
rustup component add rust-src --toolchain nightly-2026-01-26
94-
rustup default nightly-2026-01-26
92+
rustup install nightly-2026-02-21
93+
rustup component add rust-src --toolchain nightly-2026-02-21
94+
rustup default nightly-2026-02-21
9595
- name: Build
9696
run: |
9797
just build-tier3-no-atomics ${{ matrix.target }}

examples/mps3-an536/rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "nightly-2026-01-26"
2+
channel = "nightly-2026-02-21"
33
targets = [
44
"armv8r-none-eabihf",
55
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Hello, this is an data abort exception example
2+
data abort occurred
3+
DFSR (Fault Status Register): DFSR { ext=false wnr=false Domain=0b0000 Status=0b00001 }
4+
DFSR Status: Ok(AlignmentFault)
5+
caught unaligned_from_a32
6+
caught fault on COUNTER
7+
Doing it again
8+
data abort occurred
9+
DFSR (Fault Status Register): DFSR { ext=false wnr=false Domain=0b0000 Status=0b00001 }
10+
DFSR Status: Ok(AlignmentFault)
11+
caught unaligned_from_a32
12+
caught fault on COUNTER
13+
Skipping instruction
14+
Recovered from fault OK!
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Hello, this is an data abort exception example
2+
data abort occurred
3+
DFSR (Fault Status Register): DFSR { ext=false wnr=false Domain=0b0000 Status=0b00001 }
4+
DFSR Status: Ok(AlignmentFault)
5+
caught unaligned_from_t32
6+
caught fault on COUNTER
7+
Doing it again
8+
data abort occurred
9+
DFSR (Fault Status Register): DFSR { ext=false wnr=false Domain=0b0000 Status=0b00001 }
10+
DFSR Status: Ok(AlignmentFault)
11+
caught unaligned_from_t32
12+
caught fault on COUNTER
13+
Skipping instruction
14+
Recovered from fault OK!
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
Sine wave test (f32)...
2+
( 0.0000) ..............................o
3+
( 0.1253) .................................o
4+
( 0.2487) .....................................o
5+
( 0.3681) .........................................o
6+
( 0.4818) ............................................o
7+
( 0.5878) ...............................................o
8+
( 0.6845) ..................................................o
9+
( 0.7705) .....................................................o
10+
( 0.8443) .......................................................o
11+
( 0.9048) .........................................................o
12+
( 0.9511) ..........................................................o
13+
( 0.9823) ...........................................................o
14+
( 0.9980) ...........................................................o
15+
( 0.9980) ...........................................................o
16+
( 0.9823) ...........................................................o
17+
( 0.9511) ..........................................................o
18+
( 0.9048) .........................................................o
19+
( 0.8443) .......................................................o
20+
( 0.7705) .....................................................o
21+
( 0.6845) ..................................................o
22+
( 0.5878) ...............................................o
23+
( 0.4818) ............................................o
24+
( 0.3681) .........................................o
25+
( 0.2487) .....................................o
26+
( 0.1253) .................................o
27+
(-0.0000) .............................o
28+
(-0.1253) ..........................o
29+
(-0.2487) ......................o
30+
(-0.3681) ..................o
31+
(-0.4818) ...............o
32+
(-0.5878) ............o
33+
(-0.6845) .........o
34+
(-0.7705) ......o
35+
(-0.8443) ....o
36+
(-0.9048) ..o
37+
(-0.9511) .o
38+
(-0.9823) o
39+
(-0.9980) o
40+
(-0.9980) o
41+
(-0.9823) o
42+
(-0.9511) .o
43+
(-0.9048) ..o
44+
(-0.8443) ....o
45+
(-0.7705) ......o
46+
(-0.6845) .........o
47+
(-0.5878) ............o
48+
(-0.4818) ...............o
49+
(-0.3681) ..................o
50+
(-0.2487) ......................o
51+
(-0.1253) ..........................o
52+
( 0.0000) ..............................o
53+
( 0.1253) .................................o
54+
( 0.2487) .....................................o
55+
( 0.3681) .........................................o
56+
( 0.4818) ............................................o
57+
( 0.5878) ...............................................o
58+
( 0.6845) ..................................................o
59+
( 0.7705) .....................................................o
60+
( 0.8443) .......................................................o
61+
( 0.9048) .........................................................o
62+
( 0.9511) ..........................................................o
63+
( 0.9823) ...........................................................o
64+
( 0.9980) ...........................................................o
65+
( 0.9980) ...........................................................o
66+
( 0.9823) ...........................................................o
67+
( 0.9511) ..........................................................o
68+
( 0.9048) .........................................................o
69+
( 0.8443) .......................................................o
70+
( 0.7705) .....................................................o
71+
( 0.6845) ..................................................o
72+
( 0.5878) ...............................................o
73+
( 0.4818) ............................................o
74+
( 0.3681) .........................................o
75+
( 0.2487) .....................................o
76+
( 0.1253) .................................o
77+
(-0.0000) ..............................o
78+
(-0.1253) ..........................o
79+
(-0.2487) ......................o
80+
(-0.3681) ..................o
81+
(-0.4818) ...............o
82+
(-0.5878) ............o
83+
(-0.6845) .........o
84+
(-0.7705) ......o
85+
(-0.8443) ....o
86+
(-0.9048) ..o
87+
(-0.9511) .o
88+
(-0.9823) o
89+
(-0.9980) o
90+
(-0.9980) o
91+
(-0.9823) o
92+
(-0.9511) .o
93+
(-0.9048) ..o
94+
(-0.8443) ....o
95+
(-0.7705) ......o
96+
(-0.6845) .........o
97+
(-0.5878) ............o
98+
(-0.4818) ...............o
99+
(-0.3681) ..................o
100+
(-0.2487) ......................o
101+
(-0.1253) ..........................o
102+
Sine wave test (f64)...
103+
( 0.0000) ..............................o
104+
( 0.1253) .................................o
105+
( 0.2487) .....................................o
106+
( 0.3681) .........................................o
107+
( 0.4818) ............................................o
108+
( 0.5878) ...............................................o
109+
( 0.6845) ..................................................o
110+
( 0.7705) .....................................................o
111+
( 0.8443) .......................................................o
112+
( 0.9048) .........................................................o
113+
( 0.9511) ..........................................................o
114+
( 0.9823) ...........................................................o
115+
( 0.9980) ...........................................................o
116+
( 0.9980) ...........................................................o
117+
( 0.9823) ...........................................................o
118+
( 0.9511) ..........................................................o
119+
( 0.9048) .........................................................o
120+
( 0.8443) .......................................................o
121+
( 0.7705) .....................................................o
122+
( 0.6845) ..................................................o
123+
( 0.5878) ...............................................o
124+
( 0.4818) ............................................o
125+
( 0.3681) .........................................o
126+
( 0.2487) .....................................o
127+
( 0.1253) .................................o
128+
(-0.0000) .............................o
129+
(-0.1253) ..........................o
130+
(-0.2487) ......................o
131+
(-0.3681) ..................o
132+
(-0.4818) ...............o
133+
(-0.5878) ............o
134+
(-0.6845) .........o
135+
(-0.7705) ......o
136+
(-0.8443) ....o
137+
(-0.9048) ..o
138+
(-0.9511) .o
139+
(-0.9823) o
140+
(-0.9980) o
141+
(-0.9980) o
142+
(-0.9823) o
143+
(-0.9511) .o
144+
(-0.9048) ..o
145+
(-0.8443) ....o
146+
(-0.7705) ......o
147+
(-0.6845) .........o
148+
(-0.5878) ............o
149+
(-0.4818) ...............o
150+
(-0.3681) ..................o
151+
(-0.2487) ......................o
152+
(-0.1253) ..........................o
153+
( 0.0000) ..............................o
154+
( 0.1253) .................................o
155+
( 0.2487) .....................................o
156+
( 0.3681) .........................................o
157+
( 0.4818) ............................................o
158+
( 0.5878) ...............................................o
159+
( 0.6845) ..................................................o
160+
( 0.7705) .....................................................o
161+
( 0.8443) .......................................................o
162+
( 0.9048) .........................................................o
163+
( 0.9511) ..........................................................o
164+
( 0.9823) ...........................................................o
165+
( 0.9980) ...........................................................o
166+
( 0.9980) ...........................................................o
167+
( 0.9823) ...........................................................o
168+
( 0.9511) ..........................................................o
169+
( 0.9048) .........................................................o
170+
( 0.8443) .......................................................o
171+
( 0.7705) .....................................................o
172+
( 0.6845) ..................................................o
173+
( 0.5878) ...............................................o
174+
( 0.4818) ............................................o
175+
( 0.3681) .........................................o
176+
( 0.2487) .....................................o
177+
( 0.1253) .................................o
178+
(-0.0000) .............................o
179+
(-0.1253) ..........................o
180+
(-0.2487) ......................o
181+
(-0.3681) ..................o
182+
(-0.4818) ...............o
183+
(-0.5878) ............o
184+
(-0.6845) .........o
185+
(-0.7705) ......o
186+
(-0.8443) ....o
187+
(-0.9048) ..o
188+
(-0.9511) .o
189+
(-0.9823) o
190+
(-0.9980) o
191+
(-0.9980) o
192+
(-0.9823) o
193+
(-0.9511) .o
194+
(-0.9048) ..o
195+
(-0.8443) ....o
196+
(-0.7705) ......o
197+
(-0.6845) .........o
198+
(-0.5878) ............o
199+
(-0.4818) ...............o
200+
(-0.3681) ..................o
201+
(-0.2487) ......................o
202+
(-0.1253) ..........................o
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Hello, this is semihosting! x = 1.000, y = 2.000
2+
PANIC: PanicInfo {
3+
message: I am an example panic,
4+
location: Location {
5+
file: "src/bin/hello.rs",
6+
line: 20,
7+
column: 5,
8+
},
9+
can_unwind: true,
10+
force_no_backtrace: false,
11+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Setting up interrupts...
2+
Firing interrupt...
3+
> interrupt_handler()
4+
> soft_handler1()
5+
> interrupt_handler()
6+
> soft_handler2()
7+
< soft_handler2()
8+
< interrupt_handler()
9+
< soft_handler1()
10+
< interrupt_handler()
11+
Got interrupted :)
12+
> interrupt_handler()
13+
catchall_handler() fired
14+
< interrupt_handler()
15+
catch all works. All done!

examples/versatileab/reference/prefetch-exception-a32-armv4t-none-eabi.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ Hello, this is a prefetch abort exception example
22
prefetch abort occurred
33
IFSR (Fault Status Register): IFSR { ext=false Domain=0b0000 Status=0b00010 }
44
IFSR Status: Ok(DebugEvent)
5+
caught bkpt_from_a32
56
Doing it again
67
prefetch abort occurred
78
IFSR (Fault Status Register): IFSR { ext=false Domain=0b0000 Status=0b00010 }
89
IFSR Status: Ok(DebugEvent)
10+
caught bkpt_from_a32
911
Skipping instruction
1012
Recovered from fault OK!

examples/versatileab/reference/prefetch-exception-a32-armv5te-none-eabi.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ Hello, this is a prefetch abort exception example
22
prefetch abort occurred
33
IFSR (Fault Status Register): IFSR { ext=false Domain=0b0000 Status=0b00010 }
44
IFSR Status: Ok(DebugEvent)
5+
caught bkpt_from_a32
56
Doing it again
67
prefetch abort occurred
78
IFSR (Fault Status Register): IFSR { ext=false Domain=0b0000 Status=0b00010 }
89
IFSR Status: Ok(DebugEvent)
10+
caught bkpt_from_a32
911
Skipping instruction
1012
Recovered from fault OK!

examples/versatileab/reference/prefetch-exception-a32-armv6-none-eabi.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ Hello, this is a prefetch abort exception example
22
prefetch abort occurred
33
IFSR (Fault Status Register): IFSR { ext=false Domain=0b0000 Status=0b00010 }
44
IFSR Status: Ok(DebugEvent)
5+
caught bkpt_from_a32
56
Doing it again
67
prefetch abort occurred
78
IFSR (Fault Status Register): IFSR { ext=false Domain=0b0000 Status=0b00010 }
89
IFSR Status: Ok(DebugEvent)
10+
caught bkpt_from_a32
911
Skipping instruction
1012
Recovered from fault OK!

0 commit comments

Comments
 (0)