1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
|
21/06/2016 - 0.8.2
------------------
- Added set_edge and set_direction to python GPIO bindings
- Started markdown based written documentation
- Build system cleanups
05/05/2016 - 0.8.1
------------------
- Fixed some configure bugs relating to installing board files
04/05/2016 - 0.8
----------------
- Automatic board probing support via config file
- Python GPIO and I2C bindings
- test_configure.sh test script to catch configure regressions
- Special Thanks to Andy Doan <andy.doan@linaro.org>
09/12/2015 - 0.7.1
------------------
- Fixed compilation with musl
- Remove inline keywords as they dont play nice with GCC 5.2
- Misc cleanups from static analysis
05/11/2015 - 0.7
----------------
- Add named GPIO board support
- Fixed autoconf syntax error
- Special Thanks to Andy Doan <andy.doan@linaro.org>
02/07/2015 - 0.6.5
----------------
- Fix bug in GPIO interrupt polling
14/06/2015 - 0.6.4
----------------
- Fix autotools warnings
- Enable silent build
- Add packageconfig support
- Special Thanks to Yegor Yefremov <yegorslists@googlemail.com>
22/08/2014 - 0.6.3
----------------
- Initialise GPIO function pointer to NULL
- Style fixes
- Small scope optimisations
- Juggling of include files to more relevant places
- Special Thanks to Yegor Yefremov <yegorslists@googlemail.com>
16/06/2014 - 0.6.2
----------------
- Moved some required headers to include files
- Fix memory leak in GPIO lib error path
- Fix wrong SPI brackets in libsoc_spi_read which caused
function to return FAILURE regardless
- Special Thanks to Yegor Yefremov <yegorslists@googlemail.com>
22/05/2014 - 0.6.1
--------------
- Add support for BOTH edge interrupts
- Add include guards
- Add C++ ifdef support
- Include sysfs gpio bug fix for OMAP platforms
02/02/2014 - 0.6
------------
- PWM sysfs support (Linux 3.12+)
- Fixed some bugs
- Enabled debugging by default; you will now have to specifically
switch it off (./configure --disable-debug)
06/12/2013 - 0.5
----------------------
- Basic I2C support
- Add SPI header to include_header in configure.ac
06/10/2013 - 0.4
--------------
- Basic SPI support
- See lib/include/libsoc_spi.h
13/09/2013 - 0.3
--------------
- Non-blocking GPIO interrupts
/**
* \fn int libsoc_gpio_callback_interrupt(gpio* gpio, int (*callback_fn)(void*), void* arg)
* \brief takes a gpio and a callback function, when an interrupt occurs
* on the edge previously specified, the callback function is called
* \param gpio* gpio - the gpio for which you want the interrupt to
* trigger the callback function
* \param int (*callback_fn)(void*) - the function you wish to call with
* a void* pointer to a possible value you may wish to use in the callback.
* \param void* arg - pointer to data you wish to use in the callback function
* \return EXIT_SUCCESS or EXIT_FAILURE
*/
int libsoc_gpio_callback_interrupt(gpio* gpio, int (*callback_fn)(void*), void* arg);
/**
* \fn int libsoc_gpio_callback_interrupt_cancel(gpio* gpio)
* \brief cancel a callback on a gpio interrupt
* \param gpio* gpio - gpio with a valid callback enabled
* \return EXIT_SUCCESS or EXIT_FAILURE
*/
int libsoc_gpio_callback_interrupt_cancel(gpio* gpio);
- Added modes to gpio_request
gpio* libsoc_gpio_request(unsigned int gpio_id, int mode);
/**
* Valid Modes for libsoc_gpio_request
*
* LS_SHARED - if the gpio is already exported then it will not unexport
* the GPIO on free. If it is not exported, then it will
* unexport on free.
*
* LS_GREEDY - will succeed if the GPIO is already exported, but will
* always unexport the GPIO on free.
*
* LS_WEAK - will fail if GPIO is already exported, will always unexport
* on free.
*/
03/09/2013 - 0.2
--------------
- GPIO blocking interrupt support
/**
* \fn int libsoc_gpio_wait_interrupt(gpio* gpio, int timeout)
* \brief takes a gpio and waits for length of timeout or until an
* interrupt occurs. Will return EXIT_SUCCESS on interrupt or
* EXIT_FAILURE on error or timeout.
* \param gpio* gpio - the gpio for which you want to wait on interrupt
* \param int timeout - the max length of time to wait for interrupt in
* milliseconds
* \return EXIT_SUCCESS on interrupt caught, EXIT_FAILURE on error or
* interrupt missed
*/
int libsoc_gpio_wait_interrupt(gpio* gpio, int timeout);
- Improved error and debug handling
31/08/2013 - 0.1
--------------
- basic sysfs GPIO support
|