{"ref":"refs/heads/master","commits":[{"author":{"name":"Martin Guy","email":"1707e15e9766e69023bc0cd1bc9fd9dbf96ce96d@gmail.com"},"message":"Revert \"Pass the right clock to spi_initMaster() - PBA freq not CPU freq\"\n\nThis reverts commit 3bdb0c9c93a9b54b29517be41e4c93538c45b40f.\nwhich stopped the MMC card working on Mizar32.","url":"https://api.github.com/repos/jsnyder/elua/commits/ced77664e953b0693dd6bc3744512b461cfca02a","sha":"ced77664e953b0693dd6bc3744512b461cfca02a"},{"author":{"name":"Martin Guy","email":"1707e15e9766e69023bc0cd1bc9fd9dbf96ce96d@gmail.com"},"message":"Fix AVR32 SPI initialization\n\nThis fixes the following AVR32 SPI clock setting bugs:\n- it used to set the SPI frequency at a quarter of what you asked for\n  (by calculating it from the wrong clock)\n- it did not report what actual frequency it had set\n- spi.setup() always seemed to succeed even if it failed\n- it used to set the nearest frequency instead of the next lowest available\n  so half the time would drive devices at higher than their maximum speed.\n  This was hidden by it always setting a quarter of what you asked for (!)\n- it would set a junk frequency if you asked for a clock lower than its minimum\n- asking for a baud rate of zero made it divide by zero, which went undetected\n  and set a random baud rate instead of the minimum available\n- Now, if you ask for an invalid number of data bits (< 8 or > 16),\n  spi.setup() returns zero.\n  This is still wrong and undocumented.\n  It should give an error message in platform-independent spi_setup() and stop\n  but unfortunately the current code structure does not allow this, since the\n  possible numbers of data bits is platform-specific.","url":"https://api.github.com/repos/jsnyder/elua/commits/024efa748554ebfd1f0e49489fb2b97850830067","sha":"024efa748554ebfd1f0e49489fb2b97850830067"},{"author":{"name":"Martin Guy","email":"1707e15e9766e69023bc0cd1bc9fd9dbf96ce96d@gmail.com"},"message":"Remove unused variable","url":"https://api.github.com/repos/jsnyder/elua/commits/c36309d185f95629d49f5ec35530c1e1e07980d3","sha":"c36309d185f95629d49f5ec35530c1e1e07980d3"},{"author":{"name":"Martin Guy","email":"1707e15e9766e69023bc0cd1bc9fd9dbf96ce96d@gmail.com"},"message":"Raise Mizar32 CPU freq from 60 to 66MHz and PBA from 15 to 16.5\n\nAll derived frequencies (sdram, USB, tmr, VTMRs, SPI, UARTs, PWM, MMC,\nand ethernet) compensate correctly for the different PBA freq and\ntmr.getmaxdelay() is still just over 0.5 sec (by a hair!).\nThis may work for EVK110X too - the reason they chose 60MHz is unknown.","url":"https://api.github.com/repos/jsnyder/elua/commits/6c655e6e5788766ad32f8ee951df8ad93acf6971","sha":"6c655e6e5788766ad32f8ee951df8ad93acf6971"},{"author":{"name":"James Snyder","email":"1b852c750e4dfcd90a82abafd14ac5fce8c98ee8@fanplastic.org"},"message":"Fix CRLF","url":"https://api.github.com/repos/jsnyder/elua/commits/8c0f82198f5371d40bc0f9526dbaaa6840450d5a","sha":"8c0f82198f5371d40bc0f9526dbaaa6840450d5a"}],"head":"8c0f82198f5371d40bc0f9526dbaaa6840450d5a","size":5,"push_id":48807505}