Gregory Nutt
eef12f1f91
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.
2017-12-20 17:27:52 -06:00
Gregory Nutt
8938550072
arch/arm/src/lpc54xx: In SDMMC driver, don't do DMA if the entire transfer will fit in the FIFO.
2017-12-20 14:38:09 -06:00
Gregory Nutt
96e6835793
arch/arm/sr/lpc54xx: Add support for power pin to SDMMC driver. Some fixes from initial testing.
2017-12-20 13:42:57 -06:00
Gregory Nutt
31db67cad7
arch/arm/src/lpc54xx: SDMMC pin configurations should have SLEW on and FILTER off.
2017-12-20 11:47:30 -06:00
Gregory Nutt
c867d42018
arch/arm/src/lpc54xx: Add support for card detect and write protect to SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC.
2017-12-20 10:52:05 -06:00
Masayuki Ishikawa
c2e50351e4
Merged in masayuki2009/nuttx.nuttx/lc823450_http_streaming (pull request #560 )
...
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>
2017-12-20 13:33:06 +00:00
Gregory Nutt
793c8b785a
arch/arm/src/lpc54: Missed a change in the last commit
2017-12-19 15:11:22 -06:00
Gregory Nutt
321a7a64af
arch/arm/src/lpc54xx and configs/lpcxpresso-lpc54628: Correct some SD/MMC clock divider logic.
2017-12-19 14:05:36 -06:00
Gregory Nutt
93b28017ab
arch/arm/src/lpc54xx: Make the SPI driver selections EXPERIMENTAL since the SPI peripherals are not fully implemented.
2017-12-19 13:09:15 -06:00
Gregory Nutt
a8933f96bd
configs/lpcxpresso-lpc54628: Fix SD/MMC clock divisor.
2017-12-19 12:43:44 -06:00
Gregory Nutt
ba1301a43a
arch/arm/src/lpc54xx: Make the SDMCC driver selection EXPERIMENTAL since it has not yet been verified.
2017-12-19 12:23:37 -06:00
Gregory Nutt
5a66684293
Squashed commit of the following:
...
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
2017-12-19 12:09:22 -06:00
Gregory Nutt
c17651e26e
arch/arm/include/lpc54xx: Add SD/MMC header file.
2017-12-19 09:12:42 -06:00
Gregory Nutt
a0004173d4
arch/arm/src/a1x: Fix a compile error introduce in recent commit.
2017-12-18 09:00:41 -06:00
Gregory Nutt
9dd5196741
arch/arm/src/a1x, kl, lpc11xx, lpc31xx, and nuc1xx: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 18:12:19 -06:00
Gregory Nutt
b7391ec599
arch/arm/src/sama5 and samdl: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 17:50:31 -06:00
Gregory Nutt
91f48701ae
arch/arm/src/sam34: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 17:43:20 -06:00
Gregory Nutt
7ca9e8c376
Eliminate another warning.
2017-12-17 16:51:20 -06:00
Gregory Nutt
0e6e05bf11
arch/arm/src/kinetis: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 16:26:03 -06:00
Gregory Nutt
87252297d6
arch/arm/src/: Fix a error in last commit that was cloned in three places.
2017-12-17 14:38:20 -06:00
Gregory Nutt
b8ea9e9c64
arch/arm/src/lpc17xx, lpc43xx, and stm32: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 14:29:55 -06:00
Gregory Nutt
664484bf5b
configs/indium/include/board.h: Remove extra endif
2017-12-16 19:29:58 -06:00
Gregory Nutt
3dfe0f309c
arch/arm/src/lpc54xx: Add WWDT header file.
2017-12-16 17:50:59 -06:00
Gregory Nutt
de4fc5864f
arch/arm/src/lpc54xx: Fix some GPIO interrupt configuration errors. Add logic to acknowledge rising/falling edge events. config/lpcxpresso-lpc545628: Add an intermediate interrupt handler to support acknowledgement of rising and falling edge interrupts.
2017-12-16 15:34:41 -06:00
Gregory Nutt
5a12079e53
arch/arm/src/lpc54xx: Implement GPIO interrupt support. configs/lpcxpress-lpc54628: Add support for the USER button. Enable the apps/examples/button test in the NSH configuration.
2017-12-16 13:00:06 -06:00
Bob Feretich
83b382e906
arch/arm/src/stm32f7: Completes support for the STM32F72x/73x family.
2017-12-16 08:01:57 -06:00
Gregory Nutt
4c72f57273
arch/arm/src/lpc54xx: I2C now appears to be functional. Needs more testing.
2017-12-15 14:58:37 -06:00
Gregory Nutt
c8a8eb028f
arch/arm/src/lpc54xx: Complete coding of the I2C driver. It is not yet functional and has not yet been seriously tested. config/lpcxpresso-lpc54628: Add support for I2C2 and for the I2C tool to the nsh configuration.
2017-12-15 11:38:55 -06:00
Gregory Nutt
9638f3f065
fs/fat: CONFIG_FAT_MAXFNAME may not exceed NAME_MAX (CONFIG_NAME_MAX)
2017-12-15 06:19:14 -06:00
Gregory Nutt
eed14e5eb1
arch/arm/src/lpc43xx: Add I2C stop logic.
2017-12-14 18:06:40 -06:00
Gregory Nutt
c50b4f5504
arch/arm/src/lpc43xx: Add helper macros to simplify peripheral configuration for new drivers; rename some other helper macros to make their operation clearer. Begin fleshing out the I2C driver.
2017-12-14 17:29:15 -06:00
Gregory Nutt
c53d88c75c
Squashed commit of the following:
...
arch/arm/src/lpc54xx: LCD.. Fix some miconceptions about how the video address lines are used.
arch/arm/src/lpc54xx: Fix some LCD BPP and BRG vs RGB settings.
2017-12-14 10:45:53 -06:00
Gintaras Drukteinis
1fbf788555
arch/arm/src/lpc43xx: Adapt LPC176x RTC driver for the LPC43xx.
2017-12-14 07:03:46 -06:00
Gregory Nutt
43a88c1428
arch/arm/src/lpc54xx: Fix some LCD clocking. This eliminates the hang problem. That is now recognizable albeit corrupted data on the display.
2017-12-13 19:07:10 -06:00
Gregory Nutt
d93a2d4f39
arch/arm/src/lpc54xx: Add reset logic. Some changes while debugging LDC. Does not yet work (hangs).
2017-12-13 14:36:58 -06:00
Gregory Nutt
f215660296
configs/lpcxpresso-lpc54628: Add the fb configuration testing the LCD. arch/arm/src/lpc54xx: Various fixes needed to get the fb configuration to build errorfree. The configuration is not functional as of this writing.
2017-12-13 09:18:16 -06:00
Gregory Nutt
48879933a9
arch/arm/src/lpc54xx: Correct some confusion about how the LCD data pins are configured.
2017-12-12 14:10:40 -06:00
Gregory Nutt
b33d7eb59f
arch/arm/src/lpc54xx: Add the ported LPC1788 LCD driver to use the LPC54xx pin definitions and SYSCON.
2017-12-12 12:53:33 -06:00
Gregory Nutt
88834b6e50
arch/arm/src/lpc54xx: Add configuartion support and logic it all none, some, or all of the external RAM to the system heap.
2017-12-12 11:33:18 -06:00
Gregory Nutt
63415f9fb1
arch/arm/src/lpc54xx: Clone the LPC1788 LCD driver. The LPC54628 LCD interface is identical. The initial commit is a brute force clone. It still needs review to make sure the LDC is appropriately enabled in the SYSCON and that clocking is provided. Also, extend the SPI 'skeleton' file so that has a place to support for SPI DMA and the SPI exchange method.
2017-12-12 10:13:21 -06:00
Gregory Nutt
0cd87be495
arch/arm/src/lpc54xx: Correct the EMC divider register definition and one typo in the SDRAM setup. SDRAM is not fully functional on this board!
2017-12-12 08:24:57 -06:00
Gregory Nutt
d51554c101
arch/arm/src/lpc54xx: Costmetic.
2017-12-11 15:04:51 -06:00
Gregory Nutt
d74d9be429
arch/arm/src/lpc54xx: Add fragmenenty skeleon of SPI driver just as a starting point.
2017-12-11 14:50:54 -06:00
Gregory Nutt
11ca2c3847
arch/arm/src/lpc54xx: Rename I2C and SPI configurations to make room in the namespace for future slave support. Add fragmenenty skeleon of I2C driver just as a starting point.
2017-12-11 13:28:55 -06:00
Gregory Nutt
5854a1cd37
arch/arm/src/lpc54xx/chip: Add framework that will eventually support I2C and SPI.
2017-12-11 10:40:45 -06:00
Gregory Nutt
0508048291
configs/lpcxpresso-lp54629: Add logic to configure EMC pins. arch/arm/src/lpc54xx: Correct GPIO read/write logic. Update pin configuration for EMC pins. All should have the input file offset and fast slew rate.
2017-12-11 09:07:51 -06:00
Gregory Nutt
df3404da09
arch/arm/src/lpc54xx: Various fixes for initial build of SDRAM support. Still unverified (but at least appears to be nonfatal).
2017-12-10 17:20:16 -06:00
Gregory Nutt
1f6dfc6351
arch/arm/src/lpc54xx: Bring in NXP support for external SRAM.
2017-12-10 16:52:15 -06:00
Gregory Nutt
dab97de4ea
arch/arm/src/lpc54xx: Bring in NXP support for external SDRAM.
2017-12-10 16:07:30 -06:00
Gregory Nutt
77728f49f1
arch/arm/src/lpc54xx: Add EMC register definitions. Add basic build support for EMC and SDRAM.
2017-12-10 12:40:01 -06:00