This can help find unused symbols. Those end up without a type if 'default' is used instead of 'def_bool', which generates a warning. Search for "Kconfig.defconfig" in https://docs.zephyrproject.org/latest/application/kconfig-tips.html for a longer explanation. Keep the 'def_bool' for the following symbols, which seem to be deliberately defined only in Kconfig.defconfig files: - ALTERA_AVALON_I2C - ALTERA_AVALON_MSGDMA - ALTERA_AVALON_PIO - ALTERA_AVALON_QSPI - ALTERA_AVALON_SYSID - CLOCK_CONTROL_IMX_CCM - CPU_EM4_DMIPS - CPU_EM4_FPUDA - CPU_EM4_FPUS - FP_FPU_DA - I2C_GECKO Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
44 lines
531 B
Text
44 lines
531 B
Text
# 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 GPIO
|
|
|
|
config GPIO_ATMEL_SAM3
|
|
default 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_SAM_TWI
|
|
default y
|
|
|
|
config I2C_0
|
|
default y
|
|
|
|
config I2C_1
|
|
default y
|
|
|
|
endif # I2C
|
|
|
|
endif # BOARD_ARDUINO_DUE
|