Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
############################################################################
# boards/arm/nrf52/nrf52832-mdk/src/CMakeLists.txt
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
############################################################################

set(SRCS nrf52_boot.c nrf52_bringup.c)

if(CONFIG_BOARDCTL)
list(APPEND SRCS nrf52_appinit.c)
endif()

if(CONFIG_ARCH_LEDS)
list(APPEND SRCS nrf52_autoleds.c)
endif()

target_sources(board PRIVATE ${SRCS})

if(CONFIG_ARCH_BOARD_COMMON)
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
else()
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
endif()
37 changes: 37 additions & 0 deletions boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
############################################################################
# boards/arm/nrf52/nrf52832-sparkfun/src/CMakeLists.txt
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
############################################################################

set(SRCS nrf52_boot.c nrf52_bringup.c)

if(CONFIG_BOARDCTL)
list(APPEND SRCS nrf52_appinit.c)
endif()

if(CONFIG_ARCH_LEDS)
list(APPEND SRCS nrf52_autoleds.c)
endif()

target_sources(board PRIVATE ${SRCS})

if(CONFIG_ARCH_BOARD_COMMON)
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
else()
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
endif()
47 changes: 47 additions & 0 deletions boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
############################################################################
# boards/arm/nrf52/nrf52840-dongle/src/CMakeLists.txt
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
############################################################################

set(SRCS nrf52_boot.c nrf52_bringup.c)

if(CONFIG_BOARDCTL)
list(APPEND SRCS nrf52_appinit.c)
endif()

if(CONFIG_ARCH_LEDS)
list(APPEND SRCS nrf52_autoleds.c)
else()
list(APPEND SRCS nrf52_userleds.c)
endif()

if(CONFIG_USBDEV)
list(APPEND SRCS nrf52_usb.c)
endif()

if(CONFIG_USBDEV_COMPOSITE)
list(APPEND SRCS nrf52_composite.c)
endif()

target_sources(board PRIVATE ${SRCS})

if(CONFIG_ARCH_BOARD_COMMON)
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
else()
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
endif()
41 changes: 41 additions & 0 deletions boards/arm/nrf52/thingy52/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
############################################################################
# boards/arm/nrf52/thingy52/src/CMakeLists.txt
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
############################################################################

set(SRCS nrf52_boot.c nrf52_bringup.c)

if(CONFIG_BOARDCTL)
list(APPEND SRCS nrf52_appinit.c)
endif()

if(CONFIG_ARCH_BUTTONS)
list(APPEND SRCS nrf52_buttons.c)
endif()

if(CONFIG_IOEXPANDER_SX1509)
list(APPEND SRCS nrf52_sx1509.c)
endif()

target_sources(board PRIVATE ${SRCS})

if(CONFIG_ARCH_BOARD_COMMON)
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_COMMON_DIR}/scripts/flash_config.ld")
else()
set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/flash_config.ld")
endif()
6 changes: 0 additions & 6 deletions boards/arm/nrf53/thingy53/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ if(CONFIG_BOARDCTL)
list(APPEND SRCS nrf53_appinit.c)
endif()

if(CONFIG_ARCH_LEDS)
list(APPEND SRCS nrf53_autoleds.c)
else()
list(APPEND SRCS nrf53_userleds.c)
endif()

if(CONFIG_NRF53_APPCORE)
list(APPEND SRCS nrf53_cpunet_boot.c)
endif()
Expand Down
74 changes: 74 additions & 0 deletions tools/ci/testlist/arm-05.dat
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,77 @@
/arm/s32k1xx,CONFIG_ARM_TOOLCHAIN_GNU_EABI

/arm/sam34,CONFIG_ARM_TOOLCHAIN_GNU_EABI

# Boards build by CMake

CMake,nrf52832-dk:buttons
# CMake,nrf52832-dk:mcuboot_app
# CMake,nrf52832-dk:mcuboot_loader
# CMake,nrf52832-dk:mcuboot_loader_minimal
CMake,nrf52832-dk:nsh
CMake,nrf52832-dk:ostest_tickless
# CMake,nrf52832-dk:sdc
# CMake,nrf52832-dk:sdc_nimble
CMake,nrf52832-dk:wdog

CMake,nrf52832-mdk:nsh

CMake,nrf52832-sparkfun:nsh

CMake,nrf52840-dk:adc
CMake,nrf52840-dk:buttons
CMake,nrf52840-dk:cdcacm
# CMake,nrf52840-dk:composite
CMake,nrf52840-dk:highpri
# CMake,nrf52840-dk:mcuboot_app
# CMake,nrf52840-dk:mcuboot_loader
CMake,nrf52840-dk:nsh
CMake,nrf52840-dk:ostest_tickless
CMake,nrf52840-dk:pwm
CMake,nrf52840-dk:qspi
#CMake,nrf52840-dk:rndis
# CMake,nrf52840-dk:sdc
# CMake,nrf52840-dk:sdc_nimble
CMake,nrf52840-dk:sx127x
CMake,nrf52840-dk:timer

CMake,nrf52840-dongle:nsh
CMake,nrf52840-dongle:usbnsh

CMake,nrf52-feather:i2c
CMake,nrf52-feather:nsh
CMake,nrf52-feather:userleds

CMake,thingy52:nsh

CMake,nrf5340-audio-dk:nsh_cpuapp

CMake,nrf5340-dk:adc_cpuapp
CMake,nrf5340-dk:buttons_cpuapp
# CMake,nrf5340-dk:composite_cpuapp
# CMake,nrf5340-dk:mcuboot_app_cpuapp
# CMake,nrf5340-dk:mcuboot_loader_cpuapp
CMake,nrf5340-dk:nsh_cpuapp
CMake,nrf5340-dk:nsh_cpunet
CMake,nrf5340-dk:ostest_tickless_cpuapp
CMake,nrf5340-dk:pwm_cpuapp
CMake,nrf5340-dk:qspi_cpuapp
# CMake,nrf5340-dk:rpmsghci_bt_cpuapp
# CMake,nrf5340-dk:rpmsghci_nimble_cpuapp
# CMake,nrf5340-dk:rpmsghci_sdc_cpunet
# CMake,nrf5340-dk:rptun_cpuapp
# CMake,nrf5340-dk:rptun_cpunet
# CMake,nrf5340-dk:sdc_cpunet
# CMake,nrf5340-dk:sdc_nimble_cpunet
CMake,nrf5340-dk:timer_cpuapp

# CMake,thingy53:composite_cpuapp
CMake,thingy53:nsh_cpuapp
CMake,thingy53:nsh_cpunet

# CMake,nrf9160-dk:mcuboot_app
# CMake,nrf9160-dk:mcuboot_loader
CMake,nrf9160-dk:miniboot_s
# CMake,nrf9160-dk:modem_ns
CMake,nrf9160-dk:nsh
CMake,nrf9160-dk:ostest_tickless
32 changes: 32 additions & 0 deletions tools/ci/testlist/arm-07.dat
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,35 @@
/arm/stm32/nucleo-f2*,CONFIG_ARM_TOOLCHAIN_CLANG

/arm/stm32/nucleo-f30*,CONFIG_ARM_TOOLCHAIN_GNU_EABI

# Boards build by CMake

CMake,nucleo-f103rb:adc
CMake,nucleo-f103rb:ihm07m1_b16
CMake,nucleo-f103rb:nsh
CMake,nucleo-f103rb:pwm
CMake,nucleo-f103rb:qenco

CMake,nucleo-f207zg:adc
CMake,nucleo-f207zg:nsh
CMake,nucleo-f207zg:pwm

# CMake,nucleo-f302r8:can
CMake,nucleo-f302r8:cansock
CMake,nucleo-f302r8:highpri
CMake,nucleo-f302r8:ihm07m1_b16
CMake,nucleo-f302r8:ihm07m1_f32
CMake,nucleo-f302r8:nsh
CMake,nucleo-f302r8:qenco

CMake,nucleo-f303re:adc
# CMake,nucleo-f303re:can
CMake,nucleo-f303re:hello
CMake,nucleo-f303re:nsh
# CMake,nucleo-f303re:nxlines
CMake,nucleo-f303re:pwm
# CMake,nucleo-f303re:serialrx

CMake,nucleo-f303ze:adc
CMake,nucleo-f303ze:nsh
# CMake,nucleo-f303ze:nxlines_oled
52 changes: 52 additions & 0 deletions tools/ci/testlist/arm-08.dat
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,55 @@
/arm/stm32/nucleo-l*,CONFIG_ARM_TOOLCHAIN_CLANG

/arm/stm32/olimex-*,CONFIG_ARM_TOOLCHAIN_GNU_EABI

# Boards build by CMake

CMake,nucleo-f334r8:adc
CMake,nucleo-f334r8:highpri
CMake,nucleo-f334r8:nsh
CMake,nucleo-f334r8:spwm1
CMake,nucleo-f334r8:spwm2

CMake,nucleo-f410rb:nsh

CMake,nucleo-f412zg:nsh

CMake,nucleo-f429zi:netnsh
CMake,nucleo-f429zi:nsh

CMake,nucleo-f446re:adc
# CMake,nucleo-f446re:can
CMake,nucleo-f446re:cansock
CMake,nucleo-f446re:dac
CMake,nucleo-f446re:gpio
CMake,nucleo-f446re:ihm08m1_b16
CMake,nucleo-f446re:ihm08m1_f32
# CMake,nucleo-f446re:lcd
CMake,nucleo-f446re:nsh
CMake,nucleo-f446re:pwm
CMake,nucleo-f446re:qenco

CMake,nucleo-f4x1re:f401-fb
CMake,nucleo-f4x1re:f401-nsh
CMake,nucleo-f4x1re:f411-mcp2515-extid
CMake,nucleo-f4x1re:f411-nsh

CMake,nucleo-g431kb:comp
CMake,nucleo-g431kb:nsh
CMake,nucleo-g431kb:pwm

CMake,nucleo-g431rb:adc
# CMake,nucleo-g431rb:can
CMake,nucleo-g431rb:cansock
CMake,nucleo-g431rb:cordic
CMake,nucleo-g431rb:ihm16m1_b16
CMake,nucleo-g431rb:ihm16m1_f32
CMake,nucleo-g431rb:nsh
CMake,nucleo-g431rb:pwm
CMake,nucleo-g431rb:qenco

# CMake,nucleo-g474re:nsh
# CMake,nucleo-g474re:usbserial

# CMake,nucleo-l152re:lcd
CMake,nucleo-l152re:nsh
Loading