Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Work queue: Yield between queue items to ensure queue execution stays in ↵wqueue_yield | Lorenz Meier | 2015-04-14 | 1 | -0/+7 |
| | | | | lockstep with main OS tasks scheduling on priorities. | ||||
* | Build fixes for compiling NuttX with Eigen | Johan Jansen | 2015-03-10 | 2 | -5/+11 |
| | |||||
* | Merge pull request #47 from tridge/pullrequest-mkfatfs-dma | Lorenz Meier | 2015-02-18 | 1 | -1/+8 |
|\ | | | | | fat: use DMA memory for mkfatfs when needed | ||||
| * | fat: use DMA memory for mkfatfs when needed | Andrew Tridgell | 2015-02-18 | 1 | -1/+8 |
|/ | | | | | | this makes mkfatfs use fat_dma_alloc() when CONFIG_FAT_DMAMEMORY is set. This is needed to ensure mkfatfs operates with boards that use DMA for microSD | ||||
* | Merge pull request #46 from PX4/spi_setup_fix | Lorenz Meier | 2015-02-17 | 1 | -4/+8 |
|\ | | | | | Spi setup fix | ||||
| * | Back port spi settings fix: SPE must be disabled before changing setting | David Sidrane | 2015-02-17 | 1 | -4/+8 |
| | | |||||
| * | Fix SPI so that SPI4 Clock will not be 2 times requested | David Sidrane | 2015-02-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | The clocks assigned to the SPI blocks spi4 to spi6 were using the APB1 prescaler (42 mHZ) constant and should have been the APB2 prescaler (84 mHZ) constant. Thus the actual SPI clock on the bus was 2 times what is should have been (After adjustment for requested to actual) IE: Request for 11 mHz maps to an Actual 10.5 mHz but would have produced a clock of 21 mHz on the bus. This change fixes that. | ||||
* | | Fix SPI so that SPI4 Clock will not be 2 times requested | David Sidrane | 2015-02-13 | 1 | -3/+3 |
|/ | | | | | | | The clocks assigned to the SPI blocks spi4 to spi6 were using the APB1 prescaler (42 mHZ) constant and should have been the APB2 prescaler (84 mHZ) constant. Thus the actual SPI clock on the bus was 2 times what is should have been (After adjustment for requested to actual) IE: Request for 11 mHz maps to an Actual 10.5 mHz but would have produced a clock of 21 mHz on the bus. This change fixes that. | ||||
* | USB: set interval setting according to upstream | Lorenz Meier | 2015-02-09 | 1 | -1/+1 |
| | |||||
* | Enable GCC 4.9 support hackery | Lorenz Meier | 2015-02-08 | 1 | -1/+1 |
| | |||||
* | Backport memcpy fix | Gregory Nutt | 2015-01-29 | 1 | -0/+15 |
| | |||||
* | Merge pull request #44 from ultrasystem/patch-1 | Lorenz Meier | 2015-01-29 | 1 | -1/+2 |
|\ | | | | | Update work_thread.c | ||||
| * | Update work_thread.c | Liio Chen | 2015-01-27 | 1 | -1/+2 |
|/ | | | Here wrong? | ||||
* | Color the stack anyways with 0xFF, even if the per-function checking is not ↵ | Lorenz Meier | 2015-01-21 | 1 | -1/+1 |
| | | | | enabled | ||||
* | Critical hotfixes for memory accesses. Found via Coverity by Pavel Kirienko | Lorenz Meier | 2015-01-19 | 3 | -6/+10 |
| | |||||
* | backport SDIO Fix - no busy waiting | David Sidrane | 2015-01-07 | 4 | -9/+125 |
| | |||||
* | stm32-rtc: Add support for the internal low speed clock (LSI) | Kevin Hester | 2015-01-02 | 3 | -15/+52 |
| | | | | | Some boards do not have the external 32khz oscillator installed, for those boards we must fallback to the crummy internal RC clock. Turn on by defining CONFIG_RTC_LSICLOCK | ||||
* | build: make it easier to use ccache for faster build on windows | Andrew Tridgell | 2015-01-02 | 1 | -2/+4 |
| | |||||
* | RAMTRON: Add missing return value for clock speed success case. | Lorenz Meier | 2014-12-26 | 1 | -0/+1 |
| | |||||
* | The compilers we deal with have now long long types, and so the old macro ↵ | Lorenz Meier | 2014-12-20 | 1 | -4/+4 |
| | | | | should be removed for C99 and C++11 | ||||
* | strncpy: Commit d0c76ccacf0dc8988f9617ad82bf4349f456bb08 will trash a lot of ↵ | Gregory Nutt | 2014-12-12 | 1 | -1/+1 |
| | | | | memory if n == 0. From Hiro | ||||
* | Merge pull request #29 from thomasgubler/customfile | Lorenz Meier | 2014-12-06 | 1 | -0/+57 |
|\ | | | | | add custom_file.h | ||||
| * | add custom_file.h | Thomas Gubler | 2014-12-06 | 1 | -0/+57 |
|/ | | | | this is used when __CUSTOM_FILE_IO__ is defined | ||||
* | Undefine C macros conflicting with equivalent functions in C++ | Lorenz Meier | 2014-11-28 | 1 | -0/+15 |
| | |||||
* | Add wint_t definition in right location | Lorenz Meier | 2014-11-28 | 1 | -0/+1 |
| | |||||
* | updating pinmap for mavstation | kbrtny | 2014-11-26 | 1 | -0/+22 |
| | |||||
* | Added WIP F102 support for the MAvstation | kbrtny | 2014-11-26 | 4 | -1/+307 |
| | |||||
* | Fixing md5 hashing when digest[$i] lower that 16. Sergey <sectus@mail.ru> | Gregory Nutt | 2014-11-23 | 1 | -1/+1 |
| | |||||
* | ARM math.h: Remove commented out code parts | Lorenz Meier | 2014-11-15 | 1 | -28/+0 |
| | |||||
* | Merge pull request #24 from tridge/pullrequest-sscanf-hang | Lorenz Meier | 2014-11-11 | 1 | -0/+4 |
|\ | | | | | lib_sscanf: fixed a hang in scanf() on end of string | ||||
| * | lib_sscanf: fixed a hang in scanf() on end of string | Andrew Tridgell | 2014-11-06 | 1 | -0/+4 |
|/ | | | | | if we reach end of buffer when we are not on a format specifier then the code would loop forever. | ||||
* | Cleanup of docs / comments | Lorenz Meier | 2014-11-02 | 1 | -7/+5 |
| | |||||
* | Force a hardfault on stack overflows to make the fault condition obvious ↵ | Lorenz Meier | 2014-11-02 | 1 | -2/+20 |
| | | | | once it occurs | ||||
* | Merge pull request #23 from tridge/pullrequest-i2c-lockup-fix | Lorenz Meier | 2014-10-28 | 1 | -0/+28 |
|\ | | | | | stm32_i2c: handle more error conditions on I2C bus | ||||
| * | stm32_i2c: handle more error conditions on I2C bus | Andrew Tridgell | 2014-10-28 | 1 | -0/+28 |
|/ | | | | | | | this fixes a I2C ISR storm condition where status=0x70084, which can happen with some specific types of noise on the I2C bus. This was reproduced by playing 80s rock through a Jabra wireless headset close to the I2C cables. | ||||
* | Merge pull request #21 from PX4/irqprio | Lorenz Meier | 2014-08-22 | 4 | -0/+8 |
|\ | | | | | Add "#ifdef CONFIG_ARCH_IRQPRIO" where needed | ||||
| * | Add "#ifdef CONFIG_ARCH_IRQPRIO" where needed | Anton Babushkin | 2014-08-14 | 4 | -0/+8 |
|/ | |||||
* | STM32: Handle setting of USART CR1_M when 8 bits of data plus parity | Gregory Nutt | 2014-07-23 | 1 | -19/+27 |
| | |||||
* | stm32_i2c: handle more unexpected ISR conditions | Andrew Tridgell | 2014-07-12 | 1 | -1/+11 |
| | | | | | | | | this clears the interrupt for more unexpected ISR conditions that otherwise lead to an ISR storm. When that happens no user threads are able to run as the I2C ISR is continually raised Thanks to Lorenz for help in tracking this down | ||||
* | stm32_i2c: check for msgc underflow in I2C ISR | Andrew Tridgell | 2014-07-12 | 1 | -17/+24 |
| | | | | | | a spurious I2C interrupt could cause priv->msgc to underflow, leading to memory being overwritten. This seems to have been the cause of at least some of lockups we have seen | ||||
* | stm32_i2c: ensure we don't change priv-> after semaphore is released | Andrew Tridgell | 2014-07-12 | 1 | -1/+2 |
| | | | | | | | this prevents a race condition where a subsequent I2C transfer could be lost Many thanks to hxxnrx@gmail.com for reporting this bug | ||||
* | stm32_i2c: fixed timeout handling | Andrew Tridgell | 2014-07-12 | 1 | -2/+2 |
| | | | | thanks to hxxnrx@gmail.com for noticing this | ||||
* | Revert "Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale ↵ | Lorenz Meier | 2014-07-12 | 1 | -1/+10 |
| | | | | | | data"" This reverts commit 7a7a07ed0ec492b3ab9f87467189886a66b2fc1a. | ||||
* | Fixed FS command IO buffer | Gregory Nutt | 2014-07-06 | 1 | -1/+9 |
| | |||||
* | Merge pull request #18 from Kynos/master | Lorenz Meier | 2014-05-24 | 1 | -1/+2 |
|\ | | | | | Fix for sed "permission denied" error in Windows build | ||||
| * | Fix for sed "permission denied" error in Windows build | Kynos | 2014-05-24 | 1 | -1/+2 |
|/ | | | | | Cygwin sed in-place edit (option -i) broken, will mess up permissions. Changed to work without in-place edit. | ||||
* | mtd driver: add missing SPI header | Lorenz Meier | 2014-05-20 | 1 | -1/+1 |
| | |||||
* | stm32: add sw workaround for broken stm32 hw RTS implementation | Kevin Hester | 2014-05-20 | 3 | -7/+134 |
| | | | | | | | | | | | | | | adds support for manually asserting nRTS when the OS buffer is nearly full and deasserting it when it has room again. This makes the RTS pin actually work in a useful way (the stm32 hw implementation is broken - it asserts nRTS as soon as more than one character is received). We assert nRTS from inside of up_recvchars. For deassertion we needed a new callback from the general serial device layer when characters have been dequed. onrxdeque was added to uart_ops_s for this purpose and implemented (currently) only on the stm32. | ||||
* | Disable -Wshadow warnings for system headers - alternatively we could use ↵ | Lorenz Meier | 2014-05-16 | 4 | -0/+12 |
| | | | | #pragma GCC system_header in those | ||||
* | include/cxx: Fix some bad idempotence defintions in header files | Lorenz Meier | 2014-05-16 | 1 | -4/+4 |
| |