blob: c9e190e31b7e040d2ce0908d519e8260bd6644f4 [file] [log] [blame]
Brian Silverman2d9cf662013-12-18 14:22:49 -08001{
2 'targets': [
3 {
4 'target_name': 'All',
5 'type': 'none',
6 'dependencies': [
7 'stm32_flasher',
8 ],
9 },
10 {
11 'target_name': 'stm32_flasher',
12 'type': 'executable',
13 'sources': [
14 'stm32_flasher.cc',
15 ],
16 'dependencies': [
17 'stm32flash',
18 '<(AOS)/build/aos.gyp:logging',
19 ],
20 },
21 {
22 'target_name': 'stm32flash',
23 'type': 'static_library',
24 'sources': [
25 'stm32flash/init.c',
26 'stm32flash/parsers/hex.c',
27 'stm32flash/serial_common.c',
28 'stm32flash/serial_platform.c',
29 'stm32flash/utils.c',
30 'stm32flash/stm32.c',
31 ],
32 'cflags': [
33 '-Wno-error',
34 ],
35 },
36 ],
37}