summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* remove trfile from Kconfigkinetis-k20/nuttx_nextJakob Odersky2015-03-081-571/+125
|
* Port of basic functionalities to Kinetis K20 familyJakob Odersky2015-03-089-132/+1099
| | | | | Conflicts: nuttx/configs/Kconfig
* Merge pull request #47 from tridge/pullrequest-mkfatfs-dmaLorenz Meier2015-02-181-1/+8
|\ | | | | fat: use DMA memory for mkfatfs when needed
| * fat: use DMA memory for mkfatfs when neededAndrew Tridgell2015-02-181-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_fixLorenz Meier2015-02-171-4/+8
|\ | | | | Spi setup fix
| * Back port spi settings fix: SPE must be disabled before changing settingDavid Sidrane2015-02-171-4/+8
| |
| * Fix SPI so that SPI4 Clock will not be 2 times requestedDavid Sidrane2015-02-131-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 requestedDavid Sidrane2015-02-131-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 upstreamLorenz Meier2015-02-091-1/+1
|
* Enable GCC 4.9 support hackeryLorenz Meier2015-02-081-1/+1
|
* Backport memcpy fixGregory Nutt2015-01-291-0/+15
|
* Merge pull request #44 from ultrasystem/patch-1Lorenz Meier2015-01-291-1/+2
|\ | | | | Update work_thread.c
| * Update work_thread.cLiio Chen2015-01-271-1/+2
|/ | | Here wrong?
* Color the stack anyways with 0xFF, even if the per-function checking is not ↵Lorenz Meier2015-01-211-1/+1
| | | | enabled
* Critical hotfixes for memory accesses. Found via Coverity by Pavel KirienkoLorenz Meier2015-01-193-6/+10
|
* backport SDIO Fix - no busy waitingDavid Sidrane2015-01-074-9/+125
|
* stm32-rtc: Add support for the internal low speed clock (LSI)Kevin Hester2015-01-023-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 windowsAndrew Tridgell2015-01-021-2/+4
|
* RAMTRON: Add missing return value for clock speed success case.Lorenz Meier2014-12-261-0/+1
|
* The compilers we deal with have now long long types, and so the old macro ↵Lorenz Meier2014-12-201-4/+4
| | | | should be removed for C99 and C++11
* strncpy: Commit d0c76ccacf0dc8988f9617ad82bf4349f456bb08 will trash a lot of ↵Gregory Nutt2014-12-121-1/+1
| | | | memory if n == 0. From Hiro
* Merge pull request #29 from thomasgubler/customfileLorenz Meier2014-12-061-0/+57
|\ | | | | add custom_file.h
| * add custom_file.hThomas Gubler2014-12-061-0/+57
|/ | | | this is used when __CUSTOM_FILE_IO__ is defined
* Undefine C macros conflicting with equivalent functions in C++Lorenz Meier2014-11-281-0/+15
|
* Add wint_t definition in right locationLorenz Meier2014-11-281-0/+1
|
* updating pinmap for mavstationkbrtny2014-11-261-0/+22
|
* Added WIP F102 support for the MAvstationkbrtny2014-11-264-1/+307
|
* Fixing md5 hashing when digest[$i] lower that 16. Sergey <sectus@mail.ru>Gregory Nutt2014-11-231-1/+1
|
* ARM math.h: Remove commented out code partsLorenz Meier2014-11-151-28/+0
|
* Merge pull request #24 from tridge/pullrequest-sscanf-hangLorenz Meier2014-11-111-0/+4
|\ | | | | lib_sscanf: fixed a hang in scanf() on end of string
| * lib_sscanf: fixed a hang in scanf() on end of stringAndrew Tridgell2014-11-061-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 / commentsLorenz Meier2014-11-021-7/+5
|
* Force a hardfault on stack overflows to make the fault condition obvious ↵Lorenz Meier2014-11-021-2/+20
| | | | once it occurs
* Merge pull request #23 from tridge/pullrequest-i2c-lockup-fixLorenz Meier2014-10-281-0/+28
|\ | | | | stm32_i2c: handle more error conditions on I2C bus
| * stm32_i2c: handle more error conditions on I2C busAndrew Tridgell2014-10-281-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/irqprioLorenz Meier2014-08-224-0/+8
|\ | | | | Add "#ifdef CONFIG_ARCH_IRQPRIO" where needed
| * Add "#ifdef CONFIG_ARCH_IRQPRIO" where neededAnton Babushkin2014-08-144-0/+8
|/
* STM32: Handle setting of USART CR1_M when 8 bits of data plus parityGregory Nutt2014-07-231-19/+27
|
* stm32_i2c: handle more unexpected ISR conditionsAndrew Tridgell2014-07-121-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 ISRAndrew Tridgell2014-07-121-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 releasedAndrew Tridgell2014-07-121-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 handlingAndrew Tridgell2014-07-121-2/+2
| | | | thanks to hxxnrx@gmail.com for noticing this
* Revert "Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale ↵Lorenz Meier2014-07-121-1/+10
| | | | | | data"" This reverts commit 7a7a07ed0ec492b3ab9f87467189886a66b2fc1a.
* Fixed FS command IO bufferGregory Nutt2014-07-061-1/+9
|
* Merge pull request #18 from Kynos/masterLorenz Meier2014-05-241-1/+2
|\ | | | | Fix for sed "permission denied" error in Windows build
| * Fix for sed "permission denied" error in Windows buildKynos2014-05-241-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 headerLorenz Meier2014-05-201-1/+1
|
* stm32: add sw workaround for broken stm32 hw RTS implementationKevin Hester2014-05-203-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 Meier2014-05-164-0/+12
| | | | #pragma GCC system_header in those
* include/cxx: Fix some bad idempotence defintions in header filesLorenz Meier2014-05-161-4/+4
|