2013-05-28 22:24:17 +02:00
|
|
|
############################################################################
|
2021-03-08 22:29:12 +01:00
|
|
|
# boards/arm/stm32/stm32_tiny/src/Make.defs
|
2013-05-28 22:24:17 +02:00
|
|
|
#
|
2021-03-31 14:42:54 +02:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2013-05-28 22:24:17 +02:00
|
|
|
#
|
2021-03-31 14:42:54 +02:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2013-05-28 22:24:17 +02:00
|
|
|
#
|
2021-03-31 14:42:54 +02:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2013-05-28 22:24:17 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2020-05-18 21:42:11 +02:00
|
|
|
include $(TOPDIR)/Make.defs
|
2013-05-28 22:24:17 +02:00
|
|
|
|
2015-03-21 16:01:18 +01:00
|
|
|
CSRCS = stm32_boot.c stm32_leds.c stm32_spi.c stm32_usbdev.c
|
2013-05-28 22:24:17 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_PWM),y)
|
2015-03-21 16:01:18 +01:00
|
|
|
CSRCS += stm32_pwm.c
|
2013-05-28 22:24:17 +02:00
|
|
|
endif
|
|
|
|
|
2016-02-04 19:14:17 +01:00
|
|
|
ifeq ($(CONFIG_LIB_BOARDCTL),y)
|
2016-02-04 19:03:09 +01:00
|
|
|
CSRCS += stm32_appinit.c
|
2013-05-28 22:24:17 +02:00
|
|
|
endif
|
|
|
|
|
2020-05-08 21:37:11 +02:00
|
|
|
DEPPATH += --dep-path board
|
|
|
|
VPATH += :board
|
2020-03-26 04:51:22 +01:00
|
|
|
CFLAGS += $(shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)board)
|