вторник, 1 января 2019 г.

Ingenic Halley2, Uboot, Test push button and LED

I add to my stand 2 components:
1) a push button;
2) a LED.

Connection is follow.
A push button to pin BOOT_SEL0_PB28.
A LED to pin I2C0_SDA_SCC_DATA_PB24.
For more information about pins see X1000 Datasheet.

Both pins are in a group of port B. Their internal numbers are 60 and 56 respectively.

I made several scripts to test their functionality. They are here.

Update 07.01.2019. This is the photo of my stand.

Also I made the demo video with working script.