2018-12-20 04:46:33 +08:00
|
|
|
# Kconfig - Particle Xenon board configuration
|
2018-11-22 05:19:01 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Endre Karlson
|
2018-12-20 04:46:33 +08:00
|
|
|
# Copyright (c) 2018 Peter Bigot Consulting, LLC
|
2018-11-22 05:19:01 +08:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_PARTICLE_XENON
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "particle_xenon"
|
|
|
|
|
2018-12-20 04:46:33 +08:00
|
|
|
if ADC
|
2018-11-22 05:19:01 +08:00
|
|
|
|
2018-12-20 04:46:33 +08:00
|
|
|
config ADC_0
|
2018-11-22 05:19:01 +08:00
|
|
|
default y
|
|
|
|
|
2018-12-20 04:46:33 +08:00
|
|
|
endif # ADC
|
|
|
|
|
|
|
|
if I2C
|
2018-11-22 05:19:01 +08:00
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2019-04-12 22:53:46 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2018-11-22 05:19:01 +08:00
|
|
|
if USB
|
|
|
|
|
|
|
|
config USB_NRF52840
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USB_DEVICE_STACK
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # USB
|
|
|
|
|
|
|
|
if IEEE802154
|
|
|
|
|
|
|
|
config IEEE802154_NRF5
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # IEEE802154
|
|
|
|
|
2019-01-27 12:03:52 +08:00
|
|
|
config BT_CTLR
|
2019-02-08 01:24:30 +08:00
|
|
|
default BT
|
2019-01-27 12:03:52 +08:00
|
|
|
|
2018-11-22 05:19:01 +08:00
|
|
|
endif # BOARD_PARTICLE_XENON
|