changeset 136:26032e12a445

8077416: Consistent Device Names/IDs betweeb ME and SE configs Summary: Renamed and renumbered config RPi config entries Reviewed-by: alkonsta
author snazarki
date Fri, 10 Apr 2015 16:41:02 +0300
parents a9ea3a23598b
children 1f20e05d1a7a
files config/dio.properties-raspberrypi
diffstat 1 files changed, 13 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/config/dio.properties-raspberrypi	Tue Apr 07 15:06:49 2015 +0300
+++ b/config/dio.properties-raspberrypi	Fri Apr 10 16:41:02 2015 +0300
@@ -24,27 +24,21 @@
 #
 #########################################################################
 
-2  = deviceType: gpio.GPIOPin, pinNumber:2, name:GPIO2, mode:1, predefined:true
-3  = deviceType: gpio.GPIOPin, pinNumber:3, name:GPIO3, mode:1, predefined:true
-4  = deviceType: gpio.GPIOPin, pinNumber:4, name:GPIO4, predefined:true
-17 = deviceType: gpio.GPIOPin, pinNumber:17, name:GPIO17, predefined:true
-27 = deviceType: gpio.GPIOPin, pinNumber:27, name:GPIO27, predefined:true
-22 = deviceType: gpio.GPIOPin, pinNumber:22, name:GPIO22, predefined:true
-10 = deviceType: gpio.GPIOPin, pinNumber:10, name:GPIO10, predefined:true
-9  = deviceType: gpio.GPIOPin, pinNumber:9, name:GPIO9, predefined:true
-11 = deviceType: gpio.GPIOPin, pinNumber:11, name:GPIO11, predefined:true
-14 = deviceType: gpio.GPIOPin, pinNumber:14, name:GPIO14, mode:4, direction:1, predefined:true
-15 = deviceType: gpio.GPIOPin, pinNumber:15, name:GPIO15, mode:4, direction:1, predefined:true
-18 = deviceType: gpio.GPIOPin, pinNumber:18, name:GPIO18, mode:4, direction:1, predefined:true
-23 = deviceType: gpio.GPIOPin, pinNumber:23, name:GPIO23, mode:4, direction:1, predefined:true
-24 = deviceType: gpio.GPIOPin, pinNumber:24, name:GPIO24, mode:4, direction:1, predefined:true
-25 = deviceType: gpio.GPIOPin, pinNumber:25, name:GPIO25, mode:4, direction:1, predefined:true
-8  = deviceType: gpio.GPIOPin, pinNumber:8, name:GPIO8, mode:4, direction:1, predefined:true
-7  = deviceType: gpio.GPIOPin, pinNumber:7, name:GPIO7, mode:4, direction:1, predefined:true
+# RPi rev2 P1 header pins
+1 = deviceType: gpio.GPIOPin, pinNumber:4, name:GPIO4, predefined:true
+2 = deviceType: gpio.GPIOPin, pinNumber:7, name:GPIO7, mode:4, direction:1, predefined:true
+3 = deviceType: gpio.GPIOPin, pinNumber:17, name:GPIO17, predefined:true
+4 = deviceType: gpio.GPIOPin, pinNumber:18, name:GPIO18, mode:4, direction:1, predefined:true
+5 = deviceType: gpio.GPIOPin, pinNumber:22, name:GPIO22, predefined:true
+6 = deviceType: gpio.GPIOPin, pinNumber:23, name:GPIO23, mode:4, direction:1, predefined:true
+7 = deviceType: gpio.GPIOPin, pinNumber:24, name:GPIO24, mode:4, direction:1, predefined:true
+8 = deviceType: gpio.GPIOPin, pinNumber:25, name:GPIO25, mode:4, direction:1, predefined:true
+9 = deviceType: gpio.GPIOPin, pinNumber:27, name:GPIO27, predefined:true
 
-12 = deviceType: spibus.SPIDevice, name:SPI_Slave, deviceNumber:0, address:0, csActive:1, wordLength:8, clockFrequency:500000, clockMode:1, bitOrdering:1, predefined:true
+300 = deviceType: spibus.SPIDevice, name:SPI0.0, deviceNumber:0, address:0, csActive:1, wordLength:8, clockFrequency:500000, clockMode:1, bitOrdering:1, predefined:true
 
-40 = deviceType: uart.UART, deviceName:ttyAMA0, name:UART, baudRate:19200, dataBits:8, parity:0, stopBits:1, flowControl:0, predefined:true
+100 = deviceType: uart.UART, deviceName:ttyAMA0, name:ttyAMA0, baudRate:19200, dataBits:8, parity:0, stopBits:1, flowControl:0, predefined:true
+
 gpio.GPIOPin = initValue:0, deviceNumber:0, direction:0, mode:1, trigger:3, predefined:true
 uart.UART = baudRate:19200, parity:0, dataBits:8, stopBits:1, flowControl:0, predefined:true