This repository has been archived by the owner on Jan 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpkg.yml
93 lines (87 loc) · 2.66 KB
/
pkg.yml
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
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
pkg.name: hw/bsp/nrf51dk-16kbram-openocd
pkg.type: bsp
pkg.description: BSP definition for a Nordic nRF51 DK SoC with 16kB RAM.
pkg.author: "Apache Mynewt <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
- nrf51
- nrf51dk
pkg.cflags:
# Nordic SDK files require these defines.
- '-DADC_ENABLED=1'
- '-DCLOCK_ENABLED=1'
- '-DCOMP_ENABLED=0'
- '-DEGU_ENABLED=0'
- '-DGPIOTE_ENABLED=1'
- '-DI2S_ENABLED=0'
- '-DLPCOMP_ENABLED=1'
- '-DNRF51'
- '-DPDM_ENABLED=0'
- '-DPERIPHERAL_RESOURCE_SHARING_ENABLED=1'
- '-DPWM0_ENABLED=1'
- '-DPWM1_ENABLED=0'
- '-DPWM2_ENABLED=0'
- '-DQDEC_ENABLED=1'
- '-DRNG_ENABLED=1'
- '-DRTC0_ENABLED=0'
- '-DRTC1_ENABLED=0'
- '-DRTC2_ENABLED=0'
- '-DSAADC_ENABLED=0'
- '-DSPI0_CONFIG_CSN_PIN=24'
- '-DSPI0_CONFIG_MISO_PIN=28'
- '-DSPI0_CONFIG_MOSI_PIN=25'
- '-DSPI0_CONFIG_SCK_PIN=29'
- '-DSPI0_ENABLED=1'
- '-DSPI0_USE_EASY_DMA=0'
- '-DSPI1_ENABLED=0'
- '-DSPI2_ENABLED=0'
- '-DSPIS0_CONFIG_MISO_PIN=4'
- '-DSPIS0_CONFIG_MOSI_PIN=3'
- '-DSPIS0_CONFIG_SCK_PIN=2'
- '-DSPIS0_ENABLED=0'
- '-DSPIS1_CONFIG_CSN_PIN=24'
- '-DSPIS1_CONFIG_MISO_PIN=28'
- '-DSPIS1_CONFIG_MOSI_PIN=25'
- '-DSPIS1_CONFIG_SCK_PIN=29'
- '-DSPIS1_ENABLED=1'
- '-DSPIS2_ENABLED=0'
- '-DTIMER0_ENABLED=1'
- '-DTIMER1_ENABLED=0'
- '-DTIMER2_ENABLED=0'
- '-DTIMER3_ENABLED=0'
- '-DTIMER4_ENABLED=0'
- '-DTWI0_CONFIG_SCL=7'
- '-DTWI0_CONFIG_SDA=30'
- '-DTWI0_ENABLED=1'
- '-DTWI1_ENABLED=0'
- '-DTWIS0_ENABLED=0'
- '-DTWIS1_ENABLED=0'
- '-DUART0_ENABLED=1'
- '-DWDT_ENABLED=1'
pkg.deps:
- hw/mcu/nordic/nrf51xxx
- libc/baselibc
pkg.deps.BLE_DEVICE:
- hw/drivers/nimble/nrf51
pkg.deps.UART_0:
- hw/drivers/uart/uart_hal
pkg.deps.UART_1:
- hw/drivers/uart/uart_bitbang