- Dec 23, 2017
-
-
Gregory Nutt authored
lpc43/54 SDMMC: Wading through bits trying to make sense out of what is a event want interrupt which deal mostly with commands+responses and what is a data transfer event. DTO is the only wildcard. I think this clear now but DMA transfers will fail with CRC error. lpc43/54 SDMMC: DTO is a wait event, not a transfer event. lpc43/54 SDMMC: Significant simplication to previous design. More debug output. lpc43/54 SDMMC: Don't allow duplicate events in waitmask and xfrmask. lpc43/54 SDMMC: Not all interrupts were being disabled at the end of a transfer. lpc43/54 SDMMC: Defer enabling DMA transfer interrupts until after command has been sent.
-
- Dec 22, 2017
-
-
Gregory Nutt authored
lpc43/lpc54 SDMDC: Don't enable internal DMA in the control register if not doing internal DMA. Clear pending DMA-related interrupts before enabling them.
-
Gregory Nutt authored
This reverts commit 4d6bf464.
-
Gregory Nutt authored
This reverts commit f0d36ebf.
-
Alan Carvalho de Assis authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Alan Carvalho de Assis authored
-
Gregory Nutt authored
Squashed commit of the following: arch/arm/src/lpc43xx: SDMMC driver now builds for the LPC43 (provided that the proper definitions appear in the board.h file). arch/arm/src/lpc43xx: Update basic changes to the ported lpc54xx driver for lpc43xx clocking and GPIOs. arch/arm/src/lpc43xx: Brings in the LPC54xx SD/MMC driver with absolutely no changes other than changing all occurences of 54 to 43. arm/arm/src/lpc43xx: Add build support for the lpc54 SDMMC driver. lpc54 SDMMC: Check for successful data transfer last. Checking first means that we miss errors.
-
Gregory Nutt authored
-
Michael Jung authored
arch/arm/src/arm/up_cache.S: Fix cp15_invalidate_dcache. In cases where more than one dcache line was to be invalidated, a missing branch label would result in a false branch target into cp15_flush_idcache. Also the .size macro was fixed for both cp15_invalidate_dcache.
-
- Dec 21, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.
-
Gregory Nutt authored
Squashed commit of the following: arch/arm/src/lpc54xx: SDMMC fixes.. DMA should not be enabled on non-DMA transfers, the burst setting in FIFOTH is supposed to match the burst setting in the BMOD reseters, Add DMA error interrupt support. arch/arm/src/lpc54xx: Mostly costmetic changes to the SDMMC driver.
-
Masayuki Ishikawa authored
SMP fixes Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Gintaras Drukteinis authored
compatible for all LPC43xx MCUs.
-
Masayuki Ishikawa authored
In ARM document regarding memory barrires, SP_DMB() must be issued before changing a spinlock state to SP_UNLOCKED. However, we found that SP_DSB() is also needed to ensure that spin_unlock() works correctly for network streaming aging test. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
-
Masatoshi.Tateishi authored
In lc823450, ldrex and strex are not supported. So we implemented up_testset() with H/W Mutex. However, there was a bug in memory access order. This change ensures correct memory access order in up_testset() for lc823450. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
-
Gregory Nutt authored
arch/arm/src/lkpc54xx: In SDMMC driver, fix an error which was clobbering the interrupt mask register (xfrmask). Also, add a kludge for the missing DTO interrupt.
-
- Dec 20, 2017
-
-
Gregory Nutt authored
arch/arm/src/lpc54xx: In SDMMC driver, add logic to transfer data when TXDR or RXDR interrupts occur. Also, add logic to set the RX watermark to 2 when receiving short, non-DMA data transfers.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
arch/arm/src/lpc54xx: Add support for card detect and write protect to SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC.
-
ussi Kivilinna authored
-
Alan Carvalho de Assis authored
This commit adds support for stm32f072b-disco board. This is the board. I added the LEDs of this board and tested the compilation, more tests will be needed.
-
Alan Carvalho de Assis authored
Rename the configs/stm32f0discovery board directory to configs/stm32f051-discovery. There are others stm32f0discovery boards with different MCUs and different peripherals on the board.
-
Anthony Merlino authored
syslog: Fixes LOG_UPTO macro to include specified log level Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Masayuki Ishikawa authored
lc823450 http streaming * arch/arm/src/lc823450: Use spinlock APIs in lc823450_gpio.c Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Add a warning message in up_ack_irq() In SMP mode, H/W interrupts should be handled on CPU0 to avoid deadlocks. Other changes: Fix a potential race condition in up_enable_irq() Use spinlock APIs instead of critical section APIs. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Enable HRT_TIMER in lc823450_timerisr.c Other changes: Fix style violations and call up_enable_irq() to assign CPU0 for IRQ handling. Use spinlock APIs instead of critical section APIs. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Fix race conditions in dma/usbdev. In SMP mode, critical data must be protected explicitly. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * configs/lc823450-xgevk: Update README.txt Add notes on .gdbinit and networking. Update comments on SMP. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * configs/lc823450-xgevk: Update defconfigs Enable HRT_TIMER, LC823450_MTM0_TICK, SPINLOCK_IRQ Enable NET_TCP_RWND_CONTROL, NXPLAYER_HTTP_STREAMING_SUPPORT (rndis only) Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
- Dec 19, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
arch/arm/src/lpc54xx: Make the SPI driver selections EXPERIMENTAL since the SPI peripherals are not fully implemented.
-
Gregory Nutt authored
-
Gregory Nutt authored
arch/arm/src/lpc54xx: Make the SDMCC driver selection EXPERIMENTAL since it has not yet been verified.
-
Gregory Nutt authored
arch/arm/src/lpc54xx: Adds the LPC54-specific clock configuration logic to the leveraged SD/MMC driver. arch/arm/src/lpc54xx: Leveraged SD/MMC driver builds without error but is still missing clock configuration logic. arch/arm/src/lpc54xx: Bring in LPC43xx SD/MMC driver from https://github.com/Smoothieware/smoothie-nuttx/tree/master/nuttx/arch/arm/src/lpc43xx
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-