Home » Eclipse Projects » Kura » Device IO Properties Files
Device IO Properties Files [message #1715288] |
Sat, 21 November 2015 00:21 |
Nick Apperley Messages: 1 Registered: November 2015 |
Junior Member |
|
|
Been using a Device IO (DIO) properties file for the Raspberry Pi (comes from the latest OpenJDK Device IO revision - 02 Oct 2015) but don't know which version of the Raspberry Pi is being targeted. Are there any DIO properties files in the Kura source and if so where are they located?
Need a DIO properties file for the Raspberry Pi 2 Model B and one for the Beaglebone Black. Below is the contents of the DIO properties file that is currently being used for the Raspberry Pi 2 Model B:
--------------------------------------------------------
# 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
300 = deviceType: spibus.SPIDevice, name:SPI0.0, controllerNumber:0, address:0, csActive:1, wordLength:8, clockFrequency:500000, clockMode:1, bitOrdering:1, predefined:true
100 = deviceType: uart.UART, controllerName:ttyAMA0, name:ttyAMA0, baudRate:19200, dataBits:8, parity:0, stopBits:1, flowControl:0, predefined:true
gpio.GPIOPin = initValue:0, controllerNumber:0, direction:0, mode:1, trigger:0, predefined:true
uart.UART = baudRate:19200, parity:0, dataBits:8, stopBits:1, flowControl:0, predefined:true
--------------------------------------------------------
|
|
| |
Goto Forum:
Current Time: Thu Sep 19 19:06:04 GMT 2024
Powered by FUDForum. Page generated in 0.03356 seconds
|