mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 09:38:37 +08:00
arch/arm/src/nrf52/CMakeLists.txt: format file
This commit is contained in:
@@ -1,22 +1,22 @@
|
|||||||
############################################################################
|
# ##############################################################################
|
||||||
# arch/arm/src/nrf52/CMakeLists.txt
|
# arch/arm/src/nrf52/CMakeLists.txt
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# license agreements. See the NOTICE file distributed with this work for
|
||||||
# this work for additional information regarding copyright ownership. The
|
# additional information regarding copyright ownership. The ASF licenses this
|
||||||
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
# file to you under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
# "License"); you may not use this file except in compliance with the
|
# use this file except in compliance with the License. You may obtain a copy of
|
||||||
# License. You may obtain a copy of the License at
|
# the License at
|
||||||
#
|
#
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
#
|
#
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations under
|
||||||
# under the License.
|
# the License.
|
||||||
#
|
#
|
||||||
############################################################################
|
# ##############################################################################
|
||||||
|
|
||||||
set(SRCS
|
set(SRCS
|
||||||
nrf52_start.c
|
nrf52_start.c
|
||||||
@@ -179,7 +179,8 @@ set(NRFXLIB_DIR "${NUTTX_CHIP_ABS_DIR}/sdk-nrfxlib")
|
|||||||
|
|
||||||
target_include_directories(arch PRIVATE ${NUTTX_CHIP_ABS_DIR}/sdc)
|
target_include_directories(arch PRIVATE ${NUTTX_CHIP_ABS_DIR}/sdc)
|
||||||
target_include_directories(arch PRIVATE ${NRFXLIB_DIR}/mpsl/include)
|
target_include_directories(arch PRIVATE ${NRFXLIB_DIR}/mpsl/include)
|
||||||
target_include_directories(arch PRIVATE ${NRFXLIB_DIR}/softdevice_controller/include)
|
target_include_directories(
|
||||||
|
arch PRIVATE ${NRFXLIB_DIR}/softdevice_controller/include)
|
||||||
|
|
||||||
list(APPEND SRCS nrf52_sdc.c)
|
list(APPEND SRCS nrf52_sdc.c)
|
||||||
|
|
||||||
@@ -199,10 +200,12 @@ elseif(CONFIG_NRF52_SDC_MULTIROLE)
|
|||||||
set(SOFTDEVICE_LIB_VARIANT libsoftdevice_controller_multirole.a)
|
set(SOFTDEVICE_LIB_VARIANT libsoftdevice_controller_multirole.a)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(arch
|
target_link_libraries(
|
||||||
${NRFXLIB_DIR}/mpsl/lib/cortex-m4/${NRFXLIB_LIB_VARIANT}/libmpsl.a)
|
arch ${NRFXLIB_DIR}/mpsl/lib/cortex-m4/${NRFXLIB_LIB_VARIANT}/libmpsl.a)
|
||||||
target_link_libraries(arch
|
target_link_libraries(
|
||||||
${NRFXLIB_DIR}/softdevice_controller/lib/cortex-m4/${NRFXLIB_LIB_VARIANT}/${SOFTDEVICE_LIB_VARIANT})
|
arch
|
||||||
|
${NRFXLIB_DIR}/softdevice_controller/lib/cortex-m4/${NRFXLIB_LIB_VARIANT}/${SOFTDEVICE_LIB_VARIANT}
|
||||||
|
)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user