2007-04-29 03:39:18 +08:00
|
|
|
############################################################################
|
2021-03-09 05:29:12 +08:00
|
|
|
# arch/arm/src/dm320/Make.defs
|
2007-04-29 03:39:18 +08:00
|
|
|
#
|
2021-03-13 18:24:50 +08: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
|
2007-04-29 03:39:18 +08:00
|
|
|
#
|
2021-03-13 18:24:50 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2007-04-29 03:39:18 +08:00
|
|
|
#
|
2021-03-13 18:24:50 +08: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.
|
2007-04-29 03:39:18 +08:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2022-04-27 20:28:49 +08:00
|
|
|
include arm/Make.defs
|
2007-04-29 03:39:18 +08:00
|
|
|
|
2023-12-18 17:48:07 +08:00
|
|
|
CFLAGS += -Wno-array-bounds
|
|
|
|
|
2014-09-02 05:39:34 +08:00
|
|
|
CHIP_ASRCS = dm320_lowputc.S dm320_restart.S
|
|
|
|
|
|
|
|
CHIP_CSRCS = dm320_allocateheap.c dm320_boot.c dm320_decodeirq.c
|
|
|
|
CHIP_CSRCS += dm320_irq.c dm320_serial.c dm320_framebuffer.c
|
2014-08-07 06:26:01 +08:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_SCHED_TICKLESS),y)
|
|
|
|
CHIP_CSRCS += dm320_timerisr.c
|
|
|
|
endif
|
2007-04-29 03:39:18 +08:00
|
|
|
|
2008-10-08 01:23:58 +08:00
|
|
|
ifeq ($(CONFIG_USBDEV),y)
|
2014-08-07 06:26:01 +08:00
|
|
|
CHIP_CSRCS += dm320_usbdev.c
|
2008-10-08 01:23:58 +08:00
|
|
|
endif
|