1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cpu/cc430: Add Kconfig symbols

Also specify CPU_FAM in Makefile.features
This commit is contained in:
Leandro Lanzieri 2020-06-24 09:27:02 +02:00
parent c86bf5074d
commit a73c03ed0c
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 37 additions and 1 deletions

View File

@ -1 +1,35 @@
# Copyright (c) 2020 Freie Universität Berlin
# 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 CPU_FAM_CC430
bool
select CPU_CORE_MSP430
select HAS_CPU_CC430
## CPU Models
config CPU_MODEL_CC430F6137
bool
select CPU_FAM_CC430
## Definition of specific features
config HAS_CPU_CC430
bool
help
Indicates that a 'cc430' cpu is being used.
## Common CPU symbols
config CPU_FAM
default "cc430" if CPU_FAM_CC430
config CPU_MODEL
default "cc430f6137" if CPU_MODEL_CC430F6137
config CPU
default "cc430" if CPU_FAM_CC430
source "$(RIOTCPU)/msp430_common/Kconfig"

View File

@ -1 +1,3 @@
-include $(RIOTCPU)/msp430_common/Makefile.features
CPU_FAM = cc430
include $(RIOTCPU)/msp430_common/Makefile.features