@@ -18,6 +18,50 @@ cargo build --manifest-path nrf52833-hal/Cargo.toml
18
18
echo Building nrf52840-hal...
19
19
cargo build --manifest-path nrf52840-hal/Cargo.toml
20
20
21
+ # Build all the example projects.
22
+
23
+ echo Building examples/ccm-demo...
24
+ cargo build --manifest-path examples/ccm-demo/Cargo.toml --features=52810
25
+ cargo build --manifest-path examples/ccm-demo/Cargo.toml --features=52832
26
+ cargo build --manifest-path examples/ccm-demo/Cargo.toml --features=52833
27
+ cargo build --manifest-path examples/ccm-demo/Cargo.toml --features=52840
28
+
29
+ echo Building examples/comp-demo...
30
+ cargo build --manifest-path examples/comp-demo/Cargo.toml
31
+
32
+ echo Building examples/ecb-demo...
33
+ cargo build --manifest-path examples/ecb-demo/Cargo.toml --features=52810
34
+ cargo build --manifest-path examples/ecb-demo/Cargo.toml --features=52832
35
+ cargo build --manifest-path examples/ecb-demo/Cargo.toml --features=52833
36
+ cargo build --manifest-path examples/ecb-demo/Cargo.toml --features=52840
37
+ cargo build --manifest-path examples/ecb-demo/Cargo.toml --features=51
38
+
39
+ echo Building examples/gpiote-demo...
40
+ cargo build --manifest-path examples/gpiote-demo/Cargo.toml
41
+
42
+ echo Building examples/i2s-controller-demo...
43
+ cargo build --manifest-path examples/i2s-controller-demo/Cargo.toml
44
+
45
+ # FIXME: Does not build
46
+ # echo Building examples/i2s-peripheral-demo...
47
+ # cargo build --manifest-path examples/i2s-peripheral-demo/Cargo.toml
48
+
49
+ echo Building examples/lpcomp-demo...
50
+ cargo build --manifest-path examples/lpcomp-demo/Cargo.toml
51
+
52
+ echo Building examples/ppi-demo...
53
+ cargo build --manifest-path examples/ppi-demo/Cargo.toml --features=51
54
+ cargo build --manifest-path examples/ppi-demo/Cargo.toml --features=52810
55
+ cargo build --manifest-path examples/ppi-demo/Cargo.toml --features=52832
56
+ cargo build --manifest-path examples/ppi-demo/Cargo.toml --features=52833
57
+ cargo build --manifest-path examples/ppi-demo/Cargo.toml --features=52840
58
+
59
+ echo Building examples/pwm-demo...
60
+ cargo build --manifest-path examples/pwm-demo/Cargo.toml
61
+
62
+ echo Building examples/qdec-demo...
63
+ cargo build --manifest-path examples/qdec-demo/Cargo.toml
64
+
21
65
echo Building examples/rtic-demo...
22
66
cargo build --manifest-path examples/rtic-demo/Cargo.toml
23
67
echo Building examples/rtic-demo...
@@ -26,18 +70,23 @@ echo Building examples/rtic-demo...
26
70
cargo build --manifest-path examples/rtic-demo/Cargo.toml --no-default-features --features=" 52810" --target thumbv7em-none-eabi
27
71
echo Building examples/rtic-demo...
28
72
cargo build --manifest-path examples/rtic-demo/Cargo.toml --no-default-features --features=" 52840"
73
+
29
74
echo Building examples/spi-demo...
30
75
cargo build --manifest-path examples/spi-demo/Cargo.toml
76
+
31
77
echo Building examples/twi-ssd1306...
32
78
cargo build --manifest-path examples/twi-ssd1306/Cargo.toml
33
79
echo Building examples/twi-ssd1306...
34
80
cargo build --manifest-path examples/twi-ssd1306/Cargo.toml --no-default-features --features=" 52840" --target thumbv7em-none-eabi
35
- echo Building examples/ecb-demo...
36
- cargo build --manifest-path examples/ecb-demo/Cargo.toml --features=52832
37
- echo Building examples/ccm-demo...
38
- cargo build --manifest-path examples/ccm-demo/Cargo.toml --features=52832
39
- echo Building examples/ppi-demo...
40
- cargo build --manifest-path examples/ppi-demo/Cargo.toml --features=52832
81
+
82
+ echo Building examples/twim-demo...
83
+ cargo build --manifest-path examples/twim-demo/Cargo.toml
84
+
85
+ echo Building examples/twis-demo...
86
+ cargo build --manifest-path examples/twis-demo/Cargo.toml
87
+
88
+ echo Building examples/wdt-demo...
89
+ cargo build --manifest-path examples/wdt-demo/Cargo.toml
41
90
42
91
echo Checking source code formatting...
43
92
cargo +stable fmt -- --check
0 commit comments