2020-05-12 19:34:05 +02:00
|
|
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
2020-06-24 09:26:05 +02:00
|
|
|
# 2020 HAW Hamburg
|
2020-05-12 19:34:05 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2020-06-24 09:26:05 +02:00
|
|
|
|
2021-11-29 10:45:20 +01:00
|
|
|
config MODULE_MSP430_COMMON
|
|
|
|
bool
|
|
|
|
default y if CPU_CORE_MSP430
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
imply MODULE_NEWLIB_NANO
|
|
|
|
select MODULE_MALLOC_THREAD_SAFE
|
|
|
|
help
|
|
|
|
Common code for MSP430 cores.
|
|
|
|
|
|
|
|
config MODULE_MSP430_COMMON_PERIPH
|
|
|
|
bool
|
|
|
|
default y if CPU_CORE_MSP430
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_PERIPH
|
|
|
|
help
|
|
|
|
Common peripheral code for MSP430 cores.
|
|
|
|
|
|
|
|
choice LIBC_IMPLEMENTATION
|
|
|
|
default MODULE_NEWLIB
|
|
|
|
endchoice
|
|
|
|
|
2020-06-24 09:26:05 +02:00
|
|
|
config CPU_ARCH_MSP430
|
|
|
|
bool
|
|
|
|
select HAS_ARCH_16BIT
|
|
|
|
select HAS_ARCH_MSP430
|
2021-02-15 11:24:20 +01:00
|
|
|
select HAS_DBGPIN
|
2020-06-24 09:26:05 +02:00
|
|
|
select HAS_PERIPH_FLASHPAGE
|
2022-03-17 19:45:54 +01:00
|
|
|
select HAS_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE
|
2020-11-09 16:44:29 +01:00
|
|
|
select HAS_PERIPH_FLASHPAGE_PAGEWISE
|
2021-01-26 14:55:40 +01:00
|
|
|
select HAS_NEWLIB
|
2020-06-24 09:26:05 +02:00
|
|
|
select HAS_PERIPH_PM
|
|
|
|
|
|
|
|
config CPU_CORE_MSP430
|
|
|
|
bool
|
|
|
|
select CPU_ARCH_MSP430
|
|
|
|
|
|
|
|
## Common CPU symbols
|
|
|
|
config CPU_ARCH
|
|
|
|
default "msp430" if CPU_ARCH_MSP430
|
|
|
|
|
|
|
|
config CPU_CORE
|
|
|
|
default "msp430" if CPU_CORE_MSP430
|
|
|
|
|
|
|
|
## Definition of specific features
|
|
|
|
config HAS_ARCH_MSP430
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that the current architecture is MSP430.
|
|
|
|
|
|
|
|
## Specific default configuration values
|
2020-05-12 19:34:05 +02:00
|
|
|
config GNRC_PKTBUF_SIZE
|
|
|
|
default 2560
|
2020-08-31 09:33:35 +02:00
|
|
|
depends on KCONFIG_USEMODULE_GNRC_PKTBUF_STATIC
|