You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/07/13 17:47:43 UTC

[GitHub] jacobrosenthal closed pull request #1267: nrf51 bsps: deprecate old i2c flag names

jacobrosenthal closed pull request #1267: nrf51 bsps: deprecate old i2c flag names
URL: https://github.com/apache/mynewt-core/pull/1267
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/hw/bsp/calliope_mini/syscfg.yml b/hw/bsp/calliope_mini/syscfg.yml
index 2fcf32e32f..29f09de9ef 100644
--- a/hw/bsp/calliope_mini/syscfg.yml
+++ b/hw/bsp/calliope_mini/syscfg.yml
@@ -66,6 +66,9 @@ syscfg.defs:
     I2C_0_FREQ_KHZ:
         description: 'Frequency in khz for I2C_0 bus'
         value:  100
+    I2C_0_FREQ:
+        description: 'Use I2C_0_FREQ_KHZ instead'
+        deprecated: 1
 
     I2C_1_PIN_SCL:
         description: 'SCL pin for I2C_1'
diff --git a/hw/bsp/nrf51-blenano/syscfg.yml b/hw/bsp/nrf51-blenano/syscfg.yml
index dd3dcfe4c5..873ba914e1 100644
--- a/hw/bsp/nrf51-blenano/syscfg.yml
+++ b/hw/bsp/nrf51-blenano/syscfg.yml
@@ -49,6 +49,15 @@ syscfg.defs:
     I2C_0_FREQ_KHZ:
         description: 'Frequency in khz for I2C_0 bus'
         value:  100
+    I2C_0_FREQUENCY:
+        description: 'Use I2C_0_FREQ_KHZ instead'
+        deprecated: 1
+    I2C_0_SDA_PIN:
+        description: 'Use I2C_0_PIN_SDA instead'
+        deprecated: 1
+    I2C_0_SCL_PIN:
+        description: 'Use I2C_0_PIN_SCL instead'
+        deprecated: 1
 
     I2C_1_PIN_SCL:
         description: 'SCL pin for I2C_1'
@@ -59,6 +68,16 @@ syscfg.defs:
     I2C_1_FREQ_KHZ:
         description: 'Frequency in khz for I2C_1 bus'
         value:  100
+    I2C_1_FREQUENCY:
+        description: 'Use I2C_1_FREQ_KHZ instead'
+        deprecated: 1
+    I2C_1_SDA_PIN:
+        description: 'Use I2C_1_PIN_SDA instead'
+        deprecated: 1
+    I2C_1_SCL_PIN:
+        description: 'Use I2C_1_PIN_SCL instead'
+        deprecated: 1
+
 
     TIMER_0:
         description: 'NRF51 Timer 0'
diff --git a/hw/bsp/nrf51dk-16kbram/syscfg.yml b/hw/bsp/nrf51dk-16kbram/syscfg.yml
index f339cd2f5c..0849aee547 100644
--- a/hw/bsp/nrf51dk-16kbram/syscfg.yml
+++ b/hw/bsp/nrf51dk-16kbram/syscfg.yml
@@ -72,6 +72,15 @@ syscfg.defs:
     I2C_0_FREQ_KHZ:
         description: 'Frequency in khz for I2C_0 bus'
         value:  100
+    I2C_0_FREQUENCY:
+        description: 'Use I2C_0_FREQ_KHZ instead'
+        deprecated: 1
+    I2C_0_SDA_PIN:
+        description: 'Use I2C_0_PIN_SDA instead'
+        deprecated: 1
+    I2C_0_SCL_PIN:
+        description: 'Use I2C_0_PIN_SCL instead'
+        deprecated: 1
 
     I2C_1_PIN_SCL:
         description: 'SCL pin for I2C_1'
diff --git a/hw/bsp/nrf51dk/syscfg.yml b/hw/bsp/nrf51dk/syscfg.yml
index e67737479f..f468f7abc2 100644
--- a/hw/bsp/nrf51dk/syscfg.yml
+++ b/hw/bsp/nrf51dk/syscfg.yml
@@ -72,6 +72,15 @@ syscfg.defs:
     I2C_0_FREQ_KHZ:
         description: 'Frequency in khz for I2C_0 bus'
         value:  100
+    I2C_0_FREQUENCY:
+        description: 'Use I2C_0_FREQ_KHZ instead'
+        deprecated: 1
+    I2C_0_SDA_PIN:
+        description: 'Use I2C_0_PIN_SDA instead'
+        deprecated: 1
+    I2C_0_SCL_PIN:
+        description: 'Use I2C_0_PIN_SCL instead'
+        deprecated: 1
 
     I2C_1_PIN_SCL:
         description: 'SCL pin for I2C_1'


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services