Gregory Nutt
070d40260b
profcs: At file to should user space heap. This replaces the NSH free command.
2017-11-13 12:51:33 -06:00
Anthony Merlino
ea795c8cca
SAMA5/SAMv7: It is necessary to disable pre-emption and interrupts around a loop that copies TX data into the hardware in order to avoid a TX data underrun condition.
2017-11-13 10:38:23 -06:00
Gregory Nutt
7b676c8a02
Update README.txt
2017-11-13 09:26:39 -06:00
Alan Carvalho de Assis
7d407fcbd6
Nucleo-F746ZG: Use the serial console over /dev/ttyACM0 by default. The Nucleo-F746ZG doesn't come with Arduio RS-232 shield, then it is better to use the serial over the /dev/ttyACM0 that is created automatically when the board is plugged in the computer.
2017-11-13 09:14:37 -06:00
Gregory Nutt
f3b37e5da3
fs/procfs/fs_procfsprogrem: Add /proc/progmem. This is an alternative way to get the information that was previoulsy available in apps/system/free. apps/system/free was removed beause it made illegal calls into the OS violating the portable interface. This new procfs entry provides the same information with no such violation.
2017-11-13 09:08:39 -06:00
Gregory Nutt
bfcc8fcbb6
configs/: apps/system/free has been deleted because it violates the portable POSIX OS interface. Remove CONFIG_SYSTEM_FREE=y from all defconfig files.
2017-11-13 08:03:45 -06:00
Masayuki Ishikawa
14e2b6dc5b
Merged in masayuki2009/nuttx.nuttx/stm32f4discovery_rndis (pull request #533 )
...
RNDIS support on STM32F4Discovery
* stm32f4discovery: Add stm32_netinit.c to avoid a compilation error
* stm32f4discovery: Add rndis initialization in stm32_bringup.c
NOTE: MAC address for the host side starts 0xaa. This assignment
scheme should be fixed later.
* stm32f4discovery: Add rndis configuration
NOTE: STM32F4Discovery + DM-STF4BB
* drivers/usbdev/rndis.c: Fix some issues in rndis.c
Introduce rndis_transmit() and change rndis_rxdispatch() to avoid
packet corruption. Introduce max packet size for dual speed which
is mainly used for high speed mode. Fix adjusting MTU warning
on Linux host. Fix data corruption if a packet size excceds MTU.
NOTE: Max packet size is not configured dynamically. This should
be fixed in the future version.
* stm32f4discovery: Modify #ifdef condition for rndis in stm32_bringup()
* drivers/usbdev/rndis.c: Change HPWORK to ETHWORK
* drivers/usbdev/rndis.c: Merge the commit 07b98ccbb5
Previous commit b09365784a was based on old rndis.c thus resulted
in reverting the commit 07b98ccbb5
. This change merges the commit.
NOTE: In the commit 07b98ccbb5
, max packet size of bulkout was
assumed to be 64. In this commit, priv->epbulkout->maxpacket is
used instead.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-13 08:55:41 +00:00
Gregory Nutt
b238ede68f
configs/stm32l476-mdk: Repartition bring-up logic so that it is more like other board directories. Add support for USERLED driver. Add bring-up initialization logic for the USERLED driver.
2017-11-12 13:24:13 -06:00
Gregory Nutt
c6f1f5f115
include/netinet/tcp.h: Add trivial standard tcp.h header file.
2017-11-12 13:22:14 -06:00
Gregory Nutt
d594d1f56e
configs/stm32l476-mdk: Add support for the on-board LEDs.
2017-11-12 12:56:38 -06:00
Gregory Nutt
8b64f8ae49
Update README.txt
2017-11-12 11:41:20 -06:00
Gregory Nutt
692ebdf9d4
arch/arm/src/stm32/stm32f33xx_adc.c: Eliminate warnings about cj_channels and j_chanlist being set but not used.
2017-11-12 10:17:10 -06:00
Gregory Nutt
425f769f0f
TODO: Remove a couple of build system issues that I think have been fixed.
2017-11-12 09:12:50 -06:00
Gregory Nutt
f81ef55834
Trivial re-ordering of socket option bit numbers to match order presented on OpenGroup.org.
2017-11-12 08:17:46 -06:00
Gregory Nutt
b0e30afd96
include/netinet/tcp.h: Add trivial standard tcp.h header file.
2017-11-12 08:04:54 -06:00
Gregory Nutt
b9fa3e167e
Changes from review of clock_nanosleep(): Misplaced right bracket, but return value in one failure case.
2017-11-11 18:01:28 -06:00
Gregory Nutt
35ee844590
sched/signal/sig_nanosleep.c and libc/time/lib_nanosleep.c: Implement clock_nanosleep(). nanosleep() is now reduced to a libc wrapper around clock_nanosleep().
2017-11-11 17:44:59 -06:00
Gregory Nutt
2ae1d62e67
Update TODO list
2017-11-11 16:32:04 -06:00
Gregory Nutt
57143ae894
Update TODO list
2017-11-11 15:43:16 -06:00
Gregory Nutt
bf7839d0f0
libc/signal: Add support for sigwait().
2017-11-11 12:37:47 -06:00
Gregory Nutt
5004e8b3ea
libc: Add support for readv() and write(). Also includes some cosmetic changes to some unrelated files.
2017-11-11 11:44:14 -06:00
Gregory Nutt
f41d968455
tools/configure.c: Trivial design improvement to last commit.
2017-11-10 09:39:06 -06:00
Gregory Nutt
f748d01a53
Update README
2017-11-10 09:01:39 -06:00
Juha Niskanen
cc7af2b0d0
procfs: Fix uptime being close to maximum 32-bit value in certain config
2017-11-10 09:01:39 -06:00
Juha Niskanen
25c1f4407e
drivers: fix few compiler warnings about nxsem_post
2017-11-10 09:01:39 -06:00
Jussi Kivilinna
585b04014f
Merged in jussi_kivilinna/nuttx/stm32l4_serial_pm (pull request #534 )
...
STM32L4 serial PM interface improvements
* stm32l4_serial: pm: check rx/tx buffers for pending data in pmprepare
* stm32l4: remove adhoc PM interfaces and move serial suspend functionality behind CONFIG_PM
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-10 13:05:00 +00:00
Gregory Nutt
9fefa93361
tools/configure.c: Update functionality to match last change to tools/configure.sh
2017-11-09 17:36:46 -06:00
jeditekunum
7b3fc03f65
tools/configure.sh: This commit adds a -m option for macOS. For anyone not aware, Apple renamed OSX to macOS recently; thus the 'm' instead of 'o'. This does not change the other uses of *_OSX to macOS.
2017-11-09 17:11:59 -06:00
Gregory Nutt
efd798661a
Update README again
2017-11-09 16:42:42 -06:00
Gregory Nutt
baf120043e
Update README
2017-11-09 16:32:20 -06:00
Gregory Nutt
8008875f35
Cosmetic spacing and used UNUSEd macro
2017-11-09 12:25:13 -06:00
Masayuki Ishikawa
da78c18397
Merged in masayuki2009/nuttx.nuttx/lc823450_autoled (pull request #532 )
...
lc823450 auto LED support
* arch/arm/src/lc823450: Add auto LED for CPU activity
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add auto LED support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-09 11:36:33 +00:00
Jussi Kivilinna
509d729825
drivers/power/bq2429x.c: Add BATIO_OPRTN_SYSON for enabling BATFET after SYSOFF
2017-11-08 13:08:54 -06:00
Jussi Kivilinna
c8797dbabc
STM32 L4: Build stm32l4_idle.c only if CONFIG_ARCH_IDLE_CUSTOM is not enabled
2017-11-08 13:07:15 -06:00
Jussi Kivilinna
4ca07231ae
stm32l4_rcc: restore backup-registers after backup-domain reset.
2017-11-08 13:05:56 -06:00
Gregory Nutt
d741185c91
net/icmpv6/icmpv6_radvertise.c: set the prefix length to preconfigured value
2017-11-08 07:50:36 -06:00
Sakari Kapanen
795e884aea
net/icmpv6/icmpv6_radvertise.c: Add option to manually specify router prefix
2017-11-08 07:47:41 -06:00
Sakari Kapanen
07b98ccbb5
drivers/usbdev/rndis.c: fix packet receiving logic. The logic didn't take single-byte termination frames in account.
2017-11-08 07:33:09 -06:00
Gregory Nutt
349b513978
Very trivial changes from review of last PR
2017-11-08 06:34:23 -06:00
Masayuki Ishikawa
51b19d5f38
Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #531 )
...
lc823450-xgevk audio support
* arch/arm/src/lc823450: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* libc/audio: Fix compilation error in lib_buffer.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/audio: Add WM8774 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* arch/arm/src/lc823450: Add I2S support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add WM8774 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-08 12:25:13 +00:00
Alan Carvalho de Assis
7c5f329294
drivers/lcd/max7219.c: Add support for MAX7219 vertically organized display.
2017-11-07 13:20:03 -06:00
Gregory Nutt
b076ff36cb
Update NxWidgets version number
2017-11-07 13:20:03 -06:00
Masayuki Ishikawa
56eac96d2f
Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #530 )
...
Add IPL2 support for LC823450
* arch/arm/src/lc823450: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-07 12:34:23 +00:00
Gregory Nutt
2a331b7f23
Fix some includes missed in the last commit.
2017-11-06 15:01:21 -06:00
Gregory Nutt
93f7cd2d53
sched/sched/sched_cpuselect.c: For SMP, In order to find the cpu with the lowest priority thread, we have to remember the already found lowest priority. Noted by Anonymous in Issue #75
2017-11-06 13:33:46 -06:00
Gregory Nutt
a14eb93ae7
lpc43xx Ethernet: Fix some backward logic setting full-duplex and 100mbps when autoconfiguration is disabled. Noted by Anonymous in Issue #76
2017-11-06 13:28:29 -06:00
Gregory Nutt
22e98193b2
Remove references to no longer existing ltdc/README.txt file.
2017-11-06 12:37:04 -06:00
Gregory Nutt
08fa834a6a
arch/arm/include/stm32 and stm32f7: Remove ltdc.h and dma2d.h. Those header files in that location permitted inclusion into application space logic and, hence, facilitated and encouraged calling into the OS and violating the portable POSIX OS interface. The definitions in those header files were move the appropriate location in the counterpart, architecture specific files at arch/arm/src/stm32 and stm32f7 dma2d.h and ltdc.h.
...
configs/stm32f429i-disco/ltdc: This configuration has been deleted because it violated the portable POSIX OS interface. It used apps/examples/ltdc and include ltdc.h and dma2d.h which were also removed for the same reason.
2017-11-06 12:22:48 -06:00
Gregory Nutt
d5f8a49f18
fs/userfs: Fix return value from dup method. In order to return a pointer, the parameter must be a pointer to a pointer.
2017-11-06 07:14:24 -06:00
Gregory Nutt
7deb24484c
This comment converts the underlying IPC used by the UserFS from Unix domain local sockets to UDP LocalHost loopback sockets. The problem with the local sockets is that they do require operations on the top level psuedo-file system inode tree. That tree must be locked during certain traversals such as enumerate mountpoints or enumerating directory entries.
...
This conversion is unfortunate in the sense that Unix local domain sockets are relatively lightweight. LocalHost UDP sockets are much heavier weight since they rely on the full UDP stack. If anyone is up for a complete redesign, then using some shared memory and a POSIX message queue would be lightweight again.
This commit also fixes several bugs that were not testable before the inode tree deadlock. I cannot say that the logic is 100% stable but it does not have basic functionality.
Squashed commit of the following:
fs/userfs: Order locking so that access to the shared I/O buffer is also locked.
fs/userfs: Converts to use LocalHost UDP loopback for IPC.
2017-11-05 12:25:58 -06:00