MYNEWT-492; TBD -> descriptions.

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/0112f46a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/0112f46a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/0112f46a

Branch: refs/heads/sensors_branch
Commit: 0112f46afa912d63c8560e68dd41e739256f9346
Parents: fa6cc19
Author: Marko Kiiskila <[email protected]>
Authored: Tue Feb 21 16:36:20 2017 -0800
Committer: Marko Kiiskila <[email protected]>
Committed: Tue Feb 21 16:36:20 2017 -0800

----------------------------------------------------------------------
 hw/bsp/arduino_primo_nrf52/syscfg.yml | 36 ++++++++---------
 hw/bsp/bbc_microbit/syscfg.yml        | 28 +++++---------
 hw/bsp/bmd200/syscfg.yml              | 21 ++++++----
 hw/bsp/bmd300eval/syscfg.yml          | 22 +++++++----
 hw/bsp/ci40/syscfg.yml                |  4 +-
 hw/bsp/frdm-k64f/syscfg.yml           | 62 +++++++++++++++---------------
 hw/bsp/nrf51-arduino_101/syscfg.yml   | 27 ++++---------
 7 files changed, 91 insertions(+), 109 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/arduino_primo_nrf52/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/arduino_primo_nrf52/syscfg.yml 
b/hw/bsp/arduino_primo_nrf52/syscfg.yml
index 01d2ded..fdbd00b 100644
--- a/hw/bsp/arduino_primo_nrf52/syscfg.yml
+++ b/hw/bsp/arduino_primo_nrf52/syscfg.yml
@@ -21,51 +21,45 @@
 
 syscfg.defs:
     OPENOCD_DEBUG:
-        description: 'TBD'
+        description: 'Use OpenOCD for JTAG access.'
         value: 0
 
     BSP_NRF52:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NRF52'
         value: 1
 
     XTAL_32768:
-        description: 'TBD'
+        description: 'External 32k oscillator available.'
         value: 1
 
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value:  1
     UART_0_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART0'
         value:  12
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value:  11
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value:  0
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value:  0
 
     UART_1:
-        description: 'Bitbanger UART'
+        description: 'Whether to enable bitbanger UART1'
         value:  1
     UART_1_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART1'
         value:  6
     UART_1_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART1'
         value:  5
-    UART_1_PIN_RTS:
-        description: 'TBD'
-        value:  0
-    UART_1_PIN_CTS:
-        description: 'TBD'
-        value:  0
 
     SPI_0_MASTER:
-        description: 'SPI 0 master'
+        description: 'Whether to enable SPI 0 in master mode'
         value:  1
         restrictions:
             - "!SPI_0_SLAVE"
@@ -73,7 +67,7 @@ syscfg.defs:
         description: 'SPI 0 (master) SS pin number.'
         value:  19
     SPI_1_MASTER:
-        description: 'SPI 1 master'
+        description: 'Whether to enable SPI 1 in master mode'
         value:  0
         restrictions:
             - "!SPI_1_SLAVE"
@@ -81,12 +75,12 @@ syscfg.defs:
         description: 'SPI 1 (master) SS pin number.'
         value:  -1
     SPI_0_SLAVE:
-        description: 'SPI 0 slave'
+        description: 'Whether to enable SPI 0 in slave mode'
         value:  0
         restrictions:
             - "!SPI_0_MASTER"
     SPI_1_SLAVE:
-        description: 'SPI 1 slave'
+        description: 'Whether to enable SPI 1 in slave mode'
         value:  0
         restrictions:
             - "!SPI_1_MASTER"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/bbc_microbit/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/bbc_microbit/syscfg.yml b/hw/bsp/bbc_microbit/syscfg.yml
index ff9cee3..0a2d051 100644
--- a/hw/bsp/bbc_microbit/syscfg.yml
+++ b/hw/bsp/bbc_microbit/syscfg.yml
@@ -21,48 +21,38 @@
 
 syscfg.defs:
     BSP_NRF51:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NRF51'
         value: 1
 
     XTAL_32768_SYNTH:
-        description: 'TBD'
+        description: 'Synthesize 32k clock.'
         value: 1
 
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value: 1
     UART_0_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART0'
         value: 24
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value: 25
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value: 0
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 0
 
     SPI_0_MASTER:
-        description: 'SPI 0 master'
+        description: 'Whether to enable SPI 0 in master mode'
         value:  0
     SPI_0_MASTER_SS_PIN:
         description: 'SPI 0 (master) SS pin number.'
         value:  24
-    SPI_1_MASTER:
-        description: 'SPI 1 master'
-        value:  0
-        restrictions:
-            - "!SPI_1_SLAVE"
-    SPI_1_MASTER_SS_PIN:
-        description: 'SPI 1 (master) SS pin number.'
-        value:  -1
     SPI_1_SLAVE:
-        description: 'SPI 1 slave'
+        description: 'Whether to enable SPI 1 in slave mode'
         value:  0
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF51 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/bmd200/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd200/syscfg.yml b/hw/bsp/bmd200/syscfg.yml
index d9650d9..8890a38 100644
--- a/hw/bsp/bmd200/syscfg.yml
+++ b/hw/bsp/bmd200/syscfg.yml
@@ -21,30 +21,35 @@
 
 syscfg.defs:
     BSP_NRF51:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NRF51'
         value: 1
 
     XTAL_32768:
-        description: 'TBD'
+        description: 'External 32k oscillator available.'
         value: 0
+        restrictions:
+            - "!XTAL_32768_SYNTH"
+
     XTAL_32768_SYNTH:
-        description: 'TBD'
+        description: 'Synthesize 32k clock.'
         value: 1
+        restrictions:
+            - "!XTAL_32768"
 
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value: 1
     UART_0_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART0'
         value: 10
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value: 9
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value: 11
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 8
 
     SPI_0_MASTER:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/bmd300eval/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd300eval/syscfg.yml b/hw/bsp/bmd300eval/syscfg.yml
index 02b29e0..0018ee1 100644
--- a/hw/bsp/bmd300eval/syscfg.yml
+++ b/hw/bsp/bmd300eval/syscfg.yml
@@ -21,32 +21,38 @@
 
 syscfg.defs:
     BSP_NRF52:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NRF52'
         value: 1
 
     XTAL_32768:
-        description: 'TBD'
+        description: 'External 32k oscillator available.'
         value: 1
 
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value:  1
     UART_0_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART0'
         value:  6
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value:  8
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value:  5
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value:  7
 
     UART_1:
-        description: 'Bitbanger UART'
+        description: 'Whether to enable bitbanger UART1'
         value:  0
+    UART_1_PIN_TX:
+        description: 'TX pin for UART1'
+        value:  -1
+    UART_1_PIN_RX:
+        description: 'RX pin for UART1'
+        value:  -1
 
     SPI_0_MASTER:
         description: 'SPI 0 master'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/ci40/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/ci40/syscfg.yml b/hw/bsp/ci40/syscfg.yml
index ffed5aa..ddcf459 100644
--- a/hw/bsp/ci40/syscfg.yml
+++ b/hw/bsp/ci40/syscfg.yml
@@ -25,9 +25,9 @@ syscfg.defs:
         value:  546000000ul
 
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value:  1
 
     UART_1:
-        description: 'TBD'
+        description: 'Whether to enable UART1'
         value:  1

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/frdm-k64f/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/frdm-k64f/syscfg.yml b/hw/bsp/frdm-k64f/syscfg.yml
index c6c8e30..5b26863 100644
--- a/hw/bsp/frdm-k64f/syscfg.yml
+++ b/hw/bsp/frdm-k64f/syscfg.yml
@@ -21,109 +21,109 @@
 
 syscfg.defs:
     BSP_MK64F12:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NXP MK64F12'
         value: 1
 
     # UART0 PINS on CMSIS-DAP Interface
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value:  1
     UART_0_PORT:
-        description: 'TBD'
+        description: 'GPIO port for UART0 pins'
         value:  PORTB
     UART_0_PORT_CLOCK:
-        description: 'TBD'
+        description: 'Clock to enable for UART0 pins'
         value:  kCLOCK_PortB
     UART_0_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART0'
         value:  16
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value:  17
 
     # PINS conflict with SPI0 must choose 1
     UART_1:
-        description: 'TBD'
+        description: 'Whether to enable UART1'
         value:  0
     UART_1_PORT:
-        description: 'TBD'
+        description: 'GPIO port for UART1 pins'
         value:  PORTC
     UART_1_PORT_CLOCK:
-        description: 'TBD'
+        description: 'Clock to enable for UART1 pins'
         value:  kCLOCK_PortC
     UART_1_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART1'
         value:  3
     UART_1_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART1x'
         value:  4
 
     # PINS conflict with SPI0 must choose 1
     UART_2:
-        description: 'TBD'
+        description: 'Whether to enable UART2'
         value:  0
     UART_2_PORT:
-        description: 'TBD'
+        description: 'GPIO port for UART2 pins'
         value:  PORTD
     UART_2_PORT_CLOCK:
-        description: 'TBD'
+        description: 'Clock to enable for UART2 pins'
         value:  kCLOCK_PortD
     UART_2_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART2'
         value:  2
     UART_2_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART2'
         value:  3
 
     # PINS conflict with ENET0 must choose 1
     UART_3:
-        description: 'TBD'
+        description: 'Whether to enable UART3'
         value:  0
     UART_3_PORT:
-        description: 'TBD'
+        description: 'GPIO port for UART3 pins'
         value:  PORTC
     UART_3_PORT_CLOCK:
-        description: 'TBD'
+        description: 'Clock to enable for UART3 pins'
         value:  kCLOCK_PortC
     UART_3_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART3'
         value:  16
     UART_3_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART3'
         value:  17
 
     # PINS conflict with ENET0 must choose 1
     UART_4:
-        description: 'TBD'
+        description: 'Whether to enable UART4'
         value:  0
     UART_4_PORT:
-        description: 'TBD'
+        description: 'GPIO port for UART4 pins'
         value:  PORTC
     UART_4_PORT_CLOCK:
-        description: 'TBD'
+        description: 'Clock to enable for UART4 pins'
         value:  kCLOCK_PortC
     UART_4_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART4'
         value:  14
     UART_4_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART4'
         value:  15
 
     # PINS conflict with I2S0 must choose 1
     UART_5:
-        description: 'TBD'
+        description: 'Whether to enable UART5'
         value:  0
     UART_5_PORT:
-        description: 'TBD'
+        description: 'GPIO port for UART5 pins'
         value:  PORTE
     UART_5_PORT_CLOCK:
-        description: 'TBD'
+        description: 'Clock to enable for UART5 pins'
         value:  kCLOCK_PortE
     UART_5_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART5'
         value:  9
     UART_5_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART5'
         value:  8
 
 syscfg.vals:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0112f46a/hw/bsp/nrf51-arduino_101/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-arduino_101/syscfg.yml 
b/hw/bsp/nrf51-arduino_101/syscfg.yml
index c513e26..9491b6d 100644
--- a/hw/bsp/nrf51-arduino_101/syscfg.yml
+++ b/hw/bsp/nrf51-arduino_101/syscfg.yml
@@ -21,31 +21,28 @@
 
 syscfg.defs:
     BSP_NRF51:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NRF51'
         value: 1
 
     XTAL_32768:
-        description: 'TBD'
+        description: 'External 32k oscillator available.'
         value: 1
 
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value: 1
     UART_0_PIN_TX:
-        description: 'TBD'
+        description: 'TX pin for UART0'
         value: 9
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value: 11
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value: 12
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 10
-    UART_1:
-        description: 'TBD'
-        value:  0
 
     SPI_0_MASTER:
         description: 'SPI 0 master'
@@ -53,19 +50,9 @@ syscfg.defs:
     SPI_0_MASTER_SS_PIN:
         description: 'SPI 0 (master) SS pin number.'
         value:  24
-    SPI_1_MASTER:
-        description: 'SPI 1 master'
-        value:  0
-        restrictions:
-            - "!SPI_1_SLAVE"
-    SPI_1_MASTER_SS_PIN:
-        description: 'SPI 1 (master) SS pin number.'
-        value:  -1
     SPI_1_SLAVE:
         description: 'SPI 1 slave'
         value:  1
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF51 Timer 0'

Reply via email to