mirror of
https://github.com/google/pebble.git
synced 2025-05-08 10:51:39 -04:00
15 lines
No EOL
504 B
Text
15 lines
No EOL
504 B
Text
sources = [bld.path.make_node("startup_stm32.c")]
|
|
if bld.is_tintin():
|
|
sources.append(bld.path.make_node("system_stm32f2xx.c"))
|
|
elif bld.is_snowy_compatible() or bld.is_silk():
|
|
sources.append(bld.path.make_node("system_stm32f4xx.c"))
|
|
elif bld.is_cutts() or bld.is_robert():
|
|
sources.append(bld.path.make_node("system_stm32f7xx.c"))
|
|
else:
|
|
bld.fatal("No clock configuration file specified for this platform")
|
|
|
|
bld.objects(
|
|
name='startup',
|
|
source=sources,
|
|
use=['fw_includes']
|
|
) |