- Dec 09, 2017
-
-
Gregory Nutt authored
/arch/arm/src/lpc54xx: Add some GPIO pin interrupt header files (still missing one). Also add a file that was missing in previous commit.
-
Gregory Nutt authored
-
- Dec 08, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Alan Carvalho de Assis authored
-
Gregory Nutt authored
configs/lpcxpresso-lpc54628: Add support for on-board LEDs. arch/arm/src/lpc54xx: Add support for GPIO/Peripheral pin configuration. arch/arm/src/lpc54xx/chip: Add IOCON register definition file. arch/arm/src/lpc54xx: Add GPIO and (incomplete) PINT register definition header files.
-
Masayuki Ishikawa authored
lc823450 smp improvement * arch/arm/src/common: Apply irq_spin APIs to modifyregXX Replace enter_critical_section with spin_lock_irqsave. Replace leave_critical_section with spin_unlock_irqrestore. Please see 6150299f as well. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Do not use modifyreg32() to enable Mutex. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Modify IRQ control for i2s Interrupt will be handled on CPU0 with this change. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Apply irq_spin APIs to dma/syscontrol/usbdev. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * configs/lc823450-xgevk: Assign CPU1 to lpwork This change will improve load balancing for networking with RNDIS. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * drivers/audio/wm8776.c: Improve stability in SMP mode Apply irq_spin APIs to improbe performance. Repeat to process a message to avoid deadlock. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * configs/lc823450-xgevk: Enable SPINLOCK_IRQ and NXPLAYER in rndis Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
- Dec 07, 2017
-
-
Anthony Merlino authored
configs/photon: Adds BOARD_TIMn_FREQUENCY macros Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
Anthony Merlino authored
sixlowpan: Completes configuration options for specifying preloaded address contexts for compression Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
Masayuki Ishikawa authored
SMP: Introduce spin_lock_irqsave() and spin_unlock_irqrestore() These APIs are simplified version of enter_critical_section() and leave_critical_section() to protect data (e.g. registers) in SMP mode. By using these APIs inside drivers, performace will be improved. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
Gregory Nutt authored
This adds basic architectural support for the LPC546xx family and includes support for the LPCXpresso-LPC54628 board. The basic NSH port is almost complete... still lacking GPIO support and LED support. There are still no significant drivers available. Squashed commit of the following: arch/arm/src/lpc54xx: Finish off some missing logic. Complete now execpt for GPIO and LED support. arch/arm/src/lpc54xx: Add lpc54_clrpend.c arch/arm/src/lpc54xx: Serial driver is complete and compiles. arch/arm/src/lpc54xx: Add beginning of a serial driver (still missing some logic) arch/arm/src/lpc54xx: Fleshes out low level USART intialization. arch/arm/src/lpc546xx/Kconfig: Add hooks to integrate with common seril upper half. arch/arm/src/lpc54xx: Beginning of USART console support. arch/arm/src/lpc54xx: Completes very basic clock configuration. arch/arm/src/lpc54xx: Add clocking logic (still not complete) arch/arm/src/lpc54xx: Beginning of PLL configuration logic. arch/arm/src/lpc54xx: Fix a few things from first compile attempt. Compilation cannot work until I at least finish the clock configuration logic. arch/arm/src/lpc54xx: Addes some SysTick logic. arch/arm/src/lpc54xx: Completes basic startup logic (sans clock configuration) and interrupt configuration. arch/arm/src/lpc54xx: Add generic ARMv7-M start-up logic (needs LPC54628 customizations); add emtpy file that will eventually hold the clock configuration logic. arch/arm/src/lpc54xx: Add (incomplete) SYSCON register definition header file. arch/arm/src/lpc54xx: Add FLEXCOMM header file. arch/arm/src/lpc54xx: Bring in tickless clock logic from LPC43; configs/lpcxpresso-lpc54628: mount procfs if enabled. arch/arm/src/lpc54xx: Add RIT clock definitions; add SysTick initialization (not finished) LPC54xx and LPCXpresso-LPC54628: add more boilerplate files and stubbed out files. arch/arm/src/lpc54xx: Add (incomplete) USART header file. Add another condition to a Kconfig; refresh a defconfig. arch/arm/src/lpc54xx/chip: Add LPC54628 memory map header files. configs/lpcxpresso-lpc54628: Add basic build files for the LPCXpresso-LPC54628 arch/: Basic build directory structure for the LPC54628
-
Gregory Nutt authored
-
Jussi Kivilinna authored
From: Jussi Kivilinna <jussi.kivilinna@haltian.com> Date: Thu, 7 Dec 2017 13:00:14 +0200 Subject: [PATCH] drivers/pipes: poll: fix off-by-one error in calculation of bytes in the buffer Buffer calculation in pipe poll setup is off-by-one when read indexis larger than write index. This causes poll() not getting POLLINwhen buffer has one byte as calculation gives zero bytes in buffer. Reproducible with: { char buf[8] = { 0, }; int fds[2]; struct pollfd in_pfd; pipe2(fds, 8); write(fds[1], buf, 7); read(fds[0], buf, 7); write(fds[1], buf, 1); in_pfd.fd = fds[0]; in_pfd.events = POLLIN; ret = poll(&in_pfd, 1, -1); // pipe bug => stuck waiting assert(ret == 1); }
-
- Dec 04, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
- Dec 03, 2017
-
-
Gregory Nutt authored
-
- Dec 02, 2017
-
-
Gregory Nutt authored
-
- Nov 30, 2017
-
-
Alan Carvalho de Assis authored
arch/arm/src/xmc4/Kconfig: Define user friend I2C alias to follow other arch names arch/arm/src/xmc4/Kconfig: Define user friend LIN alias to follow other arch names arch/arm/src/xmc4/Kconfig: Define user friend I2S alias to follow other arch names
-
Juha Niskanen authored
sched/task/task_exithook.c: Clear atexit() function pointer before calling it. On most archs, up_assert() calls exit() so without this change, if atexit() function triggers an assertion we are in endless loop.
-
- Nov 29, 2017
-
-
Gregory Nutt authored
-
Ekaterina Kovylova authored
-
Alan Carvalho de Assis authored
-
Gregory Nutt authored
Framebuffer Driver: Small modification convention for multi-planar displays (of which there are none).
-
Anthony Merlino authored
net/devif: Do not add link layer header size to d_len inside devif_forward(). Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
- Nov 28, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Alan Carvalho de Assis authored
-
Masayuki Ishikawa authored
configs/lc823450-xgevk: Add rndis configuration Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
- Nov 27, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Masayuki Ishikawa authored
lc823450 smp audio * arch/arm/src/lc823450: Remove a workaround in up_cpu_paused() Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Introduce g_gpio_lock to improve write performance in SMP mode. NOTE: This is a tentative solution and should be replaced with more generic one. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * arch/arm/src/lc823450: Add a workaround in up_txready() to avoid data corruption. Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * configs/lc823450-xgevk: Enable CONFIG_SMP for audio Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * configs/lc823450-xgevk: Update README.txt regarding SMP audio Signed-off-by:
Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
- Nov 26, 2017
-
-
Gregory Nutt authored
configs: Remove some old, redundant, obsolete boilerplate regarding toolchains that has been cloned into most of the board README files.
-
Gregory Nutt authored
-
Gregory Nutt authored
arch/arm/src/stm32: Fix compile error when trace is enabled. I2CEVENT_ERROR was used but never defined.
-
Gregory Nutt authored
configs/stm3240g-eval: Add support for pdcurses and the pdcurses demo programs in the 'fb' configuration.
-