xref: /nrf52832-nimble/packages/NimBLE-latest/porting/nimble/Makefile.controller (revision 042d53a763ad75cb1465103098bb88c245d95138)
1#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements.  See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership.  The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License.  You may obtain a copy of the License at
9#  *  http://www.apache.org/licenses/LICENSE-2.0
10#  * Unless required by applicable law or agreed to in writing,
11#  software distributed under the License is distributed on an
12# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13# KIND, either express or implied.  See the License for the
14# specific language governing permissions and limitations
15# under the License.
16#
17
18NIMBLE_CFLAGS += \
19	-DNIMBLE_CFG_CONTROLLER=1 \
20
21NIMBLE_INCLUDE += \
22	$(NIMBLE_ROOT)/nimble/transport/ram/include \
23	$(NIMBLE_ROOT)/nimble/controller/include \
24	$(NIMBLE_ROOT)/nimble/drivers/nrf52/include \
25	$(NULL)
26
27NIMBLE_SRC += \
28	$(NIMBLE_ROOT)/nimble/transport/ram/src/ble_hci_ram.c \
29	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_sched.c \
30	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_xcvr.c \
31	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_whitelist.c \
32	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_ctrl.c \
33	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_hci.c \
34	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_supp_cmd.c \
35	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_adv.c \
36	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_conn.c \
37	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_resolv.c \
38	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_conn_hci.c \
39	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_rand.c \
40	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll.c \
41	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_scan.c \
42	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_dtm.c \
43	$(NIMBLE_ROOT)/nimble/controller/src/ble_ll_hci_ev.c \
44	$(NIMBLE_ROOT)/nimble/drivers/nrf52/src/ble_hw.c \
45	$(NIMBLE_ROOT)/nimble/drivers/nrf52/src/ble_phy.c \
46	$(NIMBLE_ROOT)/porting/nimble/src/os_cputime.c \
47	$(NIMBLE_ROOT)/porting/nimble/src/os_cputime_pwr2.c \
48	$(NIMBLE_ROOT)/porting/nimble/src/hal_timer.c \
49	$(NULL)
50