2017-05-05 01:27:27 +08:00
|
|
|
# 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
|
2018-05-23 20:07:08 +08:00
|
|
|
default "sam4s"
|
2017-05-05 01:27:27 +08:00
|
|
|
|
|
|
|
config SOC_PART_NUMBER
|
|
|
|
string
|
2018-05-23 20:07:08 +08:00
|
|
|
default "sam4s16c" if SOC_PART_NUMBER_SAM4S16C
|
2017-05-05 01:27:27 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# SAM4S family has total 35 peripherals capable of
|
|
|
|
# generating interrupts.
|
|
|
|
#
|
|
|
|
config NUM_IRQS
|
|
|
|
int
|
|
|
|
default 35
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
int
|
2017-05-19 05:52:03 +08:00
|
|
|
default 120000000
|
2017-05-05 01:27:27 +08:00
|
|
|
|
|
|
|
endif # SOC_SERIES_SAM4S
|