{"push_id":816394427,"size":4,"distinct_size":1,"ref":"refs/heads/python-suppot","head":"851cfaf509b1ced93db03974780e202da0e74003","before":"8bd3d7af66f33756bfb43e65e54e4a1d482702a2","commits":[{"sha":"b3651557946b6c2cfb44914038d3b95f1f5b447b","author":{"email":"09032574f02f3d5e4e489a718b8705f28c474e94@linaro.org","name":"Andy Doan"},"message":"Add optional \"board\" support mechanism\n\nThe current library is great for general purpose use. This patch\nprovides a mechanism to optional enable some board specific helpers.\n\nThe idea is that things like GPIO pin mappings such as the beagle bone\nwhite's P9_42=GPIO_7 could be stored under:\n\n contrib/board_files/<boardname>\n\nNew and existing Makefiles could then include extra features if BOARD is\ndefined.\n\nSigned-off-by: Andy Doan <andy.doan@linaro.org>","distinct":false,"url":"https://api.github.com/repos/doanac/libsoc/commits/b3651557946b6c2cfb44914038d3b95f1f5b447b"},{"sha":"a057a5524db81ee324bc1e45ffe300415e6755f8","author":{"email":"09032574f02f3d5e4e489a718b8705f28c474e94@linaro.org","name":"Andy Doan"},"message":"contrib: Add ability to install board-specific gpio.conf\n\nuntested on beaglebone, just going off schematics found:\n http://beagleboard.org/support/bone101\n\nSigned-off-by: Andy Doan <andy.doan@linaro.org>","distinct":false,"url":"https://api.github.com/repos/doanac/libsoc/commits/a057a5524db81ee324bc1e45ffe300415e6755f8"},{"sha":"af7895387fa705d867f8d5604148347a0f992acf","author":{"email":"09032574f02f3d5e4e489a718b8705f28c474e94@linaro.org","name":"Andy Doan"},"message":"gpio: Add optional board-specific helper\n\nThis change introduces a new \"libsoc_gpio_id\" that can find the GPIO ID\nof a given board's pin name. eg: for a dragonboard:\n\n libsoc_gpio_id(\"GPIO_A\") == 36\n\nSigned-off-by: Andy Doan <andy.doan@linaro.org>","distinct":false,"url":"https://api.github.com/repos/doanac/libsoc/commits/af7895387fa705d867f8d5604148347a0f992acf"},{"sha":"851cfaf509b1ced93db03974780e202da0e74003","author":{"email":"09032574f02f3d5e4e489a718b8705f28c474e94@linaro.org","name":"Andy Doan"},"message":"Add optional python wrapper to gpio APIs\n\nThis includes an optional PYTHON library when configured with:\n  ./configure --enable-python\n\nThe python API can then be used with something like:\n import time\n\n from gpio import GPIO_out, activate_gpios\n\n pinX = GPIO_out(X, GPIO_out.MODE_SHARED)\n with activate_gpios((x,)):\n     for x in range(5):\n         pinX.set_high()\n         time.sleep(x)\n         pinX.set_low()\n         time.sleep(1)\n\nSigned-off-by: Andy Doan <andy.doan@linaro.org>","distinct":true,"url":"https://api.github.com/repos/doanac/libsoc/commits/851cfaf509b1ced93db03974780e202da0e74003"}]}