-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathMakefile
90 lines (76 loc) · 1.9 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
all: nome_breadboard
nome_flash:
./nome/scripts/flash_breadboard.sh
clean:
bazel clean
display_test:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m4 \
--define TARGET=stm32f411 \
//7seg_display_test:test
display_test_flash:
bazel run \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m4 \
--define TARGET=stm32f411 \
//7seg_display_test/scripts:discovery_flash
nome_breadboard:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m4 \
--define TARGET=stm32f411 \
//nome:nome
nome_prototype:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m4 \
--define TARGET=stm32f413 \
//nome:nome
nome_linux:
bazel run \
--define TARGET=linux \
//nome:nome_linux
clock_stm32:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m3 \
--define TARGET=stm32l1 \
--strip=never \
//clock:clock
clock_stm32_breakout:
bazel run \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--strip=never \
--cpu=armeabi-v7a-m3 \
--define TARGET=stm32l1 \
//clock/scripts:breakout_flash
keebee_stm32:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m0 \
--define TARGET=stm32f042 \
//keebee:keebee
keebee_flash:
bazel run \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--compilation_mode=dbg \
--strip=never \
--cpu=armeabi-v7a-m0 \
--define TARGET=stm32f042 \
//keebee:keebee_flash
status_led:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m0 \
--define TARGET=stm32f042 \
//drivers/stm32:status_led
stm32f042_base:
bazel build \
--crosstool_top=@stm32//tools/arm_compiler:toolchain \
--cpu=armeabi-v7a-m0 \
--define TARGET=stm32f042 \
//third_party/STM/stm32f0/cube:base
rusty_led:
cargo build \
--target thumbv6m-none-eabi