mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
0c2cfe99e6
Adds a separate board for native64 instead of the `NATIVE_64BIT` workaround. The files in `boards/native64` are more or less dummy files and just include the `boards/native` logic (similar to `openlabs-kw41z-mini-256kib`). The main logic for native is in `makefiles/arch/native.inc.mk`, `cpu/native` and `boards/native`. The remaining changes concern the build system, and change native board checks to native CPU checks to cover both boards.
31 lines
736 B
Plaintext
31 lines
736 B
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config BOARD
|
|
default "native64" if BOARD_NATIVE64
|
|
|
|
config BOARD_NATIVE64
|
|
bool
|
|
default y
|
|
select CPU_MODEL_NATIVE
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
select HAS_PERIPH_RTC
|
|
select HAS_PERIPH_RTC_MS
|
|
select HAS_PERIPH_TIMER
|
|
select HAS_PERIPH_UART
|
|
select HAS_PERIPH_GPIO
|
|
select HAS_PERIPH_PWM
|
|
select HAS_PERIPH_QDEC
|
|
|
|
# Various other features (if any)
|
|
select HAS_ETHERNET
|
|
select HAS_MOTOR_DRIVER
|
|
select HAVE_SDL
|
|
|
|
rsource "../native/drivers/Kconfig"
|