1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

Merge pull request #12014 from cladmi/pr/cpu_cpu_model/migration/straightforward_ones

boards: move CPU/CPU_MODEL definition to Makefile.features
This commit is contained in:
Juan I Carrano 2019-08-21 18:52:28 +02:00 committed by GitHub
commit e2b2b8e43c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
266 changed files with 346 additions and 699 deletions

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf52832xxaa
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi

View File

@ -1,6 +1,3 @@
# define the cpu used by the acd52832
export CPU_MODEL = nrf52832xxaa
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf51x22xxaa
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c

View File

@ -1,6 +1,3 @@
# define the used CPU model
export CPU_MODEL = nrf51x22xxaa
# include common nrf51 boards module into the build
USEMODULE += boards_common_nrf51

View File

@ -1,3 +1,3 @@
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
CPU = atmega328p
include $(RIOTCPU)/atmega328p/Makefile.features
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the ardudino duemilanove board
export CPU = atmega328p
# configure the terminal program
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,3 +1,3 @@
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
CPU = atmega32u4
include $(RIOTCPU)/atmega32u4/Makefile.features
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the arduino uno board
export CPU = atmega32u4
PORT_LINUX ?= /dev/ttyUSB0
AVRDUDE_PORT ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,4 +1,4 @@
CPU = atmega2560
FEATURES_PROVIDED += puf_sram
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
include $(RIOTCPU)/atmega2560/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the arduino mega2560 board
export CPU = atmega2560
USEMODULE += boards_common_arduino-atmega
# configure the terminal program

View File

@ -1,3 +1 @@
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
include $(RIOTCPU)/samd21/Makefile.features

View File

@ -1,3 +1 @@
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
include $(RIOTCPU)/samd21/Makefile.features

View File

@ -1,3 +1 @@
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
include $(RIOTCPU)/samd21/Makefile.features

View File

@ -1,3 +1,3 @@
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
CPU = atmega328p
include $(RIOTCPU)/atmega328p/Makefile.features
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the Arduino Nano board
export CPU = atmega328p
# configure the terminal program
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,3 +1,3 @@
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
CPU = atmega328p
include $(RIOTCPU)/atmega328p/Makefile.features
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the arduino uno board
export CPU = atmega328p
# configure the terminal program
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,3 +1,6 @@
CPU = samd21
CPU_MODEL = samd21g18a
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_pwm
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_usbdev
# Various other features (if any)
FEATURES_PROVIDED += arduino
include $(RIOTCPU)/samd21/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by Arduino/Genuino Zero board
export CPU = samd21
export CPU_MODEL = samd21g18a
# set edbg device type
EDBG_DEVICE_TYPE = atmel_cm0p

View File

@ -1,3 +1,6 @@
CPU = stm32l0
CPU_MODEL = stm32l072cz
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_dma
FEATURES_PROVIDED += periph_i2c
@ -12,5 +15,3 @@ FEATURES_PROVIDED += periph_uart
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
FEATURES_PROVIDED += riotboot
include $(RIOTCPU)/stm32l0/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = stm32l0
export CPU_MODEL = stm32l072cz
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,3 +1,6 @@
CPU = stm32l4
CPU_MODEL = stm32l475vg
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_dma
FEATURES_PROVIDED += periph_i2c
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_uart
# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
include $(RIOTCPU)/stm32l4/Makefile.features

View File

@ -1,7 +1,3 @@
# the cpu to build for
export CPU = stm32l4
export CPU_MODEL = stm32l475vg
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf51x22xxab
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_uart

View File

@ -1,6 +1,3 @@
# define the used CPU
export CPU_MODEL = nrf51x22xxab
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,7 +1,8 @@
CPU = cc26x0
CPU_MODEL = cc26x0f128
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_i2c
include $(RIOTCPU)/cc26x0/Makefile.features

View File

@ -1,5 +1,3 @@
export CPU = cc26x0
export CPU_MODEL = cc26x0f128
export XDEBUGGER = XDS110
# set default port depending on operating system

View File

@ -1,7 +1,8 @@
CPU = cc26x0
CPU_MODEL = cc26x0f128
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/cc26x0/Makefile.features

View File

@ -1,5 +1,3 @@
export CPU = cc26x0
export CPU_MODEL = cc26x0f128
export XDEBUGGER = XDS110
# set default port depending on operating system

View File

@ -1,7 +1,8 @@
CPU = cc430
CPU_MODEL = cc430f6137
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_rtc
# Various other features (if any)
include $(RIOTCPU)/cc430/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = cc430
export CPU_MODEL = cc430f6137
# flasher configuration
FLASHFILE ?= $(HEXFILE)
FLASHER = mspdebug

View File

@ -1,3 +1,6 @@
CPU = sam3
CPU_MODEL = sam3x8e
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_dac
@ -9,5 +12,3 @@ FEATURES_PROVIDED += periph_uart
# Various other features (if any)
FEATURES_PROVIDED += arduino
include $(RIOTCPU)/sam3/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the arduino due based boards
export CPU = sam3
export CPU_MODEL = sam3x8e
# export this module and its includes
USEMODULE += boards_common_arduino_due
INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include

View File

@ -1,3 +1,7 @@
CPU = samd21
CPU_MODEL = samd21g18a
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c

View File

@ -1,7 +1,3 @@
# define the cpu used by Arduino/Genuino MKR1000 board
export CPU = samd21
export CPU_MODEL = samd21g18a
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,3 +1,6 @@
CPU = stm32f1
CPU_MODEL = stm32f103re
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtt

View File

@ -1,7 +1,3 @@
# the cpu to build for
export CPU = stm32f1
export CPU_MODEL = stm32f103re
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB1
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*B)))

View File

@ -2,5 +2,3 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_adc
USEMODULE += saul_gpio
endif
include $(RIOTCPU)/kinetis/Makefile.dep

View File

@ -1,3 +1,6 @@
CPU = kinetis
CPU_MODEL = mkw41z512vht4
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_rtc
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_uart
# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
include $(RIOTCPU)/kinetis/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the board
export CPU = kinetis
export CPU_MODEL = mkw41z512vht4
# include this module into the build
INCLUDES += -I$(RIOTBOARD)/common/kw41z/include

View File

@ -1 +1,2 @@
include $(RIOTCPU)/msp430fxyz/Makefile.features
CPU = msp430fxyz
CPU_MODEL = msp430f1612

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = msp430fxyz
export CPU_MODEL = msp430f1612
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1 +1 @@
include $(RIOTCPU)/lpc2387/Makefile.features
CPU = lpc2387

View File

@ -1,8 +1,5 @@
BOARDS_COMMON_MSBA2_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
## the cpu to build for
export CPU = lpc2387
# Compile `lpc2k_pgm` when required
# It is still compiling in `boards` as it was the case before introducing the
# rule to autobuild

View File

@ -1,8 +1,8 @@
CPU = nrf51
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_timer
# Various other features (if any)
FEATURES_PROVIDED += ble_nimble
-include $(RIOTCPU)/nrf51/Makefile.features

View File

@ -1,6 +1,3 @@
# define the used CPU
export CPU = nrf51
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf52840xxaa
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi

View File

@ -1,5 +1,3 @@
export CPU_MODEL = nrf52840xxaa
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1 +1,2 @@
include $(RIOTCPU)/cc2538/Makefile.features
CPU = cc2538
CPU_MODEL = cc2538sf53

View File

@ -1,7 +1,3 @@
# define the cpu used by the RE-mote board
export CPU = cc2538
export CPU_MODEL = cc2538sf53
# define the default flash-tool
export PROGRAMMER ?= cc2538-bsl

View File

@ -1,3 +1,5 @@
CPU = saml1x
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
@ -9,5 +11,3 @@ FEATURES_PROVIDED += periph_uart
# Put other features on these boards (in alphabetical order)
FEATURES_PROVIDED += riotboot
include $(RIOTCPU)/saml1x/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the saml11 board
export CPU = saml1x
# set edbg device type
EDBG_DEVICE_TYPE = mchp_cm23

View File

@ -1,7 +1,8 @@
CPU = msp430fxyz
CPU_MODEL = msp430f1611
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/msp430fxyz/Makefile.features

View File

@ -1,7 +1,3 @@
# select the used CPU
export CPU = msp430fxyz
export CPU_MODEL = msp430f1611
# include this module in the build
USEMODULE += boards_common_wsn430
# use common wsn430 includes

View File

@ -1,5 +1,7 @@
CPU = stm32f4
CPU_MODEL = stm32f415rg
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32f4/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the stm32f4-discovery board
export CPU = stm32f4
export CPU_MODEL = stm32f415rg
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,3 +1,6 @@
CPU = samd21
CPU_MODEL = samd21g18a
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
@ -8,5 +11,3 @@ FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev
include $(RIOTCPU)/samd21/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by Adafruit Feather M0 boards
export CPU = samd21
export CPU_MODEL = samd21g18a
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,8 +1,9 @@
CPU = stm32f1
CPU_MODEL = stm32f103re
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32f1/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = stm32f1
export CPU_MODEL = stm32f103re
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB1
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))

View File

@ -2,5 +2,3 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
USEMODULE += saul_adc
endif
include $(RIOTCPU)/kinetis/Makefile.dep

View File

@ -1,3 +1,6 @@
CPU = kinetis
CPU_MODEL = mk22fn512vlh12
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/kinetis/Makefile.features

View File

@ -1,6 +1,2 @@
# define the cpu used by the board
export CPU = kinetis
export CPU_MODEL = mk22fn512vlh12
# Include default FRDM board config
include $(RIOTBOARD)/common/frdm/Makefile.include

View File

@ -1,5 +1,3 @@
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_adc
endif
include $(RIOTCPU)/kinetis/Makefile.dep

View File

@ -1,3 +1,6 @@
CPU = kinetis
CPU_MODEL = mk64fn1m0vll12
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_uart
# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
include $(RIOTCPU)/kinetis/Makefile.features

View File

@ -1,6 +1,2 @@
# define the cpu used by the FRDM-K64F board
export CPU = kinetis
export CPU_MODEL = mk64fn1m0vll12
# Include default FRDM board config
include $(RIOTBOARD)/common/frdm/Makefile.include

View File

@ -1,3 +1,6 @@
CPU = samd21
CPU_MODEL = samr21e18a
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
-include $(RIOTCPU)/samd21/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by Hamilton
export CPU = samd21
export CPU_MODEL = samr21e18a
# debugger config
export JLINK_DEVICE := atsamr21e18a
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb

View File

@ -1,3 +1,6 @@
CPU = stm32l0
CPU_MODEL = stm32l052t8
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_lpuart
@ -6,5 +9,3 @@ FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32l0/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = stm32l0
export CPU_MODEL = stm32l052t8
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,5 +1,3 @@
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
include $(RIOTCPU)/efm32/Makefile.dep

View File

@ -1,3 +1,6 @@
CPU = efm32
CPU_MODEL = efr32mg1p132f256gm32
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_rtc
@ -5,5 +8,3 @@ FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/efm32/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by ikea-tradfri
export CPU = efm32
export CPU_MODEL = efr32mg1p132f256gm32
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,3 +1 @@
include $(RIOTBOARD)/common/iotlab/Makefile.features
include $(RIOTCPU)/stm32f1/Makefile.features

View File

@ -1,5 +1,3 @@
include $(RIOTBOARD)/common/iotlab/Makefile.features
FEATURES_PROVIDED += periph_dma
include $(RIOTCPU)/stm32f1/Makefile.features

View File

@ -1,8 +1,8 @@
CPU = atmega256rfr2
# This board is based on an atmega CPU, thus import the features from it
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
# Put defined MCU peripherals here (in alphabetical order)
# Peripherals are defined in common/arduino-atmega/Makefile.features
# Add only additional Peripherals
-include $(RIOTCPU)/atmega256rfr2/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the jiminy board
export CPU = atmega256rfr2
# configure the terminal program
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

View File

@ -1,7 +1,8 @@
CPU = stm32l1
CPU_MODEL = stm32l151rc
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32l1/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = stm32l1
export CPU_MODEL = stm32l151rc
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1,8 +1,9 @@
CPU = stm32l1
CPU_MODEL = stm32l151cb_a
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32l1/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = stm32l1
export CPU_MODEL = stm32l151cb_a
# add the common header files to the include path
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,3 +1,6 @@
CPU = stm32l0
CPU_MODEL = stm32l072cz
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_dma
FEATURES_PROVIDED += periph_i2c
@ -12,5 +15,3 @@ FEATURES_PROVIDED += periph_uart
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
FEATURES_PROVIDED += riotboot
include $(RIOTCPU)/stm32l0/Makefile.features

View File

@ -1,7 +1,3 @@
## the cpu to build for
export CPU = stm32l0
export CPU_MODEL = stm32l072cz
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,7 +1,8 @@
CPU = stm32f1
CPU_MODEL = stm32f103cb
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32f1/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the maple-mini board
export CPU = stm32f1
export CPU_MODEL = stm32f103cb
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1,6 +1,6 @@
CPU = lpc1768
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/lpc1768/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the mbed_lpx1768 board
export CPU = lpc1768
FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
DEBUGGER =
DEBUGSERVER =

View File

@ -1,3 +1,5 @@
CPU = atmega1284p
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
@ -7,5 +9,3 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
# Various other features (if any)
-include $(RIOTCPU)/atmega1284p/Makefile.features

View File

@ -1,6 +1,3 @@
# define the cpu used by the Mega Xplained board
export CPU = atmega1284p
# Found by checking fuse settings (2048 words so 4KB)
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
BOOTLOADER_SIZE ?= 4K

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf51x22xxab
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_uart

View File

@ -1,6 +1,3 @@
# define the used CPU
export CPU_MODEL = nrf51x22xxab
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1,3 +1,6 @@
CPU = stm32f4
CPU_MODEL = stm32f415rg
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_dac
@ -6,5 +9,3 @@ FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/stm32f4/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the msb-iot board
export CPU = stm32f4
export CPU_MODEL = stm32f415rg
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

View File

@ -1,3 +1,5 @@
CPU = native
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_timer
@ -9,5 +11,3 @@ FEATURES_PROVIDED += periph_qdec
# Various other features (if any)
FEATURES_PROVIDED += ethernet
FEATURES_PROVIDED += motor_driver
include $(RIOTCPU)/native/Makefile.features

View File

@ -3,8 +3,6 @@ export NATIVEINCLUDES += -I$(RIOTBOARD)/$(BOARD)/include/
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
export NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
export CPU = native
USEMODULE += native-drivers
ifeq ($(shell uname -s),Darwin)

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf51x22xxac
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi

View File

@ -1,6 +1,3 @@
# define the used CPU
export CPU_MODEL = nrf51x22xxac
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf51x22xxab
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_uart

View File

@ -1,6 +1,3 @@
# define the used CPU
export CPU_MODEL = nrf51x22xxab
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -1,3 +1,5 @@
CPU_MODEL = nrf52832xxaa
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_uart

Some files were not shown because too many files have changed in this diff Show More