1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | # Degu Evaluation Kit configuration
# Copyright (c) 2019 Atmark Techno, Inc.
# SPDX-License-Identifier: Apache-2.0
if BOARD_DEGU_EVK
config BOARD
default "degu_evk"
if USB
config USB_NRFX
default y
config USB_DEVICE_STACK
default y
config USB_DEVICE_PRODUCT
default "Degu Evaluation Kit"
config USB_UART_CONSOLE
default y
config UART_INTERRUPT_DRIVEN
default y
config UART_LINE_CTRL
default y
config UART_CONSOLE_ON_DEV_NAME
default "CDC_ACM_0"
config UART_SHELL_ON_DEV_NAME
default "CDC_ACM_0"
endif # USB
if IEEE802154
config IEEE802154_NRF5
default y
endif # IEEE802154
if I2C
config I2C_0
default y
config I2C_1
default y
endif # I2C
if I2C_0
choice I2C_0_NRF_TYPE
default I2C_0_NRF_TWIM
endchoice
endif # I2C_0
if I2C_1
choice I2C_1_NRF_TYPE
default I2C_1_NRF_TWIM
endchoice
endif # I2C_1
if ADC
config ADC_0
default y
endif # ADC
if DISK_ACCESS_FLASH
config DISK_FLASH_DEV_NAME
default "NRF_FLASH_DRV_NAME"
config DISK_FLASH_START
default 0xf8000
config DISK_FLASH_MAX_RW_SIZE
default 4
config DISK_ERASE_BLOCK_SIZE
default 0x1000
config DISK_FLASH_ERASE_ALIGNMENT
default 0x1000
config DISK_VOLUME_SIZE
default 0x8000
endif # DISK_ACCESS_FLASH
endif # BOARD_DEGU_EVK
|