forked from wangyeee/STM32F4-FreeRTOS
-
Notifications
You must be signed in to change notification settings - Fork 54
/
config.mk
171 lines (156 loc) · 5.73 KB
/
config.mk
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# Common source.
CFLAGS_all += -IHardware
CFLAGS_all += -IFreeRTOS/include
CFLAGS_all += -IFreeRTOS/portable/GCC/ARM_CM4F
CFLAGS_all += -IPlatform/CMSIS/Include
CFLAGS_all += -Ilib/neographics/src/
CFLAGS_all += -Ilib/neographics/src/draw_command
CFLAGS_all += -Ilib/neographics/src/path
CFLAGS_all += -Ilib/neographics/src/primitives
CFLAGS_all += -Ilib/neographics/src/types
CFLAGS_all += -Ilib/neographics/src/fonts
CFLAGS_all += -Ilib/neographics/src/text
CFLAGS_all += -Ilib/minilib/inc
CFLAGS_all += -Ilib/png
CFLAGS_all += -Ilib/pbl_strftime/src
CFLAGS_all += -IWatchfaces
CFLAGS_all += -IApps
CFLAGS_all += -IApps/System
CFLAGS_all += -IConfig
CFLAGS_all += -Ircore
CFLAGS_all += -Ircore/protocol
CFLAGS_all += -Irwatch
CFLAGS_all += -Irwatch/ui
CFLAGS_all += -Irwatch/ui/notifications
CFLAGS_all += -Irwatch/ui/layer
CFLAGS_all += -Irwatch/ui/animation
CFLAGS_all += -Irwatch/input
CFLAGS_all += -Irwatch/graphics
CFLAGS_all += -Irwatch/event
CFLAGS_all += -DNGFX_IS_CORE
# XXX: nostdinc
CFLAGS_all += -O0 -ggdb -Wall -ffunction-sections -fdata-sections -mthumb -mlittle-endian -finline-functions -std=gnu99 -falign-functions=16
# CFLAGS_all += -Wno-implicit-function-declaration
CFLAGS_all += -Wno-unused-variable -Wno-unused-function
LDFLAGS_all += -nostartfiles -nostdlib
LIBS_all += -lgcc
SRCS_all += build/version.c
SRCS_all += FreeRTOS/croutine.c
SRCS_all += FreeRTOS/event_groups.c
SRCS_all += FreeRTOS/list.c
SRCS_all += FreeRTOS/queue.c
SRCS_all += FreeRTOS/tasks.c
SRCS_all += FreeRTOS/timers.c
SRCS_all += FreeRTOS/portable/GCC/ARM_CM4F/port.c
SRCS_all += FreeRTOS/portable/MemMang/heap_4.c
SRCS_all += lib/minilib/minilib.c
SRCS_all += lib/minilib/sbrk.c
SRCS_all += lib/minilib/dprint.c
SRCS_all += lib/minilib/fmt.c
SRCS_all += lib/minilib/unfmt.c
SRCS_all += lib/minilib/rand.c
SRCS_all += lib/minilib/qalloc.c
SRCS_all += lib/musl/time/localtime.c
SRCS_all += lib/musl/time/localtime_r.c
SRCS_all += lib/musl/time/mktime.c
SRCS_all += lib/musl/time/__secs_to_tm.c
SRCS_all += lib/musl/time/__tm_to_secs.c
SRCS_all += lib/musl/time/__year_to_secs.c
SRCS_all += lib/musl/time/__month_to_secs.c
SRCS_all += lib/neographics/src/common.c
SRCS_all += lib/neographics/src/context.c
SRCS_all += lib/neographics/src/draw_command/draw_command.c
SRCS_all += lib/neographics/src/fonts/fonts.c
SRCS_all += lib/neographics/src/gbitmap/gbitmap.c
SRCS_all += lib/neographics/src/gbitmap/blit_bw.c
SRCS_all += lib/neographics/src/gbitmap/blit_color.c
SRCS_all += lib/neographics/src/path/path.c
SRCS_all += lib/neographics/src/primitives/circle.c
SRCS_all += lib/neographics/src/primitives/line.c
SRCS_all += lib/neographics/src/primitives/rect.c
SRCS_all += lib/neographics/src/text/text.c
SRCS_all += lib/neographics/src/types/rect.c
SRCS_all += lib/png/png.c
SRCS_all += lib/png/upng.c
SRCS_all += lib/pbl_strftime/src/strftime.c
SRCS_all += rcore/ambient.c
SRCS_all += rcore/appmanager.c
SRCS_all += rcore/appmanager_app.c
SRCS_all += rcore/appmanager_app_api.c
SRCS_all += rcore/appmanager_app_runloop.c
SRCS_all += rcore/appmanager_app_timer.c
SRCS_all += rcore/backlight.c
SRCS_all += rcore/bluetooth.c
SRCS_all += rcore/buttons.c
SRCS_all += rcore/display.c
SRCS_all += rcore/debug.c
SRCS_all += rcore/gyro.c
SRCS_all += rcore/main.c
SRCS_all += rcore/notification_manager.c
SRCS_all += rcore/notification_message.c
SRCS_all += rcore/power.c
SRCS_all += rcore/rebbleos.c
SRCS_all += rcore/smartstrap.c
SRCS_all += rcore/rebble_time.c
SRCS_all += rcore/rebble_memory.c
SRCS_all += rcore/vibrate.c
SRCS_all += rcore/flash.c
SRCS_all += rcore/fs.c
SRCS_all += rcore/log.c
SRCS_all += rcore/resource.c
SRCS_all += rcore/watchdog.c
SRCS_all += rcore/overlay_manager.c
SRCS_all += rcore/rebble_util.c
SRCS_all += rcore/protocol/protocol_notification.c
SRCS_all += rcore/protocol/protocol_system.c
SRCS_all += rwatch/librebble.c
SRCS_all += rwatch/ngfxwrap.c
SRCS_all += rwatch/math_sin.c
SRCS_all += rwatch/ui/layer/layer.c
SRCS_all += rwatch/ui/layer/bitmap_layer.c
SRCS_all += rwatch/ui/layer/menu_layer.c
SRCS_all += rwatch/ui/layer/simple_menu_layer.c
SRCS_all += rwatch/ui/layer/scroll_layer.c
SRCS_all += rwatch/ui/layer/action_bar_layer.c
SRCS_all += rwatch/ui/layer/text_layer.c
SRCS_all += rwatch/ui/layer/notification_layer.c
SRCS_all += rwatch/ui/window.c
SRCS_all += rwatch/ui/action_menu.c
SRCS_all += rwatch/graphics/gbitmap.c
SRCS_all += rwatch/graphics/graphics.c
SRCS_all += rwatch/graphics/font_loader.c
SRCS_all += rwatch/event/tick_timer_service.c
SRCS_all += rwatch/event/app_timer.c
SRCS_all += rwatch/event/battery_state_service.c
SRCS_all += rwatch/event/connection_service.c
SRCS_all += rwatch/ui/layer/status_bar_layer.c
SRCS_all += rwatch/ui/animation/animation.c
SRCS_all += rwatch/ui/animation/property_animation.c
SRCS_all += rwatch/ui/notifications/notification_window.c
SRCS_all += rwatch/ui/notifications/battery_overlay.c
SRCS_all += rwatch/ui/notifications/mini_message.c
SRCS_all += rwatch/ui/vibes.c
SRCS_all += Watchfaces/simple.c
SRCS_all += Watchfaces/nivz.c
SRCS_all += Apps/System/systemapp.c
SRCS_all += Apps/System/menu.c
SRCS_all += Apps/System/testapp.c
SRCS_all += Apps/System/test.c
SRCS_all += Apps/System/notification.c
include hw/chip/stm32f4xx/config.mk
include hw/chip/stm32f2xx/config.mk
include hw/drivers/stm32_dma/config.mk
include hw/drivers/stm32_spi/config.mk
include hw/drivers/stm32_i2c/config.mk
include hw/drivers/stm32_usart/config.mk
include hw/drivers/stm32_buttons/config.mk
include hw/drivers/stm32_power/config.mk
include hw/drivers/stm32_rtc/config.mk
include hw/drivers/stm32_backlight/config.mk
include hw/drivers/stm32_bluetooth_cc256x/config.mk
include hw/platform/snowy_family/config.mk
include hw/platform/snowy/config.mk
include hw/platform/tintin/config.mk
include hw/platform/chalk/config.mk
include Apps/System/tests/config.mk
include lib/btstack/config.mk