-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: sam3x: update Kconfig options after move to SAM SoC family tree
The files for the Arduino Due needed to be updated to use the new configuration when the SoC moved from the atmel_sam3 directory to the atmel_sam/sam3x directory. Jira: ZEP-2067 Signed-off-by: Justin Watson <jwatson5@gmail.com>
- Loading branch information
Showing
18 changed files
with
81 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# Kconfig - Arduino Due Board configuration | ||
# | ||
# Copyright (c) 2017 Justin Watson | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
config BOARD_ARDUINO_DUE | ||
bool "Arduino Due Board" | ||
depends on SOC_ATMEL_SAM3X8E | ||
depends on SOC_PART_NUMBER_SAM3X8E |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,59 @@ | ||
# Kconfig - Arduino Due Board configuration | ||
# | ||
# Copyright (c) 2017 Justin Watson | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
if BOARD_ARDUINO_DUE | ||
|
||
config BOARD | ||
default arduino_due | ||
|
||
if UART_ATMEL_SAM3 | ||
|
||
config UART_ATMEL_SAM3_BAUD_RATE | ||
default 115200 | ||
|
||
config UART_ATMEL_SAM3_CLK_FREQ | ||
default 84000000 | ||
|
||
endif # UART_ATMEL_SAM3 | ||
|
||
if GPIO | ||
|
||
config GPIO_ATMEL_SAM3 | ||
def_bool y | ||
|
||
config GPIO_ATMEL_SAM3_PORTA | ||
default y | ||
|
||
config GPIO_ATMEL_SAM3_PORTB | ||
default y | ||
|
||
config GPIO_ATMEL_SAM3_PORTC | ||
default y | ||
|
||
config GPIO_ATMEL_SAM3_PORTD | ||
default y | ||
|
||
endif # GPIO | ||
|
||
if I2C | ||
|
||
config I2C_ATMEL_SAM3 | ||
def_bool y | ||
|
||
config I2C_0 | ||
default y | ||
config I2C_0_IRQ_PRI | ||
default 0 | ||
|
||
config I2C_1 | ||
default y | ||
|
||
config I2C_1_IRQ_PRI | ||
default 0 | ||
|
||
endif # I2C | ||
|
||
endif # BOARD_ARDUINO_DUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
CONFIG_ARM=y | ||
CONFIG_SOC_ATMEL_SAM3X8E=y | ||
CONFIG_SOC_FAMILY_SAM=y | ||
CONFIG_SOC_SERIES_SAM3X=y | ||
CONFIG_SOC_PART_NUMBER_SAM3X8E=y | ||
CONFIG_BOARD_ARDUINO_DUE=y | ||
CONFIG_CORTEX_M_SYSTICK=y | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
CONFIG_SERIAL=y | ||
CONFIG_UART_ATMEL_SAM3=y | ||
CONFIG_SOC_ATMEL_SAM3_EXT_MAINCK=y | ||
CONFIG_SOC_ATMEL_SAM3X_EXT_MAINCK=y | ||
CONFIG_PINMUX=y | ||
CONFIG_WATCHDOG=n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[test] | ||
tags = samples | ||
build_only = true | ||
filter = CONFIG_SOC_ATMEL_SAM3 | ||
filter = CONFIG_SOC_SERIES_SAM3X | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters