mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are automatically included Part of moving CPU/CPU_MODEL definition to Makefile.features to have it available before Makefile.include.
This commit is contained in:
parent
8305390a05
commit
636285ebe4
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf52832xxaa
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the acd52832
|
|
||||||
export CPU_MODEL = nrf52832xxaa
|
|
||||||
|
|
||||||
# set default port depending on operating system
|
# set default port depending on operating system
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf51x22xxaa
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the used CPU model
|
|
||||||
export CPU_MODEL = nrf51x22xxaa
|
|
||||||
|
|
||||||
# include common nrf51 boards module into the build
|
# include common nrf51 boards module into the build
|
||||||
USEMODULE += boards_common_nrf51
|
USEMODULE += boards_common_nrf51
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the ardudino duemilanove board
|
|
||||||
export CPU = atmega328p
|
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -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
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the arduino uno board
|
|
||||||
export CPU = atmega32u4
|
|
||||||
|
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
AVRDUDE_PORT ?= /dev/ttyACM0
|
AVRDUDE_PORT ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
CPU = atmega2560
|
||||||
|
|
||||||
FEATURES_PROVIDED += puf_sram
|
FEATURES_PROVIDED += puf_sram
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/atmega2560/Makefile.features
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the arduino mega2560 board
|
|
||||||
export CPU = atmega2560
|
|
||||||
|
|
||||||
USEMODULE += boards_common_arduino-atmega
|
USEMODULE += boards_common_arduino-atmega
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
|
@ -1,3 +1 @@
|
|||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/samd21/Makefile.features
|
|
||||||
|
@ -1,3 +1 @@
|
|||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/samd21/Makefile.features
|
|
||||||
|
@ -1,3 +1 @@
|
|||||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/samd21/Makefile.features
|
|
||||||
|
@ -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
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the Arduino Nano board
|
|
||||||
export CPU = atmega328p
|
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -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
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the arduino uno board
|
|
||||||
export CPU = atmega328p
|
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = samd21
|
||||||
|
CPU_MODEL = samd21g18a
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_pwm
|
FEATURES_PROVIDED += periph_pwm
|
||||||
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_usbdev
|
|||||||
|
|
||||||
# Various other features (if any)
|
# Various other features (if any)
|
||||||
FEATURES_PROVIDED += arduino
|
FEATURES_PROVIDED += arduino
|
||||||
|
|
||||||
include $(RIOTCPU)/samd21/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# define the cpu used by Arduino/Genuino Zero board
|
|
||||||
export CPU = samd21
|
|
||||||
export CPU_MODEL = samd21g18a
|
|
||||||
|
|
||||||
# set edbg device type
|
# set edbg device type
|
||||||
EDBG_DEVICE_TYPE = atmel_cm0p
|
EDBG_DEVICE_TYPE = atmel_cm0p
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32l0
|
||||||
|
CPU_MODEL = stm32l072cz
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
FEATURES_PROVIDED += periph_i2c
|
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
|
# 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.
|
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32l0/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32l0
|
|
||||||
export CPU_MODEL = stm32l072cz
|
|
||||||
|
|
||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32l4
|
||||||
|
CPU_MODEL = stm32l475vg
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32l4/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# the cpu to build for
|
|
||||||
export CPU = stm32l4
|
|
||||||
export CPU_MODEL = stm32l475vg
|
|
||||||
|
|
||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf51x22xxab
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the used CPU
|
|
||||||
export CPU_MODEL = nrf51x22xxab
|
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
CPU = cc26x0
|
||||||
|
CPU_MODEL = cc26x0f128
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
|
|
||||||
include $(RIOTCPU)/cc26x0/Makefile.features
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
export CPU = cc26x0
|
|
||||||
export CPU_MODEL = cc26x0f128
|
|
||||||
export XDEBUGGER = XDS110
|
export XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
# set default port depending on operating system
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
CPU = cc26x0
|
||||||
|
CPU_MODEL = cc26x0f128
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/cc26x0/Makefile.features
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
export CPU = cc26x0
|
|
||||||
export CPU_MODEL = cc26x0f128
|
|
||||||
export XDEBUGGER = XDS110
|
export XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
# set default port depending on operating system
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
CPU = cc430
|
||||||
|
CPU_MODEL = cc430f6137
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_rtc
|
FEATURES_PROVIDED += periph_rtc
|
||||||
|
|
||||||
# Various other features (if any)
|
# Various other features (if any)
|
||||||
|
|
||||||
include $(RIOTCPU)/cc430/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = cc430
|
|
||||||
export CPU_MODEL = cc430f6137
|
|
||||||
|
|
||||||
# flasher configuration
|
# flasher configuration
|
||||||
FLASHFILE ?= $(HEXFILE)
|
FLASHFILE ?= $(HEXFILE)
|
||||||
FLASHER = mspdebug
|
FLASHER = mspdebug
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf52840xxaa
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
export CPU_MODEL = nrf52840xxaa
|
|
||||||
|
|
||||||
# set default port depending on operating system
|
# set default port depending on operating system
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
CPU = stm32f4
|
||||||
|
CPU_MODEL = stm32f415rg
|
||||||
|
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f4/Makefile.features
|
|
||||||
|
@ -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
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = samd21
|
||||||
|
CPU_MODEL = samd21g18a
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
@ -8,5 +11,3 @@ FEATURES_PROVIDED += periph_spi
|
|||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
FEATURES_PROVIDED += periph_usbdev
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
|
||||||
include $(RIOTCPU)/samd21/Makefile.features
|
|
||||||
|
@ -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_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
|
CPU = stm32f1
|
||||||
|
CPU_MODEL = stm32f103re
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_rtt
|
FEATURES_PROVIDED += periph_rtt
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f1/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f1
|
|
||||||
export CPU_MODEL = stm32f103re
|
|
||||||
|
|
||||||
# set default port depending on operating system
|
# set default port depending on operating system
|
||||||
PORT_LINUX ?= /dev/ttyUSB1
|
PORT_LINUX ?= /dev/ttyUSB1
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||||
|
@ -2,5 +2,3 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
USEMODULE += saul_adc
|
USEMODULE += saul_adc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTCPU)/kinetis/Makefile.dep
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = kinetis
|
||||||
|
CPU_MODEL = mk22fn512vlh12
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_rtt
|
|||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/kinetis/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
# define the cpu used by the board
|
|
||||||
export CPU = kinetis
|
|
||||||
export CPU_MODEL = mk22fn512vlh12
|
|
||||||
|
|
||||||
# Include default FRDM board config
|
# Include default FRDM board config
|
||||||
include $(RIOTBOARD)/common/frdm/Makefile.include
|
include $(RIOTBOARD)/common/frdm/Makefile.include
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_adc
|
USEMODULE += saul_adc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTCPU)/kinetis/Makefile.dep
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = kinetis
|
||||||
|
CPU_MODEL = mk64fn1m0vll12
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
|
|
||||||
include $(RIOTCPU)/kinetis/Makefile.features
|
|
||||||
|
@ -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 default FRDM board config
|
||||||
include $(RIOTBOARD)/common/frdm/Makefile.include
|
include $(RIOTBOARD)/common/frdm/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = samd21
|
||||||
|
CPU_MODEL = samr21e18a
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_rtc
|
|||||||
FEATURES_PROVIDED += periph_rtt
|
FEATURES_PROVIDED += periph_rtt
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
|
|
||||||
-include $(RIOTCPU)/samd21/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# define the cpu used by Hamilton
|
|
||||||
export CPU = samd21
|
|
||||||
export CPU_MODEL = samr21e18a
|
|
||||||
|
|
||||||
# debugger config
|
# debugger config
|
||||||
export JLINK_DEVICE := atsamr21e18a
|
export JLINK_DEVICE := atsamr21e18a
|
||||||
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
|
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32l0
|
||||||
|
CPU_MODEL = stm32l052t8
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_lpuart
|
FEATURES_PROVIDED += periph_lpuart
|
||||||
@ -6,5 +9,3 @@ FEATURES_PROVIDED += periph_rtt
|
|||||||
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
|
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32l0/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32l0
|
|
||||||
export CPU_MODEL = stm32l052t8
|
|
||||||
|
|
||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTCPU)/efm32/Makefile.dep
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = efm32
|
||||||
|
CPU_MODEL = efr32mg1p132f256gm32
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
FEATURES_PROVIDED += periph_rtc
|
FEATURES_PROVIDED += periph_rtc
|
||||||
@ -5,5 +8,3 @@ FEATURES_PROVIDED += periph_rtt
|
|||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/efm32/Makefile.features
|
|
||||||
|
@ -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
|
# set default port depending on operating system
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -1,3 +1 @@
|
|||||||
include $(RIOTBOARD)/common/iotlab/Makefile.features
|
include $(RIOTBOARD)/common/iotlab/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f1/Makefile.features
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
include $(RIOTBOARD)/common/iotlab/Makefile.features
|
include $(RIOTBOARD)/common/iotlab/Makefile.features
|
||||||
|
|
||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f1/Makefile.features
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
CPU = atmega256rfr2
|
||||||
|
|
||||||
# This board is based on an atmega CPU, thus import the features from it
|
# This board is based on an atmega CPU, thus import the features from it
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
# Peripherals are defined in common/arduino-atmega/Makefile.features
|
# Peripherals are defined in common/arduino-atmega/Makefile.features
|
||||||
# Add only additional Peripherals
|
# Add only additional Peripherals
|
||||||
|
|
||||||
-include $(RIOTCPU)/atmega256rfr2/Makefile.features
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the jiminy board
|
|
||||||
export CPU = atmega256rfr2
|
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
CPU = stm32l1
|
||||||
|
CPU_MODEL = stm32l151rc
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32l1/Makefile.features
|
|
||||||
|
@ -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
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyUSB0
|
PORT_LINUX ?= /dev/ttyUSB0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
|
CPU = stm32l1
|
||||||
|
CPU_MODEL = stm32l151cb_a
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_rtc
|
FEATURES_PROVIDED += periph_rtc
|
||||||
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
|
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32l1/Makefile.features
|
|
||||||
|
@ -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
|
# add the common header files to the include path
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32l0
|
||||||
|
CPU_MODEL = stm32l072cz
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
FEATURES_PROVIDED += periph_i2c
|
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
|
# 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.
|
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32l0/Makefile.features
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32l0
|
|
||||||
export CPU_MODEL = stm32l072cz
|
|
||||||
|
|
||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
CPU = stm32f1
|
||||||
|
CPU_MODEL = stm32f103cb
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f1/Makefile.features
|
|
||||||
|
@ -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
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
CPU = lpc1768
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/lpc1768/Makefile.features
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the cpu used by the mbed_lpx1768 board
|
|
||||||
export CPU = lpc1768
|
|
||||||
|
|
||||||
FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
|
FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
|
||||||
DEBUGGER =
|
DEBUGGER =
|
||||||
DEBUGSERVER =
|
DEBUGSERVER =
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU = atmega1284p
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
@ -7,5 +9,3 @@ FEATURES_PROVIDED += periph_timer
|
|||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
# Various other features (if any)
|
# Various other features (if any)
|
||||||
|
|
||||||
-include $(RIOTCPU)/atmega1284p/Makefile.features
|
|
||||||
|
@ -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)
|
# Found by checking fuse settings (2048 words so 4KB)
|
||||||
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
|
# https://www.microchip.com/DevelopmentTools/ProductDetails/atmega1284p-xpld
|
||||||
BOOTLOADER_SIZE ?= 4K
|
BOOTLOADER_SIZE ?= 4K
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf51x22xxab
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the used CPU
|
|
||||||
export CPU_MODEL = nrf51x22xxab
|
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f4
|
||||||
|
CPU_MODEL = stm32f415rg
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_dac
|
FEATURES_PROVIDED += periph_dac
|
||||||
@ -6,5 +9,3 @@ FEATURES_PROVIDED += periph_pwm
|
|||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f4/Makefile.features
|
|
||||||
|
@ -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
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU = native
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_rtc
|
FEATURES_PROVIDED += periph_rtc
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
@ -9,5 +11,3 @@ FEATURES_PROVIDED += periph_qdec
|
|||||||
# Various other features (if any)
|
# Various other features (if any)
|
||||||
FEATURES_PROVIDED += ethernet
|
FEATURES_PROVIDED += ethernet
|
||||||
FEATURES_PROVIDED += motor_driver
|
FEATURES_PROVIDED += motor_driver
|
||||||
|
|
||||||
include $(RIOTCPU)/native/Makefile.features
|
|
||||||
|
@ -3,8 +3,6 @@ export NATIVEINCLUDES += -I$(RIOTBOARD)/$(BOARD)/include/
|
|||||||
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
|
export NATIVEINCLUDES += -I$(RIOTBASE)/core/include/
|
||||||
export NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
|
export NATIVEINCLUDES += -I$(RIOTBASE)/drivers/include/
|
||||||
|
|
||||||
export CPU = native
|
|
||||||
|
|
||||||
USEMODULE += native-drivers
|
USEMODULE += native-drivers
|
||||||
|
|
||||||
ifeq ($(shell uname -s),Darwin)
|
ifeq ($(shell uname -s),Darwin)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf51x22xxac
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the used CPU
|
|
||||||
export CPU_MODEL = nrf51x22xxac
|
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf51x22xxab
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# define the used CPU
|
|
||||||
export CPU_MODEL = nrf51x22xxab
|
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf52832xxaa
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
export CPU_MODEL = nrf52832xxaa
|
|
||||||
|
|
||||||
# This board uses a DAP-Link programmer
|
# This board uses a DAP-Link programmer
|
||||||
# Flashing support is provided through pyocd (default) and openocd.
|
# Flashing support is provided through pyocd (default) and openocd.
|
||||||
# For openocd, a version built against the development branch and containing
|
# For openocd, a version built against the development branch and containing
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf52840xxaa
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
export CPU_MODEL = nrf52840xxaa
|
|
||||||
|
|
||||||
# This board uses a DAP-Link programmer
|
# This board uses a DAP-Link programmer
|
||||||
# Flashing support is provided through pyocd (default) and openocd.
|
# Flashing support is provided through pyocd (default) and openocd.
|
||||||
# For openocd, a version built against the development branch and containing
|
# For openocd, a version built against the development branch and containing
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
CPU_MODEL = nrf52840xxaa
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
|
||||||
|
|
||||||
# Various other features (if any)
|
# Various other features (if any)
|
||||||
|
@ -1,3 +1 @@
|
|||||||
export CPU_MODEL = nrf52840xxaa
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
|
CPU_MODEL = nrf52832xxaa
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
|
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
|
||||||
|
@ -1,3 +1 @@
|
|||||||
export CPU_MODEL = nrf52832xxaa
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f0
|
||||||
|
CPU_MODEL = stm32f030r8
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_pwm
|
FEATURES_PROVIDED += periph_pwm
|
||||||
@ -10,5 +13,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo boards
|
# load the common Makefile.features for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f0/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f0
|
|
||||||
export CPU_MODEL = stm32f030r8
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f0
|
||||||
|
CPU_MODEL = stm32f031k6
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_pwm
|
FEATURES_PROVIDED += periph_pwm
|
||||||
@ -8,5 +11,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo-32 boards
|
# load the common Makefile.features for Nucleo-32 boards
|
||||||
include $(RIOTBOARD)/common/nucleo32/Makefile.features
|
include $(RIOTBOARD)/common/nucleo32/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f0/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f0
|
|
||||||
export CPU_MODEL = stm32f031k6
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo-32 boards
|
# load the common Makefile.include for Nucleo-32 boards
|
||||||
include $(RIOTBOARD)/common/nucleo32/Makefile.include
|
include $(RIOTBOARD)/common/nucleo32/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f0
|
||||||
|
CPU_MODEL = stm32f042k6
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_pwm
|
FEATURES_PROVIDED += periph_pwm
|
||||||
@ -8,5 +11,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo-32 boards
|
# load the common Makefile.features for Nucleo-32 boards
|
||||||
include $(RIOTBOARD)/common/nucleo32/Makefile.features
|
include $(RIOTBOARD)/common/nucleo32/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f0/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f0
|
|
||||||
export CPU_MODEL = stm32f042k6
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo-32 boards
|
# load the common Makefile.include for Nucleo-32 boards
|
||||||
include $(RIOTBOARD)/common/nucleo32/Makefile.include
|
include $(RIOTBOARD)/common/nucleo32/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f0
|
||||||
|
CPU_MODEL = stm32f070rb
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
@ -11,5 +14,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo boards
|
# load the common Makefile.features for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f0/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f0
|
|
||||||
export CPU_MODEL = stm32f070rb
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f0
|
||||||
|
CPU_MODEL = stm32f072rb
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
@ -12,5 +15,3 @@ FEATURES_PROVIDED += periph_spi
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo boards
|
# load the common Makefile.features for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f0/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f0
|
|
||||||
export CPU_MODEL = stm32f072rb
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f0
|
||||||
|
CPU_MODEL = stm32f091rc
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_adc
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
@ -13,5 +16,3 @@ FEATURES_PROVIDED += periph_spi
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo boards
|
# load the common Makefile.features for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f0/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f0
|
|
||||||
export CPU_MODEL = stm32f091rc
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = stm32f1
|
||||||
|
CPU_MODEL = stm32f103rb
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_rtt
|
FEATURES_PROVIDED += periph_rtt
|
||||||
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# load the common Makefile.features for Nucleo boards
|
# load the common Makefile.features for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
||||||
|
|
||||||
include $(RIOTCPU)/stm32f1/Makefile.features
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
## the cpu to build for
|
|
||||||
export CPU = stm32f1
|
|
||||||
export CPU_MODEL = stm32f103rb
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user