mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vipulrah...@apache.org
Subject [43/50] incubator-mynewt-core git commit: MYNEWT-492; TBD -> descriptions.
Date Thu, 23 Feb 2017 22:33:37 GMT
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/e2dd5391
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/e2dd5391
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/e2dd5391

Branch: refs/heads/sensors_branch
Commit: e2dd5391101c41140b17e2b7bcaae1f63a2ab278
Parents: 0112f46
Author: Marko Kiiskila <marko@runtime.io>
Authored: Tue Feb 21 17:33:43 2017 -0800
Committer: Marko Kiiskila <marko@runtime.io>
Committed: Tue Feb 21 17:33:43 2017 -0800

----------------------------------------------------------------------
 hw/bsp/nrf51-blenano/syscfg.yml    | 24 +++++++---------------
 hw/bsp/nrf51dk-16kbram/syscfg.yml  | 24 +++++++---------------
 hw/bsp/nrf51dk/syscfg.yml          | 24 +++++++---------------
 hw/bsp/nrf52840pdk/syscfg.yml      | 33 ++++++++++++-------------------
 hw/bsp/nrf52dk/syscfg.yml          | 35 +++++++++++++--------------------
 hw/bsp/nucleo-f401re/syscfg.yml    | 14 +++++--------
 hw/bsp/rb-nano2/syscfg.yml         | 27 +++++++++++--------------
 hw/bsp/stm32f4discovery/syscfg.yml |  5 ++++-
 hw/bsp/usbmkw41z/syscfg.yml        |  2 +-
 9 files changed, 69 insertions(+), 119 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/nrf51-blenano/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-blenano/syscfg.yml b/hw/bsp/nrf51-blenano/syscfg.yml
index 6ff8328..8908bb0 100644
--- a/hw/bsp/nrf51-blenano/syscfg.yml
+++ b/hw/bsp/nrf51-blenano/syscfg.yml
@@ -21,27 +21,27 @@
 
 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: 'TX pin for UART0'
         value: 11
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value: 8
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 10
 
     SPI_0_MASTER:
@@ -50,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:  0
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF51 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/nrf51dk-16kbram/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/syscfg.yml b/hw/bsp/nrf51dk-16kbram/syscfg.yml
index 9794dcf..83f29d2 100644
--- a/hw/bsp/nrf51dk-16kbram/syscfg.yml
+++ b/hw/bsp/nrf51dk-16kbram/syscfg.yml
@@ -21,27 +21,27 @@
 
 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: 8
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 10
 
     SPI_0_MASTER:
@@ -50,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:  0
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF51 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/nrf51dk/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk/syscfg.yml b/hw/bsp/nrf51dk/syscfg.yml
index 5a19cb6..8f13b42 100644
--- a/hw/bsp/nrf51dk/syscfg.yml
+++ b/hw/bsp/nrf51dk/syscfg.yml
@@ -21,27 +21,27 @@
 
 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: 8
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 10
 
     SPI_0_MASTER:
@@ -50,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:  0
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF51 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/nrf52840pdk/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52840pdk/syscfg.yml b/hw/bsp/nrf52840pdk/syscfg.yml
index 4756488..23671b4 100644
--- a/hw/bsp/nrf52840pdk/syscfg.yml
+++ b/hw/bsp/nrf52840pdk/syscfg.yml
@@ -20,32 +20,38 @@
 
 syscfg.defs:
     BSP_NRF52840:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has NRF52840'
         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'
         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'
@@ -55,24 +61,11 @@ syscfg.defs:
     SPI_0_MASTER_SS_PIN:
         description: 'SPI 0 (master) SS pin number.'
         value:  44
-    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_0_SLAVE:
         description: 'SPI 0 slave'
         value:  0
         restrictions:
             - "!SPI_0_MASTER"
-    SPI_1_SLAVE:
-        description: 'SPI 1 slave'
-        value:  0
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF52840 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/nrf52dk/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/syscfg.yml b/hw/bsp/nrf52dk/syscfg.yml
index 1de4c56..696ddec 100644
--- a/hw/bsp/nrf52dk/syscfg.yml
+++ b/hw/bsp/nrf52dk/syscfg.yml
@@ -20,32 +20,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: 0
 
     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'
@@ -55,24 +61,11 @@ syscfg.defs:
     SPI_0_MASTER_SS_PIN:
         description: 'SPI 0 (master) SS pin number.'
         value:  22
-    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_0_SLAVE:
         description: 'SPI 0 slave'
         value:  0
         restrictions:
             - "!SPI_0_MASTER"
-    SPI_1_SLAVE:
-        description: 'SPI 1 slave'
-        value:  0
-        restrictions:
-            - "!SPI_1_MASTER"
 
     TIMER_0:
         description: 'NRF52 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/nucleo-f401re/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nucleo-f401re/syscfg.yml b/hw/bsp/nucleo-f401re/syscfg.yml
index 0747b1b..c27ebd7 100644
--- a/hw/bsp/nucleo-f401re/syscfg.yml
+++ b/hw/bsp/nucleo-f401re/syscfg.yml
@@ -19,28 +19,24 @@
 
 syscfg.defs:
     UART_0:
-        description: 'TBD'
+        description: 'Whether to enable UART0'
         value:  1
 
     I2C_0:
         description: 'I2C0'
         value: 0
 
-    SPI_0:
-        description: 'TBD'
-        value:  0
-
     SPI_0_MASTER:
-        description: 'TBD'
+        description: 'Whether to enable SPI 0 in master mode'
         value:  0
         restrictions:
-            - SPI_0
+            - "!SPI_0_SLAVE"
 
     SPI_0_SLAVE:
-        description: 'TBD'
+        description: 'Whether to enable SPI 0 in slave mode'
         value:  0
         restrictions:
-            - SPI_0
+            - "!SPI_0_MASTER"
 
     TIMER_0:
         description: 'TIMER_0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/rb-nano2/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/rb-nano2/syscfg.yml b/hw/bsp/rb-nano2/syscfg.yml
index e3105ad..f7cf2fc 100644
--- a/hw/bsp/rb-nano2/syscfg.yml
+++ b/hw/bsp/rb-nano2/syscfg.yml
@@ -21,47 +21,42 @@
 
 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: 29
     UART_0_PIN_RX:
-        description: 'TBD'
+        description: 'RX pin for UART0'
         value: 30
     UART_0_PIN_RTS:
-        description: 'TBD'
+        description: 'RTS pin for UART0'
         value: 2
     UART_0_PIN_CTS:
-        description: 'TBD'
+        description: 'CTS pin for UART0'
         value: 28
 
     SPI_0_MASTER:
         description: 'SPI 0 master'
         value:  0
+        restrictions:
+            - "!SPI_0_SLAVE"
     SPI_0_MASTER_SS_PIN:
         description: 'SPI 0 (master) SS pin number.'
         value:  22
-    SPI_1_MASTER:
-        description: 'SPI 1 master'
-        value:  0
-    SPI_1_MASTER_SS_PIN:
-        description: 'SPI 1 (master) SS pin number.'
-        value:  -1
     SPI_0_SLAVE:
         description: 'SPI 0 slave'
         value:  0
-    SPI_1_SLAVE:
-        description: 'SPI 1 slave'
-        value:  0
+        restrictions:
+            - "!SPI_0_MASTER"
 
     TIMER_0:
         description: 'NRF52 Timer 0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/stm32f4discovery/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f4discovery/syscfg.yml b/hw/bsp/stm32f4discovery/syscfg.yml
index 8b3feba..5df91a7 100644
--- a/hw/bsp/stm32f4discovery/syscfg.yml
+++ b/hw/bsp/stm32f4discovery/syscfg.yml
@@ -19,8 +19,11 @@
 
 syscfg.defs:
     UART_0:
-        description: 'TBD'
+        description: 'UART 0'
         value:  1
+    TIMER_0:
+        description: 'Timer 0'
+        value:  0
 
 syscfg.vals:
     REBOOT_LOG_FLASH_AREA: FLASH_AREA_REBOOT_LOG

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/e2dd5391/hw/bsp/usbmkw41z/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/usbmkw41z/syscfg.yml b/hw/bsp/usbmkw41z/syscfg.yml
index b3e024e..958006c 100644
--- a/hw/bsp/usbmkw41z/syscfg.yml
+++ b/hw/bsp/usbmkw41z/syscfg.yml
@@ -21,7 +21,7 @@
 
 syscfg.defs:
     BSP_USBMKW41Z:
-        description: 'TBD'
+        description: 'Set to indicate that BSP has MKW41Z'
         value: 1
 
 syscfg.vals:


Mime
View raw message