-
-
Save maruel/425d4156c73fa869536758a9905b7ead to your computer and use it in GitHub Desktop.
chip for https://github.com/google/periph/commit/d29d630a01cb (success!) in 47.965s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go install -v ./cmd/gpio-list ./cmd/headers-list ./cmd/periph-info ./cmd/periph-smoketest (exit:0 in 586.575ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ periph-info (exit:0 in 53.451ms) | |
Drivers loaded and their dependencies, if any: | |
- allwinner-gpio | |
- chip : [allwinner-gpio sysfs-gpio] | |
- sysfs-gpio | |
- sysfs-i2c | |
- sysfs-led | |
- sysfs-thermal | |
Drivers skipped and the reason why: | |
- allwinner-gpio-pl: A64 CPU not detected | |
- bcm283x-gpio : bcm283x CPU not detected | |
- odroid_c1 : Hardkernel ODROID-C0/C1/C1+ board not detected | |
- pine64 : dependency not loaded: "allwinner-gpio-pl" | |
- rpi : dependency not loaded: "bcm283x-gpio" | |
- sysfs-spi : no SPI bus found | |
Drivers failed to load and the error: | |
<none> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gpio-list (exit:0 in 20.465s) | |
PB2(34) : In/High/Up | |
PB3(35) : EINT17 | |
PB15(47) : I2C1_SCL | |
PB16(48) : I2C1_SDA | |
PB17(49) : In/High/Float | |
PB18(50) : In/High/Float | |
PD2(98) : In/High/Up | |
PD3(99) : In/Low/Float | |
PD4(100) : In/Low/Float | |
PD5(101) : In/Low/Float | |
PD6(102) : In/Low/Float | |
PD7(103) : In/Low/Float | |
PD10(106): In/Low/Float | |
PD11(107): In/Low/Float | |
PD12(108): In/Low/Float | |
PD13(109): In/Low/Float | |
PD14(110): In/Low/Float | |
PD15(111): In/Low/Float | |
PD18(114): In/Low/Float | |
PD19(115): In/Low/Float | |
PD20(116): In/Low/Float | |
PD21(117): In/Low/Float | |
PD22(118): In/Low/Float | |
PD23(119): In/Low/Float | |
PD24(120): In/Low/Float | |
PD25(121): In/Low/Float | |
PD26(122): In/Low/Float | |
PD27(123): In/Low/Float | |
PE0(128) : In/Low/Float | |
PE1(129) : In/Low/Float | |
PE2(130) : In/Low/Float | |
PE3(131) : In/Low/Float | |
PE4(132) : In/Low/Float | |
PE5(133) : In/Low/Float | |
PE6(134) : In/Low/Float | |
PE7(135) : In/Low/Float | |
PE8(136) : In/Low/Float | |
PE9(137) : In/Low/Float | |
PE10(138): In/Low/Float | |
PE11(139): In/Low/Float | |
PG1(193) : EINT1 | |
PG3(195) : UART1_TX | |
PG4(196) : UART1_RX | |
GPIO1016 : In/Low | |
GPIO1017 : In/Low | |
GPIO1018 : In/Low | |
GPIO1019 : In/Low | |
GPIO1020 : In/Low | |
GPIO1021 : In/Low | |
GPIO1022 : In/Low | |
GPIO1023 : open /sys/class/gpio/gpio1023/direction: no such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ headers-list (exit:0 in 20.168s) | |
U13: 40 pins | |
Func Name Pos Pos Name Func | |
GROUND 1 2 DC_IN | |
V5 3 4 GROUND | |
V3_3 5 6 TEMP_SENSOR | |
V1_8 7 8 BAT_PLUS | |
I2C1_SDA PB16(48) 9 10 PWR_SWITCH | |
I2C1_SCL PB15(47) 11 12 GROUND | |
X1 13 14 X2 | |
Y1 15 16 Y2 | |
In/High/Up PD2(98) 17 18 PB2(34) In/High/Up | |
In/Low/Float PD4(100) 19 20 PD3(99) In/Low/Float | |
In/Low/Float PD6(102) 21 22 PD5(101) In/Low/Float | |
In/Low/Float PD10(106) 23 24 PD7(103) In/Low/Float | |
In/Low/Float PD12(108) 25 26 PD11(107) In/Low/Float | |
In/Low/Float PD14(110) 27 28 PD13(109) In/Low/Float | |
In/Low/Float PD18(114) 29 30 PD15(111) In/Low/Float | |
In/Low/Float PD20(116) 31 32 PD19(115) In/Low/Float | |
In/Low/Float PD22(118) 33 34 PD21(117) In/Low/Float | |
In/Low/Float PD24(120) 35 36 PD23(119) In/Low/Float | |
In/Low/Float PD26(122) 37 38 PD27(123) In/Low/Float | |
GROUND 39 40 PD25(121) In/Low/Float | |
U14: 40 pins | |
Func Name Pos Pos Name Func | |
GROUND 1 2 V5 | |
UART1_TX PG3(195) 3 4 HP_LEFT | |
UART1_RX PG4(196) 5 6 HP_COM | |
FEL 7 8 HP_RIGHT | |
V3_3 9 10 MIC_GND | |
KEY_ADC 11 12 MIC_IN | |
In/Low GPIO1016 13 14 GPIO1017 In/Low | |
In/Low GPIO1018 15 16 GPIO1019 In/Low | |
In/Low GPIO1020 17 18 GPIO1021 In/Low | |
In/Low GPIO1022 19 20 GPIO1023 open /sys/class/gpio/gpio1023/direction: no such file or directory | |
GROUND 21 22 GROUND | |
EINT1 PG1(193) 23 24 PB3(35) EINT17 | |
In/High/Float PB18(50) 25 26 PB17(49) In/High/Float | |
In/Low/Float PE0(128) 27 28 PE1(129) In/Low/Float | |
In/Low/Float PE2(130) 29 30 PE3(131) In/Low/Float | |
In/Low/Float PE4(132) 31 32 PE5(133) In/Low/Float | |
In/Low/Float PE6(134) 33 34 PE7(135) In/Low/Float | |
In/Low/Float PE8(136) 35 36 PE9(137) In/Low/Float | |
In/Low/Float PE10(138) 37 38 PE11(139) In/Low/Float | |
GROUND 39 40 GROUND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ periph-smoketest gpio -sysfs 34 35 (exit:0 in 406.85ms) | |
Skipping input pull resistor on sysfs | |
Using pins and their current state: | |
- GPIO34: In/High | |
- GPIO35: In/High | |
Testing GPIO35 -> GPIO34 | |
Testing basic functionality | |
0.326ms GPIO34.In(Float, None) | |
0.884ms GPIO35.Out(Low) | |
1.484ms -> GPIO34: In/Low | |
6.982ms -> GPIO35: Out/Low | |
7.516ms GPIO35.Out(High) | |
7.880ms -> GPIO34: In/High | |
8.178ms -> GPIO35: Out/High | |
Testing edges with Both | |
8.674ms GPIO34.In(Float, None) | |
8.914ms GPIO35.Out(Low) | |
9.668ms GPIO34.In(Float, Both) | |
21.090ms -> WaitForEdge(GPIO34) -> false | |
21.735ms GPIO35.Out(High) | |
22.777ms -> WaitForEdge(GPIO34) -> true | |
23.404ms GPIO35.Out(Low) | |
24.045ms -> WaitForEdge(GPIO34) -> true | |
34.838ms -> WaitForEdge(GPIO34) -> false | |
35.506ms GPIO35.Out(High) | |
36.118ms -> WaitForEdge(GPIO34) -> true | |
36.507ms GPIO35.Out(Low) | |
37.376ms GPIO35.Out(High) | |
37.975ms -> WaitForEdge(GPIO34) -> true | |
48.734ms -> WaitForEdge(GPIO34) -> false | |
49.130ms GPIO35.Out(Low) | |
50.173ms GPIO34.In(Float, Both) | |
60.959ms -> WaitForEdge(GPIO34) -> false | |
Testing edges with Rising | |
61.837ms GPIO34.In(Float, None) | |
62.076ms GPIO35.Out(Low) | |
62.275ms GPIO35.Out(Low) | |
62.739ms GPIO34.In(Float, Rising) | |
73.435ms -> WaitForEdge(GPIO34) -> false | |
73.766ms GPIO35.Out(High) | |
74.147ms -> WaitForEdge(GPIO34) -> true | |
74.433ms GPIO35.Out(Low) | |
84.715ms -> WaitForEdge(GPIO34) -> false | |
95.138ms -> WaitForEdge(GPIO34) -> false | |
95.398ms GPIO35.Out(High) | |
95.757ms -> WaitForEdge(GPIO34) -> true | |
96.041ms GPIO35.Out(Low) | |
96.475ms GPIO35.Out(High) | |
96.935ms GPIO35.Out(Low) | |
97.284ms GPIO35.Out(High) | |
97.489ms -> WaitForEdge(GPIO34) -> true | |
97.852ms -> WaitForEdge(GPIO34) -> true | |
warning: didn't expect for two edges to accumulate | |
98.099ms GPIO35.Out(Low) | |
98.413ms GPIO35.Out(High) | |
98.769ms GPIO34.In(Float, Rising) | |
109.121ms -> WaitForEdge(GPIO34) -> false | |
Testing edges with Falling | |
109.453ms GPIO34.In(Float, None) | |
109.605ms GPIO35.Out(Low) | |
109.735ms GPIO35.Out(High) | |
110.061ms GPIO34.In(Float, Falling) | |
110.616ms -> WaitForEdge(GPIO34) -> true | |
warning: there should be no edge right after setting a pin | |
110.911ms GPIO35.Out(Low) | |
111.186ms -> WaitForEdge(GPIO34) -> true | |
111.433ms GPIO35.Out(High) | |
121.682ms -> WaitForEdge(GPIO34) -> false | |
132.216ms -> WaitForEdge(GPIO34) -> false | |
132.469ms GPIO35.Out(Low) | |
132.926ms -> WaitForEdge(GPIO34) -> true | |
133.158ms GPIO35.Out(High) | |
133.696ms GPIO35.Out(Low) | |
134.116ms GPIO35.Out(High) | |
134.507ms GPIO35.Out(Low) | |
134.804ms -> WaitForEdge(GPIO34) -> true | |
135.099ms -> WaitForEdge(GPIO34) -> true | |
warning: didn't expect for two edges to accumulate | |
135.458ms GPIO35.Out(High) | |
135.835ms GPIO35.Out(Low) | |
136.249ms GPIO34.In(Float, Falling) | |
146.660ms -> WaitForEdge(GPIO34) -> false | |
Testing GPIO34 -> GPIO35 | |
Testing basic functionality | |
147.100ms GPIO35.In(Float, None) | |
147.299ms GPIO34.Out(Low) | |
148.072ms -> GPIO35: In/Low | |
148.322ms -> GPIO34: Out/Low | |
148.682ms GPIO34.Out(High) | |
149.356ms -> GPIO35: In/High | |
149.571ms -> GPIO34: Out/High | |
Testing edges with Both | |
149.984ms GPIO35.In(Float, None) | |
150.197ms GPIO34.Out(Low) | |
150.568ms GPIO35.In(Float, Both) | |
161.434ms -> WaitForEdge(GPIO35) -> false | |
161.924ms GPIO34.Out(High) | |
162.385ms -> WaitForEdge(GPIO35) -> true | |
162.647ms GPIO34.Out(Low) | |
163.096ms -> WaitForEdge(GPIO35) -> true | |
173.464ms -> WaitForEdge(GPIO35) -> false | |
173.703ms GPIO34.Out(High) | |
174.095ms -> WaitForEdge(GPIO35) -> true | |
174.355ms GPIO34.Out(Low) | |
174.906ms GPIO34.Out(High) | |
175.219ms -> WaitForEdge(GPIO35) -> true | |
175.513ms -> WaitForEdge(GPIO35) -> true | |
175.833ms GPIO34.Out(Low) | |
176.313ms GPIO35.In(Float, Both) | |
186.719ms -> WaitForEdge(GPIO35) -> false | |
Testing edges with Rising | |
189.737ms GPIO35.In(Float, None) | |
190.622ms GPIO34.Out(Low) | |
191.125ms GPIO34.Out(Low) | |
191.412ms GPIO35.In(Float, Rising) | |
202.230ms -> WaitForEdge(GPIO35) -> false | |
202.742ms GPIO34.Out(High) | |
203.211ms -> WaitForEdge(GPIO35) -> true | |
203.476ms GPIO34.Out(Low) | |
213.857ms -> WaitForEdge(GPIO35) -> false | |
224.196ms -> WaitForEdge(GPIO35) -> false | |
224.421ms GPIO34.Out(High) | |
224.815ms -> WaitForEdge(GPIO35) -> true | |
225.076ms GPIO34.Out(Low) | |
225.606ms GPIO34.Out(High) | |
226.082ms GPIO34.Out(Low) | |
226.481ms GPIO34.Out(High) | |
226.845ms -> WaitForEdge(GPIO35) -> true | |
227.117ms -> WaitForEdge(GPIO35) -> true | |
warning: didn't expect for two edges to accumulate | |
227.431ms GPIO34.Out(Low) | |
227.820ms GPIO34.Out(High) | |
228.212ms GPIO35.In(Float, Rising) | |
242.218ms -> WaitForEdge(GPIO35) -> false | |
Testing edges with Falling | |
242.600ms GPIO35.In(Float, None) | |
242.711ms GPIO34.Out(Low) | |
242.793ms GPIO34.Out(High) | |
243.102ms GPIO35.In(Float, Falling) | |
243.586ms -> WaitForEdge(GPIO35) -> true | |
warning: there should be no edge right after setting a pin | |
243.781ms GPIO34.Out(Low) | |
243.996ms -> WaitForEdge(GPIO35) -> true | |
244.142ms GPIO34.Out(High) | |
254.336ms -> WaitForEdge(GPIO35) -> false | |
264.761ms -> WaitForEdge(GPIO35) -> false | |
264.951ms GPIO34.Out(Low) | |
265.227ms -> WaitForEdge(GPIO35) -> true | |
265.379ms GPIO34.Out(High) | |
265.643ms GPIO34.Out(Low) | |
265.875ms GPIO34.Out(High) | |
266.102ms GPIO34.Out(Low) | |
266.223ms -> WaitForEdge(GPIO35) -> true | |
266.436ms -> WaitForEdge(GPIO35) -> true | |
warning: didn't expect for two edges to accumulate | |
266.563ms GPIO34.Out(High) | |
266.814ms GPIO34.Out(Low) | |
267.111ms GPIO35.In(Float, Falling) | |
277.387ms -> WaitForEdge(GPIO35) -> false | |
<terminating> | |
277.623ms GPIO34.In(PullNoChange, None) | |
277.768ms GPIO35.In(PullNoChange, None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Commit: d29d630a01cb38b7d48faa9d6a456ea3a6c12e4c | |
CPUs: 1 | |
Version: go1.7.3 | |
GOROOT: /home/chip/go | |
GOPATH: /home/chip/gohci/periph/go | |
PATH: /home/chip/gohci/periph/go/bin:/home/chip/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
Commands to be run: | |
go install -v ./cmd/gpio-list ./cmd/headers-list ./cmd/periph-info ./cmd/periph-smoketest | |
periph-info | |
gpio-list | |
headers-list | |
periph-smoketest gpio -sysfs 34 35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git fetch --prune --quiet (exit:0 in 1.525s) | |
$ git pull --prune --quiet (exit:0 in 2.058s) | |
Already up-to-date. | |
$ git pull --prune --quiet (exit:0 in 2.094s) | |
Already up-to-date. | |
$ git pull --prune --quiet (exit:0 in 2.153s) | |
Already up-to-date. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git checkout --quiet -B test d29d630a01cb38b7d48faa9d6a456ea3a6c12e4c (exit:0 in 42.855ms) | |
$ go get -v -d -t ./... (exit:0 in 2.167s) | |
$ go test -i ./... (exit:0 in 1.283s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment