Dmitriy Linikov
667ff07e6a
Merged in hardlulz/modem-3.0-nuttx/fix-smartfs-build (pull request #574 )
...
Fixed misprint in smartfs_utils.c
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-17 17:01:27 +00:00
Gregory Nutt
c456b87dcd
configs: CONFIG_MAX_TASKS muast be a power of 2
2018-01-17 10:54:39 -06:00
Gregory Nutt
43390c78ea
configs: Since the touch screen initialization is now called from one-time board-initialization logic, it no longer needs protection from re-entry.
2018-01-17 10:14:03 -06:00
Gregory Nutt
301bf1ee77
This commit eliminates the BOARDIOC_TSCTEST_SETUP command.
...
Squashed commit of the following:
configs: Each board now initializes the touchscreen controller as a normal part of its board bring-up. board_tsc_setup() is gone; the touchscreen controller is now treated like any other on-board device.
Remove all support for BOARDIOC_TSCTEST_SETUP
Move prototype for board_tsc_setup() from include/nuttx/board.h to individual board header files.
2018-01-17 09:33:28 -06:00
DL
7d1f133774
Fixed misprint in smartfs_utils.c
2018-01-17 15:57:06 +03:00
Masayuki Ishikawa
21eff99d72
Merged in masayuki2009/nuttx.nuttx/sched_note (pull request #573 )
...
SMP: Introduce spin_lock_wo_note() and spin_unlock_wo_note()
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-17 07:04:24 +00:00
Masayuki Ishikawa
ab3fa89023
SMP: Introduce spin_lock_wo_note() and spin_unlock_wo_note()
...
These APIs are used in sched_note.c to protect instumentation data.
The deffrence between these APIs to exsiting spin_lock() and spin_unlock()
is that they do not perform insturumentation to avoid recursive call
when SCHED_INSTRUMENTATION_SPINLOCKS=y.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-17 13:29:42 +09:00
Gregory Nutt
e276d4d16d
Remove the BOARDIOC_TSCTEST_TEARNDOWN boardctl() command. Remove all implementations of board_tsc_teardown() (the were all stubs anyway except for the simulation).
2018-01-16 18:03:21 -06:00
Fanda
53db5c80f3
Merged in fvacek/nuttx (pull request #572 )
...
Fixed nucleo-l432kc broken build when CONFIG_USERLED_LOWER defined
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-16 23:33:58 +00:00
Matt Thompson
7aa28ef9d2
Merge remote-tracking branch 'upstream/master'
2018-01-16 14:24:40 -08:00
Evgeniy Bobkov
7d36a81806
Fixes two bugs in multi-block SD-card operations on the STM32F7 platform. arch/arm/src/stm32f7: DBLOCKSIZE must be the size of SD-card block, not the total amount of transferred bytes. drivers/mmcsd: respect SDIO_CAPS_DMABEFOREWRITE on CMD25.
2018-01-16 12:41:02 -06:00
Gregory Nutt
c67de1f114
configs/lpcxpresso-lpc54628: Add pin definitions for USART, I2C, and SPI on the Arduino Uno connector.
2018-01-16 11:48:36 -06:00
Juha Niskanen
802f146781
configs/nucleo-* and configs/stm32l476vg-disco: Fix more stm32_userleds.c bogus logic
2018-01-16 07:20:41 -06:00
Jussi Kivilinna
bb7703dc8c
fs/smartfs: Fix inverted ifdef for CONFIG_SMARTFS_USE_SECTOR_BUFFER in smartfs_extendfile()
2018-01-16 07:17:35 -06:00
Gregory Nutt
a30ccce7ce
configs/nucleo-l432kc/src: Fix some bogus logic noted by Fanda.
2018-01-15 18:22:29 -06:00
Gregory Nutt
e238c8b090
sched/clock/clock_systimer.c: Change the way that the 64-bit time is sampled. Previously, we disabled interrupts before sampling the 64-bit timer since the uint64_t access is not atomic on most CPUs. However, disabling (local) interrupts does not work in the SMP case. In that case, the timer interrupt will be running on only one of the CPUs; disabling interrupts on a different CPU will provide no protection from timer rollover. To work around this, logic was added that samples 64-bit timer is sampled twice and if 32-bit rollover was detected between samples, then loops until there is no rollover.
2018-01-15 11:05:45 -06:00
Masayuki Ishikawa
4aeaf41dbd
Merged in masayuki2009/nuttx.nuttx/clock_systimer (pull request #570 )
...
clock_systimer: Replace critical section APIs with spinlock APIs. (64bit only)
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-15 15:09:35 +00:00
Masayuki Ishikawa
0ecef4dbcb
clock_systimer: Replace critical section APIs with spinlock APIs. (64bit only)
...
If SMP=n or SMP=y && SPINLOCK_IRQ=n, this works in the same way as before.
If SMP=y && SPINLOCK_IRQ=y, performance will be improved.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-15 15:08:11 +09:00
Fabio D'Urso
57b6dec74d
If we want to open read-only in losetup.c, flags should be O_RDONLY not O_RDWR
2018-01-14 17:10:10 -06:00
Mateusz Szafoni
fd5d811b0a
Merged in raiden00/nuttx (pull request #569 )
...
Master
* stm32f33xxx_hrtim.h: fix some definitions
* stm32_hrtim: fix some bugs
stm32_hrtim: fix deadtime configuration
stm32_hrtim: add interface to change outputs SET/RST configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-14 19:00:18 +00:00
Gregory Nutt
8f94ce46f9
arch/arm/src/lpc54xx: The basic SPI driver is code complete but still untested. This driver is 'basic' in that in only supports polled mode operations.
2018-01-14 12:09:26 -06:00
Gregory Nutt
134bac3810
arch/arm/src/lpc54xx: Add configuration logic to the empty SPI driver. Still missing all data tranfer logic.
2018-01-13 15:38:55 -06:00
Gregory Nutt
fdf4e40b6a
configs/lpcxpresso-lpc54628: Correct SRAM base address in all configurations.
2018-01-13 08:34:58 -06:00
Gregory Nutt
de8f3ebedb
Documentation: Update NSH documention to discuss the irqinfo command.
2018-01-12 18:26:46 -06:00
Gregory Nutt
0080225473
sched/irq: Add a configuration option to show interrupt information via a procfs file.
2018-01-12 18:26:46 -06:00
Gregory Nutt
335d1e0030
fs/procfs: Fix an error in a common function that manages read data.
2018-01-12 18:26:45 -06:00
Gregory Nutt
9f80e4ccf1
sched/: Various fixes for typos, improved parameter verification.
2018-01-12 18:26:45 -06:00
Matt Thompson
be64d8b7b7
Merge remote-tracking branch 'upstream/master'
2018-01-12 10:48:29 -08:00
Matt Thompson
48355b32dc
Merged in extent3d/nuttx (pull request #568 )
...
SAMD External Interrupt Controller (EIC) support
* SAMD External Interrupt Controller (EIC) support
* removed comment
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-12 13:11:58 +00:00
Matt Thompson
7ded6d5fd7
removed comment
2018-01-11 21:12:40 -08:00
Matt Thompson
4758aa5bc4
SAMD External Interrupt Controller (EIC) support
2018-01-11 21:00:33 -08:00
Matt Thompson
f7bfa38b94
Merged in extent3d/nuttx (pull request #567 )
...
SAMDL fix g_spi2ops and g_spi2dev using incorrect values
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-12 00:13:28 +00:00
Matt Thompson
f5cac7c45a
SAMDL fix g_spi2ops and g_spi2dev using incorrect values
2018-01-11 13:00:08 -08:00
Matt Thompson
537c9a27d1
arch/arm/src/samdl: In sam_spibus_initialize(), the pinmux configuration was smashing the previous CTRLA register configuration. There are also some typos in samd_spi.h
2018-01-11 07:34:56 -06:00
Gregory Nutt
0eca2c6fef
Update README files
2018-01-11 07:28:12 -06:00
Gregory Nutt
4fc2980571
Documentation/: Update the NSH user manual to include the echo -n option.
2018-01-10 07:30:37 -06:00
Masayuki Ishikawa
70c7e04686
Merged in masayuki2009/nuttx.nuttx/lc823450_dvfs (pull request #566 )
...
lc823450 dvfs
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-10 12:50:22 +00:00
Masayuki Ishikawa
48b7f9b807
configs/lc823450-xgevk: Update defconfigs
...
Apply the latest Kconfig to all configurations.
Enable DVFS in audio and rndis. Add telnet character mode to rndis.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:16:03 +09:00
Masayuki Ishikawa
5029aa7e8c
configs/lc823450-xgevk: Enable DVFS in lc823450_bringup.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:16:00 +09:00
Masayuki Ishikawa
ea19abd291
configs/lc823450-xgevk: Update README.txt
...
Add notes on DVFS (Dynamic Voltage and Frequencey Scaling)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:15:27 +09:00
Masayuki Ishikawa
7460773d7b
arch/arm/src/lc823450: Introduce DVFS
...
This version only supports manual mode and Vdd1 is fixed to 1.2V.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:13:00 +09:00
Gregory Nutt
eef1276565
configs/stm32f103-minimum: Remove nonsensical #error.
2018-01-09 11:17:01 -06:00
Gregory Nutt
c367a223c5
Update README
2018-01-09 07:20:39 -06:00
Masayuki Ishikawa
9c2144a140
Merged in masayuki2009/nuttx.nuttx/telnetd_character_mode (pull request #565 )
...
drivers/net: Add support for telnet character mode
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-09 13:13:51 +00:00
Masayuki Ishikawa
324008c1e5
drivers/net: Add support for telnet character mode
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-09 20:19:26 +09:00
Gregory Nutt
7d4451ee86
Squashed commit of the following:
...
configs/flipnclick-pic32mz: Switch the serial console to UART4. Clean up some minor issues the LED options.
configs/flipnclick-pic32mz: Add support for two on-board buttons: T1 and T2.
configs/flipnclick-pic32mz: Adds basic board support for the Mikroe Flip&Click PIC32MZ board. Initial commit is just the configs/pic32mz-starterkit with some name chanages.
2018-01-08 14:21:49 -06:00
Gregory Nutt
6fe1f5a96c
Squashed commit of the following:
...
arch/mips/src/pic32mz: Commits the basic architecture port for the PIC32MZEF.
arch/mips/src/pic32mz: Begin adding PIC32MZEF files. Initial commit are simply PIC32MZEC files with name changes.
arch/mips/include/pic32mz: Add support for the PIC32MZEF family.
2018-01-08 10:01:23 -06:00
Gregory Nutt
a0aec8ccde
configs/stm32f103-minimum: Add file that was included in the last patch.
2018-01-07 12:17:15 -06:00
Gregory Nutt
4227d11b6c
configs/flipnclick-sam3x: Update README and some comments.
2018-01-07 11:07:39 -06:00
Gregory Nutt
bc320c7878
configs/arduino-due and flipnclick-sam3x: Enable PROCFS in nsh configurations.
2018-01-06 17:54:48 -06:00