31 lines
481 B
Plaintext
31 lines
481 B
Plaintext
# Kconfig - Atmel SAM4S MCU series configuration options
|
|
#
|
|
# Copyright (c) 2017 Justin Watson
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_SERIES_SAM4S
|
|
|
|
config SOC_SERIES
|
|
string
|
|
default "sam4s"
|
|
|
|
config SOC_PART_NUMBER
|
|
string
|
|
default "sam4s16c" if SOC_PART_NUMBER_SAM4S16C
|
|
|
|
#
|
|
# SAM4S family has total 35 peripherals capable of
|
|
# generating interrupts.
|
|
#
|
|
config NUM_IRQS
|
|
int
|
|
default 35
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
int
|
|
default 120000000
|
|
|
|
endif # SOC_SERIES_SAM4S
|